How to test onLowMemory conditions?

Posted by Samuh on Stack Overflow See other posts from Stack Overflow or by Samuh
Published on 2010-05-24T04:42:18Z Indexed on 2010/05/24 4:51 UTC
Read the original article Hit count: 292

Filed under:
|

I have put some instructions in onLowMemory() callback and want to test the same. Is there a "direct" way to test onLowMemory function of the application subclass?

Or will I have to just overload the phone by starting many apps and doing memory intensive tasks?

Thanks.

© Stack Overflow or respective owner

Related posts about android

Related posts about unit-testing