[android-developers] Debbugging USB peripheral with Emulator

2011-07-12 Thread avrono
Does anyone know if there is a way to debug a usb peripheral with the Android emulator. I am currently testing the microchip android development kit and trying to find a way of setting up a development environment without having to install each iteration of code on a physical device. -- You recei

[android-developers] Re: AsyncTask posting mulitple parameters

2009-05-23 Thread avrono
u want. > > > > On Fri, May 22, 2009 at 9:24 PM, avrono wrote: > > > This maybe a silly question, but I was wondering how to pass multiple > > parameters toAsyncTask > > > I have somthing like : > > > private class DownloadTask extendsA

[android-developers] AsyncTask posting mulitple parameters

2009-05-22 Thread avrono
This maybe a silly question, but I was wondering how to pass multiple parameters to AsyncTask I have somthing like : private class DownloadTask extends AsyncTask < ArrayList, int [], Cursor, void, void> { protected ArrayList doInBackground(ArrayList lst, int [] _thread_keys, Cursor

[android-developers] Re: Ubuntu Jaunty and adb not playing well together

2009-05-15 Thread avrono
Rather odd, After completing the above procedure and trying to browse the SD card unsuccessfully a few times (unable to mount error) It popped to life, i.e once I could see the SD card adb also started working ... Any explanation ? On May 15, 9:36 pm, avrono wrote: > All, > >

[android-developers] Re: Ubuntu Jaunty and adb not playing well together

2009-05-15 Thread avrono
All, I had the same problem however I cannot seem to get the same working result. I have /etc/udev/rules.d/51-android.rules SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666" chmod a+rw 51-android.rules /ect/init.d/udev reload adb devices shows nothing except emulator-5554 device

[android-developers] Re: Ubuntu Jaunty and adb not playing well together

2009-05-15 Thread avrono
All, I had the same problem however I cannot seem to get the same working result. I have /etc/udev/rules.d/51-android.rules SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666" chmod a+rw 51-android.rules /ect/init.d/udev reload adb devices shows nothing except emulator-5554 device

[android-developers] Re: How Delete SMS from inbox programmatically OR discard it before received in inbox

2009-04-20 Thread avrono
Gulfram, As far as I can see you can only delete and sms by thread_id using the content "content://sms/conversations/" Regards Avron On Feb 20, 9:45 am, Gulfam Hassan wrote: > Hi, > > I want to Delete SMS how i can delete it programmatically? > I am receiving sms in my application in this form

[android-developers] How to display contact numbers only if they exist

2009-04-20 Thread avrono
Hi, I am writting an Application that gets messages SMS/Email etc, I have a listActivity and want to only display the contact name if it is known in the address book. I keep getting an exception : 04-17 23:47:49.090: ERROR/AndroidRuntime(949): java.lang.RuntimeException: Unable to start activity