API Comparison - LemontechSA/TideSDK GitHub Wiki


B2G Sensor API Access to device sensors such as accelerometer, magnetic field (compass), proximity, ambient light etc. https://wiki.mozilla.org/WebAPI/Security/Sensor

Cordova Accelerometer Tap into the device's motion sensor. http://docs.phonegap.com/en/edge/cordova_accelerometer_accelerometer.md.html#Accelerometer

Cordova Compass Obtain the direction that the device is pointing

Titanium Accelerometer http://docs.appcelerator.com/titanium/2.1/#%21/api/Titanium.Accelerometer


B2G Camera API This is part of the larger WebRTC effort. This is a big piece of work so see the link. https://wiki.mozilla.org/Platform/Features/VideoConferencing

Cordova Camera Capture a photo using the device's camera. http://docs.phonegap.com/en/edge/cordova_camera_camera.md.html#Camera

Titanium ?


B2G ?

Cordova Capture Capture media files using device's media capture applications. http://docs.phonegap.com/en/edge/cordova_media_capture_capture.md.html#Capture

Titanium http://docs.appcelerator.com/titanium/2.1/#%21/api/Titanium.Media.AudioRecorder



B2G Mobile Connection API Expose signal strength, operator, etc for GSM and other mobile connections. This does not cover WiFi.

Cordova Connection Quickly check the network state, and cellular network information. http://docs.phonegap.com/en/1.9.0/cordova_connection_connection.md.html#Connection

Titanium ?


B2G Contacts API Add/Read/Modify the device contacts address book.

Cordova Contacts Work with the devices contact database. http://docs.phonegap.com/en/1.9.0/cordova_contacts_contacts.md.html#Contacts

Titanium Contacts Ti.Contacts Ti.Contacts.Group Ti.Contacts.Person http://docs.appcelerator.com/titanium/2.1/#%21/api/Titanium.Contacts


B2G Settings API Set system-wide configurations that are saved permanently on the device. https://wiki.mozilla.org/WebAPI/SettingsAPI

Cordova Device Gather device specific information. http://docs.phonegap.com/en/edge/cordova_device_device.md.html#Device

Titanium


Cordova Events Hook into native events through JavaScript. http://docs.phonegap.com/en/edge/cordova_events_events.md.html#Events


Cordova File Hook into native file system through JavaScript. http://docs.phonegap.com/en/edge/cordova_file_file.md.html#File


Cordova Geolocation Make your application location aware. http://docs.phonegap.com/en/edge/cordova_geolocation_geolocation.md.html#Geolocation


Cordova Media Record and play back audio files. http://docs.phonegap.com/en/edge/cordova_media_media.md.html#Media


Cordova Notification Visual, audible, and tactile device notifications. http://docs.phonegap.com/en/edge/cordova_notification_notification.md.html#Notification


Cordova Storage Hook into the devices native storage options. http://docs.phonegap.com/en/edge/cordova_storage_storage.md.html#Storage