This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Android and the fly likes Google Maps; can they be used from within an android app? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Google Maps; can they be used from within an android app?" Watch "Google Maps; can they be used from within an android app?" New topic
Author

Google Maps; can they be used from within an android app?

James Elsey
Ranch Hand

Joined: Dec 21, 2007
Posts: 228

Is it possible that we can use google maps within an android application?

For example :

I have an app, it shows my location on a map (using http://developer.android.com/reference/android/location/package-summary.html )
Can I then search for nearby locations, such as nearby pertrol stations? And show them on the map

Thanks


Kind Regards, James. OCPJP 1.6 || My SCJP / OCJCP Study Notes
Interested in : SCJP, Google App Engine, Stripes, Android;|| My Bite-Size SCJP Study Blog
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

Yes.

Read up on MapActivity, MapViews and the LocationProvider et al. classes in the package that you've mentioned.

Start by looking at the following tutorial: Hello MapView


[List of FAQs] | [Android FAQ] | [Samuh Varta]
 
 
subject: Google Maps; can they be used from within an android app?