Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
  1. #21  
    hi there,
    I want to know the free space on a device. It works for "com.palm.properties.nduid".
    But not working for "com.palm.properties.storageFreeSpace" . I got error
    Error: service request :no such key
    code->
    SystemPropertiesAssistant.prototype.handleButtonPressed = function(){
    try {
    this.controller.serviceRequest('palm://com.palm.preferences/systemProperties', {
    method: "Get",
    parameters: {
    "key": "com.palm.properties.storageFreeSpace"
    },
    onSuccess: this.handleOKResponse
    });
    }
    catch(e)
    {console.log("Error is this"+e);}
    }

    SystemPropertiesAssistant.prototype.handleOKResponse = function(response){
    $('area-to-update').update("System Properties are: <br><br>" + Object.toJSON(response));
    }

    Thanks in advance,
    Mandar
  2. #22  
    Quote Originally Posted by anthonystu View Post
    just go to device info in launcher it will tell you available memory
    Thanks , but I want to ask How to check this from code??
    Is there any service available?

    Thanks again,
    Mandar
Page 2 of 2 FirstFirst 12

Posting Permissions