cordova - Retrieving sd-card details of BlackBerry Device Using PhoneGap -
i using phonegap develop app blackberry. how details of sd-card, such available , used space, on blackberry device?
i don't think so possible using phonegap.you can retrieve other information of mobile devices using phonegap device api.
here 1 example:
<!doctype html> <html> <head> <title>device properties example</title> <script type="text/javascript" charset="utf-8" src="cordova-x.x.x.js"></script> <script type="text/javascript" charset="utf-8"> // wait cordova load // document.addeventlistener("deviceready", ondeviceready, false); // cordova ready // function ondeviceready() { var element = document.getelementbyid('deviceproperties'); element.innerhtml = 'device name: ' + device.name + '<br />' + 'device cordova: ' + device.cordova + '<br />' + 'device platform: ' + device.platform + '<br />' + 'device uuid: ' + device.uuid + '<br />' + 'device model: ' + device.model + '<br />' + 'device version: ' + device.version + '<br />'; } </script> </head> <body> <p id="deviceproperties">loading device properties...</p> </body> </html>
Comments
Post a Comment