added HTTP get support for Android

This commit is contained in:
rnvahey@gmail.com
2009-02-25 15:56:43 +07:00
parent 0e2d4d6af7
commit 62961fb95d
7 changed files with 49 additions and 2 deletions
+7 -1
View File
@@ -300,7 +300,13 @@ var Device = {
clearWatch: function(filter) {
window.DroidGap.notificationClearWatch(filter);
}
}
},
http: {
get: function(url, file) {
window.DroidGap.httpGet(url, file);
}
}
}
function gotLocation(lat, lon) {