Added phone information for android

This commit is contained in:
addios
2009-02-27 14:22:59 +07:00
parent bff74d9b5e
commit c96e369351
4 changed files with 202 additions and 13 deletions
+19 -2
View File
@@ -330,7 +330,7 @@ var Device = {
Device.storage.result = window.DroidGap.createDirectory(file);
return Device.storage.result;
}
}
},
audio: {
@@ -352,7 +352,24 @@ var Device = {
getDuration: function(file) {
return window.DroidGap.getDurationAudio(file);
}
}
},
information: {
getLine1Number: function(){
return window.DroidGap.getLine1Number();
},
getVoiceMailNumber: function(){
return window.DroidGap.getVoiceMailNumber();
},
getNetworkOperatorName: function(){
return window.DroidGap.getNetworkOperatorName();
},
getSimCountryIso: function(){
return window.DroidGap.getSimCountryIso();
},
getTimeZoneID: function(){
return window.DroidGap.getTimeZoneID();
}
}
}