views:

96

answers:

1

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.

+1  A: 

You could reduce the amount of ram available in the emulator.

http://developer.android.com/guide/developing/tools/avd.html#hardwareopts

kc