[android-developers] Re: Out of memory issue in Android

2011-03-08 Thread DanH
If you're getting an out of memory condition while CALCULATING the length of the byte array then the problem is on the other side of the keyboard. On Mar 3, 5:24 am, ROHIT wrote: > Hi, > I am using the byte array for storing the image. I want to store image > in binary format back to file. While

[android-developers] Re: Out of memory issue in Android

2011-03-08 Thread lbendlin
quote Romain Guy: "Your application uses too much memory". On Mar 3, 6:24 am, ROHIT wrote: > Hi, > I am using the byte array for storing the image. I want to store image > in binary format back to file. While calculating the length of byte > array, i am getting the Out of memory issue. > So pleas

[android-developers] Re: Out of Memory Issue in Android SimpleCursorAdapter

2010-05-31 Thread mike
hi Dmitri, according to my findings the newView method is not needed. only bindView is enough. now i have about 600 + contacts. this is the exception that i'm getting 05-31 13:39:22.180: ERROR/JavaBinder(564): java.lang.RuntimeException: No memory in memObj when i followed your instructions i h

[android-developers] Re: Out of Memory Issue in Android SimpleCursorAdapter

2010-05-31 Thread mike
hi Dmitri, according to my findings the newView method is not needed what should need is bindView method. now i have 600 + contacts this is the exception 05-31 13:39:22.180: ERROR/JavaBinder(564): java.lang.RuntimeException: No memory in memObj as you mention when i surrounded the method using a

[android-developers] Re: Out of Memory Issue in Android SimpleCursorAdapter

2010-05-31 Thread mike
hi Dmitri, thanks for your reply. any way i've tried to do what you ask me to do. in the @Override public View newView(Context context, Cursor cursor, ViewGroup parent) { // TODO Auto-generated method stub Cursor c =