开发者

How to use ACTION_DEVICE_STORAGE_LOW to avoid OutOfMemoryError?

I found in one post regarding OutOfMemoryError(mainly due to B开发者_Go百科ITMAP) that it can be Notified with Broadcastreceiver (ACTION_DEVICE_STORAGE_LOW) when Heap is going to full. Can any one tell how to implement this broadcast Receiver and avoid OutOfMemoryError?


ACTION_DEVICE_STORAGE_LOW notifies you that the space on the phone's permanent storage is running low. It has nothing to do with space on your application's heap, so you cannot use it for this purpose.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜