We've taken the web app approach to mobile phones for many of the
reasons already listed. We've also been pleasantly surprised with the
ability to utilize "helpful" phone capabilities even from the web.
Using web apps, you can leverage:
1. Auto dialing for phone numbers via gestures as Joe pointed out
2. Mapping, directions, etc via google maps with a simple URL.
3. Voice input
4. Location/GPS (causes security warning)
What are we not able to do that we "need"? Camera?
Here is a location and voice sample app:
http://www.planetjavainc.com/wowADDONDEV/runApp?id=111&_pj_lib=wowsamp
The location/GPS can be utilized via JavaScript with a pretty simple
script like this:
<script type="text/javascript">
function geo_success(position)
{ document.title=position.coords.latitude;
document.getElementById("htmlLat").value=position.coords.latitude;
document.getElementById("htmlLong").value=position.coords.longitude;
}
function geo_error(position)
{ document.title=broken;
alert('busted');
}
wpid=navigator.geolocation.watchPosition(geo_success, geo_error,
{enableHighAccuracy:true, maximumAge:30000, timeout:27000});
</script>
Latitutde is:
<input id = "htmlLat" type="text" name="htmlLat" value="" >
Longitude:
<input id = "htmlLong" type="text" name="htmlLong" value="" >
</form>
-Paul
As an Amazon Associate we earn from qualifying purchases.