Mobile/DeviceAPIs: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(added a link to dcci description)
 
(One intermediate revision by one other user not shown)
Line 21: Line 21:
  Spec not final  
  Spec not final  
  Uses Gypsy GPS library (alternative location sources possible)  
  Uses Gypsy GPS library (alternative location sources possible)  
  – http://folks.o-hand.com/iain/gypsy/  
  – http://gypsy.freedesktop.org/wiki/  
  var geolocator = navigator.getGeolocator();  
  var geolocator = navigator.getGeolocator();  
  geolocator.request(function(location) {  
  geolocator.request(function(location) {  
Line 63: Line 63:


Instead of new JS APIs, where possible use the DOM, similar to how the /proc pseudo filesystem offers access to data and services to Linux scripts.
Instead of new JS APIs, where possible use the DOM, similar to how the /proc pseudo filesystem offers access to data and services to Linux scripts.
= BONDI =
BONDI, defined by the OMTP consortium is a complete set of APIs to be used for web runtimes [[http://bondi.omtp.org/default.aspx]]. The current Version 1.0 is quite complete including a secure policy management environment. A Reference Implementation is available. Further extensions are under discussion.

Latest revision as of 11:41, 10 February 2010

LocationAware.org

http://locationaware.org/

Standardization of location APIs - sounds like Doug knows more about this.

Google Gears

http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-March/014155.html

Proposal from Google - part of Google Gears

WebKit on GNOME

http://www.atoker.com/blog/2008/02/26/developing-hybrid-web-gtk-applications/

From Alp's FOSDEM talk

External module to expose location metadata to Web apps 
Implements the locationaware.org spec 
Spec not final 
Uses Gypsy GPS library (alternative location sources possible) 
– http://gypsy.freedesktop.org/wiki/ 
var geolocator = navigator.getGeolocator(); 
geolocator.request(function(location) { 
   alert(location.latitude+', '+location.longitude); 
});

GPS Gate

http://franson.com/forum/topic.asp?TOPIC_ID=6102

Api similar to Gears

GPS Tools

http://www.clubic.com/telecharger-fiche160476-gpstools-standard-activex-pour-pocket-pc.html

activex for IE

Opera Platform DOM Interface

http://oxine.opera.com/documentation/dom-interface.html no location but some devices available

JSX from JBlend

http://www.w3.org/2007/06/mobile-ajax/papers/aplix.hendry.html access to j2me api in the browser

DCCI

http://www.w3.org/TR/DPF/

See also
http://www.w3.org/2001/di/dci/ir/
ftp://ftp.informatik.uni-stuttgart.de/pub/library/medoc.ustuttgart_fi/DIP-2579/DIP-2579.pdf
http://portal.acm.org/citation.cfm?id=1156509
http://tutkielmat.uta.fi/pdf/lisuri00064.pdf http://www.w3.org/2007/06/mobile-ajax/papers/mobileaware.hanrahan.html

OpenAjax Alliance

Some good info on the [Task Force] including links to APIs, use cases, security etc.

DOM based

Instead of new JS APIs, where possible use the DOM, similar to how the /proc pseudo filesystem offers access to data and services to Linux scripts.


BONDI

BONDI, defined by the OMTP consortium is a complete set of APIs to be used for web runtimes [[1]]. The current Version 1.0 is quite complete including a secure policy management environment. A Reference Implementation is available. Further extensions are under discussion.