On Mon, Sep 13, 2010 at 9:20 AM, cool.manish <[email protected]> wrote:
> Questions are:
> 1.  Will it be available on all android phones?

No.

>  2. Can I call this application from my application? If yes then how?

See the geo: Intent syntax described here:

http://developer.android.com/guide/appendix/g-app-intents.html

See here for a sample:

http://github.com/commonsguy/cw-android/tree/master/Activities/Launch/

> I think, I should know the
> starting activity's class name.

No.

> 3. What will happen to my application, if someone uninstall Map
> application, in case I use this map application?(I am not sure but I
> think user can uninstall native application.)

Maps, where it exists, usually has a base version installed
permanently, and updates that may come from the Market.

If there is nothing on the device to handle the geo: Intent, your
application will crash. You can use PackageManager and
queryIntentActivities() to see if a given Intent is safe to use with
startActivity().

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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