Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User xcoutin's Avatar
    Join Date
    Mar 2003
    Posts
    5
    Hello,

    I need to check how much memory is left in device.

    With Runtime.getRuntime.freeMemory() I can check the heap memory, but the storage memory ?

    Thanks

  2. #2
    Regular Contributor wangkui35's Avatar
    Join Date
    Mar 2003
    Location
    Tampere / Finland
    Posts
    201
    Hello,

    After creating a RecordStore(ex. r), with r.getSizeAvailable() you can check the free space(in bytes) for this record to use.

    Regards,
    Kui

  3. #3
    Registered User xcoutin's Avatar
    Join Date
    Mar 2003
    Posts
    5
    Ok, thanks a lot !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved