05-14-2011 11:34 AM
I have read this forum post:
I am finding my Playbook reporting lat/long intermittently. The Flex app I am building is a check in, so no map required. I have wi-fi connectivity. The guts of the code is similar to what is here:
What is the conclusiion here about the problem. Is it a software or hardware issue?
Solved! Go to Solution.
05-14-2011 11:46 AM
05-14-2011 02:51 PM
One thing that may help is to be aware of some of the quirks with flash development. There are some instances where garbage collection can interfere with your code.
For instance, you may want to make the variable for the geolocation. an instance variable of the class (available as long as the class is loaded) so that it does not get removed by GC.
public class GeolocTest extends Sprite
private var geo:Geolocation;
public function MyMap()
this.geo = new Geolocation();
private function geolocationUpdateHandler(event:GeolocationEvent):void
05-15-2011 09:28 AM
05-15-2011 12:20 PM
05-15-2011 01:23 PM
I think it's a hardware issue. GPS never works for me inside and only about half of the time outdoors. I also noticed that the wi-fi signal strength on my laptop is always excellent but in the same spot my PlayBook will sometime be at 3 or 2 bars. Their using a 4-in-1 chip for the GPS, wi-fi, bluetooth, and FM radio with 4 different antennas. I don't know if its because of the chip or because of the antenna design or maybe it is software but there is a problem.
05-15-2011 02:17 PM
I think it's a hardware issue ...
Actually, an integrated hardware solution like the WiLink 7 chip is likely to work much better at all of these things than earlier approaches where each function is handled by separate components. By integrating all these together, TI had better options to isolate the RF and analogue areas from the digital, test with multiple types of signal working simultaneously, reduce the footprint, complexity, and power consumption by sharing common resources, and so forth. There's a nice video where TI demonstrates the part simultaneously handling GPS, WiFi, Bluetooth, and HDMI video (or whatever... I don't recall the details), all working quite nicely. This approach probably makes it hard in some ways for RIM to even have certain types of hardware issue.
I expect most if not all of the issues we'll see with this stuff come down to software.
By the way, my GPS results are pretty close to excellent so far, other than the unreliability with the startup and the periodic "all zeros" issue. It works perfectly well indoors in my house, at least on the upstairs floor where I've tried it, and quite well outdoors. Takes anywhere between 10s and 2 minutes to give the first reading, except when it doesn't manage to do that at all before I give up (after 5-10 minutes). Often the accuracy isn't great for the first 30-60s, but after that it's settled down and gives pretty consistent results, certainly no worse than I see with an Android phone.
The horizontal accuracy reading generally reads 2.0m or better when I'm getting stable readings (just an FYI... the absolute value there doesn't mean much...). Vertical accuracy always reports as 0. Heading and speed are fairly accurate on average based on only a bit of driving around in overcast conditions.
I let the thing run for about 14000 samples at 2Hz last night, with it heavily overcast and pouring rain all night. After discarding some outliers, one standard deviation away from the average is a circle of about 5m radius.
Also, for what it's worth, running for almost 8 hours over night, with wifi/bluetooth off, the battery dropped from 52% to 41%. My test app appended the readings to a file each time one was received so I don't know how much of that drop can be attributed to the use of the GPS.
(Stray note: I actually asked for geo.setRequestedUpdateInterval(1000); but my readings were 2s apart... I guess the unit refuses to readings more frequently than that, at least when running on battery, or perhaps it's simply not possible to do more frequent readings.)
05-15-2011 02:57 PM
This approach probably makes it hard in some ways for RIM to even have certain types of hardware issue.
That chip still needs antennas to work. My tom tom will work in my house but I can't get GPS data with my PlayBook inside and the wi-fi signal strength on my PlayBook is sometime weaker then what I see on my laptop.
I don't know. I hope you're right and it's just a software issue.
05-15-2011 03:15 PM
05-15-2011 03:53 PM