Más contenido relacionado Similar a Firefox OS Workshop @ Serbia & Montenegro (20) Firefox OS Workshop @ Serbia & Montenegro32. Regular APIs
• Vibration
• ScreenOrientation
• GeoLocation
• MouseLock
• OpenWebApps
• NetworkInformation
• BatteryStatus
• Alarm
• WebActivities
• PushNotifications
• WebFMApi
• WebPayment
• IndexedDB
• AmbientLightSensor
• ProxyimitySensor
• Notification
Yellow = Approved by W3C
39. Certified APIs
• WebTelephony
• WebSMS
• IdleAPI
• SettingsAPI
• PowerManagementAPI
• MobileConnectionAPI
• WiFiInformationAPI
• WebBluetooth
• PermissionsAPI
• NetworkStatsAPI
• CameraAPI
• Time/ClockAPI
• Attentionscreen
• Voicemail
Requires certification process
43. Hey I need an
image!
Sure, I can provide
you with one!
48. Dealing with offline
• Have the necessary application files
available
• Cache server side data
• Store app state on device
51. Two types of apps
• Hosted
• Assets on the server
• Cacheable via appcache
• Packaged
• ZIP archive with assets
59. ZIP
• One big zip file
• Resources loaded from zip file
• Still requires manifest file
61. The app manifest file
• Has name, description, version for market
place
• Define permissions (calling, storage)
• Web activity provider (I provide images!)
https://marketplace.firefox.com/developers/docs/manifests