hi i finally get the problem this is my code which i post earlier https://stackoverflow.com/questions/13910206/sqllite-database-work-in-emulator-but-not-work-in-real-device
when i run my application in emulator is work fine and load images which is small like 30 kb 40 kb 50 kb work fine save and retrieve but when i run my application in read device images is heavy like 700 kb 800 kb so is not save and retrieve application stop unexpectedly what do i do?? help me plz
hi i finally get the problem this is my code which i post earlier
Share
I think you must be getting Out of Memory Error. This is because you are rendering more than 500 KB image. Whenever such type of image are rendered to bitmap, they occupy 2 to 5 MBs size in heap.
So you must create a sample size so that image will be displayed as per your screen resolution.
Android Developer has Loading Large Bitmaps Efficiently article.
References
1) http://developer.android.com/training/displaying-bitmaps/load-bitmap.html#read-bitmap