Out of memory issue in Android

by ROHIT » Tue, 08 Mar 2011 05:38:43 GMT


Sponsored Links
 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 please help me to overcome this problem.

Thanks in advance...

Thanks and Regards,
Rohit D

-- 



Re: Out of memory issue in Android

by lbendlin » Tue, 08 Mar 2011 20:02:01 GMT


 quote Romain Guy: "Your application uses too much memory".




-- 


Sponsored Links


Re: Out of memory issue in Android

by DanH » Tue, 08 Mar 2011 20:26:20 GMT


 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.




-- 



Other Threads

1. IHardwareService. How to use in your code?

is there a way to use somehow IHardwareService. It is not visible, but
documentation concerning it can be found. So looks like there should
be some way to use it.

Could you please advice how to do this?

Thanks.
--~--~---------~--~----~------------~-------~--~----~

2. Question about setComponent() of Iintent

Hi,

I would like to know how to use the setComponent() of Intent.
I read the javadoc. But how can I specify the Text Messaging
Application when callings setComponent()?


 * @param component The name of the application component to handle the
     * intent, or null to let the system find one for you.

Thank you.

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

3. Why the duration of clip is differen between VideoView.getDuration and MediaMetadataRetriever.extractMetadata(MediaMetadataRetriever.METADAT A_KEY_DURATION)

4. How to install .apk file in beagle board after android-porting

5. Extend core apps in the SDK

6. Why the system kill my process?

7. about use notification to goto other activity