Home
> Uncategorized > Allow Geolocation BB10 / PlayBook (QNX)
Allow Geolocation BB10 / PlayBook (QNX)
If you are porting BlackBerry WebWorks apps from BBOS to QNX, you may notice that Html5 Geolocation does not work by default. The fix is quite simple, just edit the config.xml file and add the following XML snippet (below). With this in place, the alert shown opposite will shown on first load of your application, allowing the user choose whether he wishes to allow your app access to location information.
<rim:permissions> <rim:permit>access_location_services</rim:permit> <rim:permit>read_geolocation</rim:permit> </rim:permissions>
Categories: Uncategorized
Comments (0)
Trackbacks (0)
Leave a comment
Trackback