[android-beginners] Using google map

2010-07-25 Thread NBS
Hi all,

I am trying to make some map base application.
I just want to know whether I can use inbuild google map on my application??
I mean to say is there are many functions on google map application and I
want to use them on my application.
So instead of creating a new MapActivity, I will like to use the existing
google map.
I am not sure, whether its possible or not.

Could anyone please suggest me whether its possible or not.

Regards
NBS

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Using google map

2010-07-25 Thread TreKing
On Sun, Jul 25, 2010 at 8:05 PM, NBS and...@gmail.com wrote:

 I just want to know whether I can use inbuild google map on my
 application??


Depends on what you want to do with it. And you can't assume that it will
always be inbuild, as it may very well not be on every device.


 I mean to say is there are many functions on google map application and I
 want to use them on my application.

So instead of creating a new MapActivity, I will like to use the existing
 google map.
 I am not sure, whether its possible or not.


 Could anyone please suggest me whether its possible or not.


Um, no. You can't just use the features of the Maps app as you wish. The
most you can do is call the app with startActivitiy and pass some arguments
as specified here:
http://developer.android.com/guide/appendix/g-app-intents.html

If you want anything more than that, you'll have to use MapActivity and roll
the functionality yourself.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en