Skip to content

Commit

Permalink
added Phonegab information data WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Bo Thomsen <boh1996@gmail.com>
  • Loading branch information
boh1996 committed Oct 5, 2011
1 parent 95f9ad1 commit 98a33ba
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions assets/js/infomation.js
@@ -0,0 +1,11 @@
function DeviceInfomation(){
document.addEventListener("deviceready", Device, false);
}
//Get Device Information
function Device(){
var PhoneName = device.name;
var PhoneGap = device.phonegap;
var PhonePlatform = device.platform;
var UUID = device.uuid;
var OSVersion = device.version;
}

0 comments on commit 98a33ba

Please sign in to comment.