sinkuri256 / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

pickPhone() and pickContact() problem #602

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?
HTC Desire
What firmware version are you running on the device?
MIUI-1.12.30.0 Android 2.3.7
What steps will reproduce the problem?
1. Call pickPhone() or pickContact() or pick("content://contacts/phones")
2. Pick any contact (you just can pick contacts with pickPhone(),  pick() 
doesn't work )

What is the expected output? What do you see instead?
-pickPhone()
expected: Result(id=6, result=u'666666666', error=None) of the picked number
what I see: The output result is always the same, doesn't matter what you pick.

-pickContact()
expected: Result(id=6, result=u'Contact name', error=None)
what I see: Result(id=5, result=None, error=None) and Android Force Close of 
the contacts list.

-pick("content://contacts/phones")
expected: the same that pickPhone()
what I see: org.json.JSONException: Failed to build JSON result.Result(id=7, 
result=None, error=u'org.json.JSONException: Failed to build JSON result.')

What version of the product are you using? On what operating system?
sl4a r4 on android 2.3.7

Please provide any additional information below.
Logcats attached

Original issue reported on code.google.com by dey...@gmail.com on 19 Feb 2012 at 7:47

Attachments: