Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Adding an alternative action to Maps Application

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.001 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: No registered users and 4 guests