Hi,
I am writing an Android application that invokes the built-in Google
Map using Intent.  My code looks like:

        Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("geo:
47.545992,-122.059613?zoom=15"));
        startActivity(intent);

When Google Map starts, however, GPS is on all the time.  Since I
normally shows places other than where I am located I would like to
turn off GPS for this session to save battery.  Does anybody know a
way to do this programmatically?

Thanks,
Wenzhong

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to