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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
Developer
greg209
Posts: 69
Registered: ‎12-13-2010
My Carrier: n/a

Re: Temporary workaround to no gps

Please use plain text.
Regular Contributor
L7ColWinters
Posts: 82
Registered: ‎11-12-2010
My Carrier: Verizion

Re: Temporary workaround to no gps

Since the playbook will have a GPS hopefully by the time the 4G playbook comes out, it can be done via GPS if that is on the device. However, if there is no GPS, I would like to use WI-FI to do IP to location and I am having no luck using a javascript W3C and google gears approach.

Please use plain text.
Developer
jffurlan
Posts: 1,003
Registered: ‎01-16-2011
My Carrier: Rogers

Re: Temporary workaround to no gps

Playbook does have gps in all model.
- If you like my response/post, or it helped you find an answer you were looking for, please provide a Kudo - white star to the bottom right of this post. -
- Please use the search bar at the top, or check out the PlayBook FAQ's for help getting started -
- Hockey DrillBook -
Please use plain text.
Regular Contributor
L7ColWinters
Posts: 82
Registered: ‎11-12-2010
My Carrier: Verizion

Re: Temporary workaround to no gps

Thats great! now how do I program for it?

 

I need IP to location now, not when they decide to release the gps api.

Please use plain text.
Developer
jffurlan
Posts: 1,003
Registered: ‎01-16-2011
My Carrier: Rogers

Re: Temporary workaround to no gps

Lol. Mike Kirkuk said yesterday that the geolocation and camera APIs work on the device, just not in the sim. I know that doesnt help you but he also said that we would receive a gold master edition of the SDK before launch (rumors say on march 31).
- If you like my response/post, or it helped you find an answer you were looking for, please provide a Kudo - white star to the bottom right of this post. -
- Please use the search bar at the top, or check out the PlayBook FAQ's for help getting started -
- Hockey DrillBook -
Please use plain text.
New Developer
killerspaz
Posts: 199
Registered: ‎12-29-2010

Re: Temporary workaround to no gps

@ L7ColWinters the API works just fine, but the simulator doesn't simulate gps mock locations.... maybe one day..

 

Check out a post I wrote about a gotcha I found, and at the bottom is a helpful utility for implementing GPS:

http://killerspaz.wordpress.com/2011/01/29/as3flash-geolocation-api/

Please use plain text.
Developer
jtegen
Posts: 6,149
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Temporary workaround to no gps

I use a simulator within my application to fake GPS motion.  I posted the code some time ago here:

 

http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Simulate-GPS-and-Accelerometer/td...

 

 

Please use plain text.
Regular Contributor
L7ColWinters
Posts: 82
Registered: ‎11-12-2010
My Carrier: Verizion

Re: Temporary workaround to no gps

Yep, make sure you are using the 0.9.4 SDK and put the permission in the blackberry-tablet.xml, but even with all this, the default location that it responds with is somewhere in canada. It doesn't update and stays static with the default location.

Please use plain text.
Developer
peter9477
Posts: 5,630
Registered: ‎12-08-2010
My Carrier: none

Re: Temporary workaround to no gps

 


greg209 wrote:

Is GPS going to be available in the actual device ... ???


For confirmation, see the specifications listed in the press release from yesterday.

 


Peter Hansen -- (PlayBook and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
thesmileman
Posts: 345
Registered: ‎03-13-2011
My Carrier: n/a

Re: Temporary workaround to no gps

I am really confused as to how they will have GPS without the radio as a non-assisted gps device would eat through batteries like no ones business as well as be a considerable cost. There is a reason no one adds non assisted gps to anything except dedicated devices.
Please use plain text.