Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Regular Contributor
Posts: 61
Registered: ‎03-28-2010
My Device: Bold 9700
My Carrier: Maxis Malaysia
Accepted Solution

BlackBerry Map with customized menu

Hi,

 

Thru my application, I can invoke BB Map with no problem, and pass the variable from my app for it to display the exact location with more details and such.

 

Now, I want to add 'Get location here' on top of current BB Map default menu, so when user choose the selection, it will pass back the longitude and latitude of current center screen from BB Map back to my application.

 

How should I accomplish this? I know how to use MapField, but it doesnt have the leisure of searching and such.

Highlighted
Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: BlackBerry Map with customized menu

You need to add an ApplicationMenuItem to the Maps app.

 

See this article:

 

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800703/How_To_...