Strange Exceptions when deleting and reading contacts

by Samuh » Wed, 08 Sep 2010 19:29:56 GMT


Sponsored Links
 I am getting following exceptions when I try to read/delete contacts
from my application using Contacts Content Provider.
What does the following mean?

ERROR/IMemory(1349): binder=0x490f38 transaction failed
fd=-2147483647, size=0, err=-2147483646 (Unknown error: 2147483646)
ERROR/IMemory(1349): cannot dup fd=-2147483647, size=0,
err=-2147483646 (Bad file number)
ERROR/IMemory(1349): cannot map BpMemoryHeap (binder=0x490f38),
size=0, fd=-1 (Bad file number)
ERROR/JavaBinder(1349): *** Uncaught remote exception!  (Exceptions
are not yet supported across processes.)
ERROR/JavaBinder(1349): java.lang.RuntimeException: No memory in
memObj
ERROR/JavaBinder(1349):     at
android.database.CursorWindow.native_init(Native Method)
ERROR/JavaBinder(1349):     at
android.database.CursorWindow.<init>(CursorWindow.java:518)
ERROR/JavaBinder(1349):     at
android.database.CursorWindow.<init>(CursorWindow.java:27)
ERROR/JavaBinder(1349):     at android.database.CursorWindow
$1.createFromParcel(CursorWindow.java:493)
ERROR/JavaBinder(1349):     at android.database.CursorWindow
$1.createFromParcel(CursorWindow.java:496)
ERROR/JavaBinder(1349):     at
android.content.ContentProviderNative.onTransact(ContentProviderNative.java:
96)
ERROR/JavaBinder(1349):     at
android.os.Binder.execTransact(Binder.java:287)
ERROR/JavaBinder(1349):     at dalvik.system.NativeStart.run(Native
Method)

Thanks.

--



Strange Exceptions when deleting and reading contacts

by Arjun » Thu, 09 Sep 2010 08:24:35 GMT


 I guess you cannot delete contacts  either you can read or write
contacts but you cannot delete contacts.
might be the reason for transaction failure exceptions
Thanks,
Arjun.




--


Sponsored Links


Strange Exceptions when deleting and reading contacts

by William Ferguson » Thu, 09 Sep 2010 11:54:35 GMT


 I recall getting something similar when trying to retrieve too big a
dataset.
Ie I was trying to retrieve lots of columns. Reducing them to as small
a set as possible removed the error.

I put it down to some hard allocation llimit in the SqlLite DB that
didn't express it well.





--



Other Threads

1. Online Mobile Programming Courses.

Greetings to all .

I would like to inform you that we are currently running a promo with
EDUmobile.org.

This is a mobile games and mobile applications programming training
lab that has been in the mobile programming space for over 5 years.

If you're interested in learning how to develop top class games and
applications for the iPhone, HTC Touch (Android), Instinct, WinMobile,
or any other mobile device or platforms - then you should definitely
have a look at what they offer...

 http://www.***.com/ 

While sending an enquiry enter your promotion code "AZV", and you will
get a 20% discount Should you choose to sign up.

Mobile professionals are earning as much as Rs 6 lakhs per annum today
as this is a hot and growing industry.

The classes are taught as a combination of various online modules and
you get the ability to work on live industry projects, alongwith an
opportunity to be placed in top mobile {*filter*} and mobile application
development software companies.

Register today and walk in for your free one-on-one consultancy.

 http://www.***.com/ 

Let me know how it goes, and if you need anything else.

--~--~---------~--~----~------------~-------~--~----~

2. n810 running android is seen as a F: drive but is not accessible.

Hello. I installed Android on the Nokia n810 and when I connect it via
usb to my laptop, the sound of a new device attached is played, and
two new removable disks, F: and G: appear in My Computer. When I try
to access them, Windows tells me to insert a disk on those drives. I
have all the usb drivers, and the phone appears in device manager as a
nokia usb phone and as working properly. I need to access them so that
I can run adb from the SDK and install new stuff on the phone, is
pretty bare...
Thanks for any help.

--~--~---------~--~----~------------~-------~--~----~

3. Map Project

4. pls help me

5. Building development/sample apks from android source cod

6. Something that been bugging me...

7. The Widget used for the Main Menu in android Home Screen