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

getNetworkType() returns None and getPhoneType() returns None and typo in getSimState() #102

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:30

What device(s) are you experiencing the problem on?

Motorola Android

What firmware version are you running on the device?
android 2.2.3 baseband C_01.43.01P kernel 2.8.32.9-g68eeef5 android-build@apa26 
#1 Build number FRK76

What steps will reproduce the problem?

1. droid.getNetworkType() and droid.getPhoneType() on CDMA phone
2.
3.

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

both return None

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

sl4a_r5x.apk (and earlier)  Also, I am on Verizon Wireless, so this is CDMA 
rather than GSM (I don't know if it works for GSM)

Please provide any additional information below.

'uknown' is misspelled in getSimState() in file
http://code.google.com/p/android-scripting/source/browse/android/Common/src/com/
googlecode/android_scripting/facade/PhoneFacade.java

Original issue reported on code.google.com by bkph...@gmail.com on 14 Mar 2012 at 1:28

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

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:30

Same for me with Motorola devices.

Original comment by sas...@gmail.com on 25 Jul 2012 at 9:47