mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-11 00:00:05 +08:00
added HTTP get support for Android
This commit is contained in:
+7
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user