Maps API and legacy

by arnouf » Wed, 29 Sep 2010 23:27:56 GMT

Sponsored Links
 Hi all,

I found this post

This posting 
suggests that "you must not use the Map Service with any applications
for route guidance, including but not limited to turn-by-turn route
guidance that is synchronized to the position of a user's sensor-
enabled device"

so if I understand we can use maps API to retrieve a route between two
points (and kml file provided by the URL) and draw on a mapview the
way. Is it right ?

Thanks for your answer


Maps API and legacy

by arnouf » Thu, 30 Sep 2010 00:27:32 GMT

 I found a solution calling Intent. Is it legal ?
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://


Sponsored Links

Maps API and legacy

by Morrison Chang » Thu, 30 Sep 2010 12:36:39 GMT

 I think that the code for the Intent is legal, its just a URI.
And you don't need a Google Maps API key to use it.
All the code does is either launches the Google Maps App or the
Browser which go to the Google Maps site. As either would launch new
apps I would think its okay with the realization that at any point
Google can change its mind about the URI format or disable it.


Other Threads

1. Read files to edittext

What would be the best way of reading large text files from the

Right now I'm using this in my browser activity:

File f = new File(filePath);
FileInputStream file = new FileInputStream(f);
BufferedReader in = new BufferedReader(new InputStreamReader(file));
do {
        st = in.readLine();
} while (st != null);

and in the other activity where I want to edit the file I have:

char lf = 10;
int k = 0;
String s = null;
for (int i = 0; i < browseractivity.vector.size(); i++) {
        s = browseractivity.vector.get(k);
        if (s != null) {

When trying this on a file of 24648 bytes which corresponds to 24097
chars on 555 lines
I looked in Notepad++ at which characters it cuts.
It displays 8764 characters which corresponds exactly to 9000 bytes
and 237 lines

Does any one have a better suggestion of how to do this so I can read
larger files?



2. GPS System in Jeopardy(!?)

In the past few days I seen a number of posts and articles from various
sources about this.  This is definitely worth a read.



3. Peer to Peer Streaming Protocol on Android ?

4. Amazon to Policy Android Market Place

5. Question for Google employees: How would our apps run on the new Kyocera Echo?

6. Android Market anomaly in limiting distribution

7. help needed in youtube api for android and using it