Contenu connexe
Similaire à What the hell are Hybrid Apps? (20)
What the hell are Hybrid Apps?
- 1. What the hell are hybrid apps?
Anam Ahmed
/theanam /theanam@mranam
- 10. GPS
var onSuccess = function(position) {
//do something with location
};
// onError Callback receives a PositionError object
//
function onError(error) {
//Error handling
}
navigator.geolocation.getCurrentPosition(onSuccess, onError);