开发者

What are the various function to free memory in Android?

Could you please tell me what are the various functions which we could use开发者_JS百科 to free memory on android device. One i have figured out is KillBackgroundProcess().

Are there more functions like this?


  • MediaPlayer#release
  • AudioTrack#release
  • Bitmap#recycle
  • TypedArray#recycle

Many of the heavier objects or objects expected to be used and reused frequently have release or recycle methods. The above are the main ones I've used.

For further examples see the API search results for:

  • recycle
  • release
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜