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

Web and WebWorks Development

Reply
Developer
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C

BB10 GPS - The solution

[ Edited ]

I'm making this a new thread as it's been mentioned all over the place so I can tie a load of Qs together in one go

 

Just got some help from my BB Dev Support guy (Hi Luca) - you should get one - they're handy

 

Luca has a little app that does mapping - his works, mine is broken (was broken)

 

All you need is the following in config,xml

 

	<rim:permissions> 
		<rim:permit>read_geolocation</rim:permit> 
		<rim:permit>access_location_services</rim:permit> 
	</rim:permissions>

 

I was missing the second permission as I guess everyone else with this problem has

 

I added the extra one, went out into the cold and BINGO! A map of me outside my house!

 

I feel a huge number of likes headed this way - we've been fighting this one for weeks!

 

Enjoy working GPS guys

 

Thanks very much to Luca - he solved it (give him a pay hike!)




Click the like button if you find my posts useful!
BlackBerry Development Advisor
Posts: 624
Registered: ‎10-01-2009
My Device: Z10

Re: BB10 GPS - The solution

Thanks for posting for the community.  :smileyhappy:

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro