[android-beginners] Unable to Run or Debug in Emulator or Dev Phone using SDK 1.5

2009-05-09 Thread avrono
Hi, I recently upgraded from SDK 1.1 to SDK 1.5. Using code that I was debugging in SDK 1.1 I am unable to debug the code using SDK 1.5 I am however, able to manually run the application : Here is the LogCat output == I/vold

[android-beginners] Re: Get phone number from sms

2009-04-20 Thread avrono
Kaloer, You need to set a URI to the SMS Inbox Content and then create a cursor (i.e a query to the the SQLLite DB) and iterate over it. If you are in your activity, it would be somthing like this.getContentResolver().query( Uri.parse(content://sms/inbox), null,

[android-beginners] Help with SimpleCursorAdaptor

2009-04-20 Thread avrono
Hi, I am having some problems trying to extend the SimpleCursorAdapter, the problem I am trying to solve is simple. I have the 'id' of an SMS message and I want to associate this with the Name of the person who sent it (if in the contact-book). Basically I want to get the current cursor

[android-beginners] Re: Documentation about SMS Contentprovider?

2009-04-20 Thread avrono
Marcus, I have also been looking for the docs, so far I have managed to determine that the fields are as follows: //FieldS //, thread_id, address, person, date, //protocol, read, status, type, reply_path_present, subject, body, service_center -Avron On Feb 26, 11:20