Map API key distribution safety

by CaptainSpam » Thu, 05 Mar 2009 06:39:18 GMT

Sponsored Links
 I have an app I am about to release that uses MapViews (they're sort
of integral to the app).  I plan on releasing it as an open source
application.  That said, my question is, is it safe to distribute my
map API key with the source?  As in, would it require a signed .apk
from my key and my key alone in order to function, or would it be
possible for someone to abuse my map key without my signing key?

Other Threads

1. PM7540 Chipset

Is it possible to communicate with the power managment ICs on a Nexus
One? I noticed it uses two chips, a tps65023 and a PM7540. The
tps65023 is on the i2c bus, and the PM7540 is on the SSBI bus
according to this block diagram found at the link at the bottom. How
does one get to the PM7540 chip on the SSBI bus from the kernel?


2. SQLite Performance

My app works by using a SQLite database that is generated on the user's 
PC and transferred to the device. It all works, but I had not 
anticipated the number of users who would have really huge amounts of 
data. In these cases, the UI is very sluggish as it waits for the data 
to be fetched.

I've tried a number of tricks that I was "sure" would speed things up, 
but nothing seems to have any noticeable effect. My queries are almost 
all very simple, being usually a single "col=val" for the WHERE clause, 
and INTEGER data in the column.  So I can't do much with the queries.

The latest, and I am not an SQL expert by any means, was to use "CREATE 
INDEX" commands on the PC, believing that these indeces are used to 
speed up database searches. The indeces increased the size of the 
database file significantly, so I was then surprised that it seemed to 
have no effect whatsoever on the speed of my app! A screen that was 
taking 8 seconds to fill without indeces still takes about 8 seconds 
even with them. I was hoping to get things down to at least half that.

What I am wondering at this point is if the SQLite implementation on 
Android uses database indeces at all, or if I'm just wasting space by 
generating them. Can anyone answer this?

Also, any other things to try to speed up access?

(For what it's worth, on an absolute basis the users have nothing to 
complain about. My worst-case user so far has data that generates 
630,000 records (15 tables), so there's only so much that's possible!)

    Doug Gordon
    GHCS Systems


3. Load new netfilter module (TARGET)

4. ShapeDrawable border or inside another shapeDrawable

5. "Unexpected response code 620" exception happened in MountService

6. How to calculate sound sample duration using SoundPool / AudioManager construct

7. how to set the Foreground for the frames ?