views:

36

answers:

2

I am getting this exception while retriving data from address book. I have check through internet but not get any help for that.

Overflow allocating bitmap backing store. Cannot back bitmap with 320 bytes per row, -2147483648 height, and 1 planes

I am using AddressBook Framework for retriving data from Address Book. is this issue of Memory or it due to getting information of avatar that i have set in Addressbook contact.

Please help. If any suggestion or recommendations for it then please give it...

A: 

Are you creating one large view or image into which you're drawing multiple contacts in the address book? It sounds like you're trying to create too large an image/view.

Joshua Nozzi
I am preparing just array of 50 contacts which contain details of all information of contact including picture that have been set in contact in addressbook. I converting this contact information in base64 string.
Hiren Gujarati
Hiren Gujarati
Use the debugger. Step through your code until you trigger the message. Post the relevant code.
Joshua Nozzi
hi Joshua Nozzi, I have added some code as answer. Please help me what is going wrong?
Hiren Gujarati
A: 
Hiren Gujarati