Adding an alternative action to Maps Application

Tutorials that use the MapActivity. Many using GPS functionality.

Adding an alternative action to Maps Application

Postby soniya » Mon May 26, 2008 3:08 pm

Hi,

Is it possible to make your application appear as an alternative menu
option in Maps Application(system application)? My application can
launch normally from the main menu. I tried adding this intent-filter:

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <intent-filter label="Add">
  2.  
  3.                <category
  4.  
  5. android:name="android.intent.category.DEFAULT" />
  6.  
  7.               <category
  8.  
  9. android:name="android.intent.category.ALTERNATIVE"/>
  10.  
  11.  
  12.  
  13.               <category
  14.  
  15. android:name="android.intent.category.SELECTED_ALTERNATIVE" />
  16.  
  17.     <data android:scheme="geo" />
Parsed in 0.002 seconds, using GeSHi 1.0.8.4


. I've tried alternative MIME types, like "<data
android:scheme="http"
android:host="maps.google.com"
android:path="" />
","<data
android:scheme="http"
android:host="maps.google.com"
android:path="/maps" />
","<data android:mimeType="vnd.android.cursor.item/postal-address" />
", but it doesn't seem to work.

I do have permissions to use WRITE_MY_MAPS, READ_MY_MAPS........
Not implemented on system apps?

Thanks,
soniya
Senior Developer
Senior Developer
 
Posts: 111
Joined: Mon Jan 14, 2008 1:52 pm
Location: india

Top

Postby soniya » Tue May 27, 2008 12:25 pm

:roll:
soniya
Senior Developer
Senior Developer
 
Posts: 111
Joined: Mon Jan 14, 2008 1:52 pm
Location: india

Top

Return to Map Tutorials

Who is online

Users browsing this forum: Google [Bot] and 2 guests