2

When Android occurred system memory low intent: android.intent.action.DEVICE_STORAGE_LOW would be send But I'm curious about

  1. What's the critical value that would trigger memory low event?(How was the critical value decided?)
  2. Is there a API I can use to query if current system is at memory low state?
  3. When user released some memory, is there a intend would be send to notify APs that system is no longer at memory low status?
superx3
  • 165
  • 1
  • 8
  • http://stackoverflow.com/questions/8133417/android-get-free-size-of-internal-external-memory – IntelliJ Amiya Jan 22 '16 at 08:25
  • http://stackoverflow.com/questions/3394765/how-to-check-available-space-on-android-device-on-mini-sd-card – IntelliJ Amiya Jan 22 '16 at 08:26
  • Thanks a lot for help! So there is no framework API can be used? What if AP want to do someting when system become "not memory low"?(start a alarm keep monitoring? Is there a better way?) – superx3 Jan 22 '16 at 08:40
  • Can I dynamically adjust the "memory low threshold" value? – superx3 Jan 22 '16 at 08:41
  • fisrt one question had no answer yet><.... after="" answer="" api.="" but="" by="" calculating="" can="" check="" find="" form:="" found="" futher="" getstoragelowbytes="" got="" have="" i="" in="" is="" long="" path="" public="" qestion2="" question="" reference="" self="" simlair="" still="" storagemanager.java="" the="" this="" those="" threshold="" to="" who=""><....> – superx3 Jan 25 '16 at 07:39

0 Answers0