Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
02-06-2013 07:46 AM
I am trying the find the GPS location.I am getting lat and long as full,
Basically i have qns regarding GPS
1)First of all Is there any option to Check GPS is enablered or not,If so where can i find them?
2)While installing the application ,it does not ask permissions regarding GPS location
I tried added something like
<rimermissions> <rimermit>read_geolocation</rimermit> </rimermissions>
But there was not much of change with this code.
Did anyone tried using GPS.
02-06-2013 09:16 AM
02-06-2013 09:50 PM
04-19-2013 09:41 AM
I have the same problem (on an actual Z10 device with a SIM card) :
TelephonyManager.getCellLocation() returns null
LocationManager.getLastKnownLocation(provider) returns null for all avaiable providers
Any listner I register with LocationManager.requestLocationUpdates) is never called
Any idea ?
Any input from someone from Blackberry or is it useless to hope for a geolocation feature on Android apps ported on Blackberry 10 ?
04-19-2013 05:14 PM
Note that on the Z10 device, I have discovered that if the Screen is Off (via power button click or timeout) then the Activity will not receive location updates (I've opened a separate thread on this issue).
If the screen is on and Activity has registered for Location updates then it definitely will get them.
To register for location updates:
LocationManager lm = (LocationManager)getSystemService(Context.LOCATION_SERVICE);
lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0F, this);
This works fine on actual Z10 device (and simulator), except as noted above if power button is clicked or screen times out.