damonkohler / sl4a

SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device.
Apache License 2.0
2.43k stars 800 forks source link

getCellLocation not updating often enough #204

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:27


HTC Hero GSM 
official HTC Android 2.1 firmware with all firmware updates 

What steps will reproduce the problem?

Taking a drive with the following Python:

r=droid.getCellLocation().result
CID=r[u'cid']

The CellId's I get are not correct, I've validated against a trace in
the GPRS network.

when driving with my app, the first cell-polls are correct, but it
doesn't discover that I change cells for the next minutes (where my
phone actually attaches to several other cells).
Testruns with a similar python application (pyS60) on a Nokia Symbian
s60 phone gives me the correct cells.

Are there any ways to "flush" the queue, or to force a fresh poll ? 

What is the expected output? What do you see instead?

I do get CellId's, but not the correct ones. 

What version of the product are you using? On what operating system?

R2 on Eclair

Please provide any additional information below.

http://www.flickr.com/photos/sch_dk/4943263012/ (wrong)
vs
http://www.flickr.com/photos/sch_dk/4942676231/ (correct)

driving from west to east

Original issue reported on code.google.com by soeren.s...@gmail.com on 20 Sep 2010 at 4:44

Copied from original issue: damonkohler/android-scripting#441

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:27

I just build a native Android (yukes... java) application, and ran it on the 
same phone, and it reports the correct cellID's

Original comment by soeren.s...@gmail.com on 21 Sep 2010 at 9:10

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:27

I just want to know if you need further information for this issue. If so, 
please tell what you need.

Original comment by soeren.s...@gmail.com on 7 Nov 2010 at 4:41

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:27

I think this is probably addressed by the fix to issue 442. Give it a shot, and 
let me know.

Original comment by damonkoh...@gmail.com on 11 Nov 2010 at 1:31

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:27

excelent news - but I'm a little confused: is this fix included in the R3
release, or do I have to wait for the R4 for it to be included ?

Original comment by soeren.s...@gmail.com on 11 Nov 2010 at 3:49

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:27

Sorry, you'll need to wait for r4 or build it yourself from head.

Original comment by damonkoh...@gmail.com on 11 Nov 2010 at 4:07