TideSDK vs B2G API Feature Comparison - LemontechSA/TideSDK GitHub Wiki
API | Description | TideSDK | B2G |
Web Telephony | Allow placing and answering phone calls as well as build in-call UI. | X | |
Vibration API | Control device vibration for things like haptic feedback in games. Not intended to solve things like vibration for notification. | X | |
WebSMS | Send/receive SMS messages as well as manage messages stored on device. | X | |
Idle API | Get notifications when user is idle. | X | |
Screen Orientation | Get notification when screen orientation changes as well as control which screen orientation a page/app wants. | X | |
Settings API | Set system-wide configurations that are saved permanently on the device. | X | |
Power Management API | Turn on/off screen, cpu, device power, etc. Listen and inspect resource lock events. | X | |
Mobile Connection API | Expose signal strength, operator, etc for GSM and other mobile connections. This does not cover WiFi. | X | |
TCP Socket API | Low-level TCP socket API. Will also include SSL support. | X | |
Geolocation API | Same API since Firefox 3.5 | X | |
Sensor API | Access to device sensors such as accelerometer, magnetic field (compass), proximity, ambient light etc. | X | |
WiFi Information API | Privileged API to get a list of available WiFi networks. Also get signal strength and name of currently connected network, etc. | X | |
Device Storage API | Add/Read/Modify files stored on a central location on the device. For example the "pictures" folder on modern desktop platforms or the photo storage in mobile devices. | X | |
Contacts API | Add/Read/Modify the device contacts address book. | X | |
Mouse Lock API | Lock access to mouse and get access to movement deltas rather than coordinates. | X | |
Open WebApps | nstall web apps and manage installed webapps. Also allows an installed webapp to get payment information. Everything needed to build a Opeb WebApps app store. | X | |
WebBluetooth | Low level access to Bluetooth hardware. | X | |
Network Information API | Get basic information about current network connectivity. Example: "How fast of a connection do I have?". | X | |
Battery Status API | Information about battery charge level and if device is plugged in. | X | |
Alarm API | Schedule a notification, or for an application to be started, at a specific time. | X | |
Browser API | Enables implementing a browser completely in web technologies. | X | |
Time/Clock API | Set current time. Timezone will go in the Settings API. | X | |
Web Activities | Delegate an activity to another application. | X | |
Push Notifications API | Allow the platform to send notification messages to specific applications. | X | |
Permissions API | Allow Settings app to manage all app permissions in a centralized location | X | |
FM Radio API | For FM radio feature. | X | |
FileHandle API | Writable files with locking. | X | |
Network Stats API | Monitor data usage and expose data to privileged apps. | X |
API | Description | TideSDK | B2G |
Resource lock API | Prevent resources from being turned off, for example screen dimming, WiFi turning off, CPU going into sleep mode etc. | ||
UDP Datagram Socket API | Low-level UDP API. | ||
USB file-reading API | When enabled, allows mounting of device storage as a USB filesystem on the tethered computer. | ||
Camera API | This is part of the larger WebRTC effort. This is a big piece of work so see the link. | ||
Peer to Peer API | This is part of the larger WebRTC effort. This is a big piece of work so see the link. | ||
WebNFC | Low level access to NFC hardware. So far focusing on NDEF support. | ||
WebUSB | Low level access to USB hardware. | ||
HTTP-cache API | Query what's stored in the browsers http-cache. Add/remove entries. Update expiration time. Get data directly from cache. | ||
Calendar API | Add/Read/Modify to the device calendar. | ||
Spellcheck API | Enable webpages to check if a piece of text is correctly spelled as well as get suggestions for corrections. | ||
Background services | Enable a web application to run in the background and perform tasks like syncing or respond to incoming messages. | ||
LogAPI | Allows to register the user activity on the phone. |
The following copyright and attribution applies to this document:
- Copyright © 2012 David Pratt (for TideSDK). All rights reserved.
CONTRIBUTORS:
- David Pratt
- Francisco Zarate