HOT TIP!
Hacker News
- News that programmers find interesting
- Links & discussion borad
- Vote based, like Reddit
- Range of topics
- Check it out!
Firefox OS
- Phone Operating System
- Linux, boots straight to browser
- All apps run in browser
- - apps are just html/css/javascript
- - including Telephone, Wifi settings, etc
Firefox OS vs. Web pages
- Very Similar
- Need a manifest
- Phonebill payments
- Phone specific APIs
- Can be packaged
- Many webpages can be both
Firefox OS vs. Native
- Native apps are compile binaries
- Native can have web views
- Native apps must be packed
- - must installed through market
- Different for each platform
Web API
- Mozilla working project
- - we needed greater power apps
- - hardware (battery), data (contacts)
- Web API is our spec
- We are pushing to standardize
- Make the web more powerful for everyone!
Hardware Access
- Ambient Light Sensor
- - apps detect light level
- - change screen brightness
- Battery status
- - access to batter charge
- Geolocation
- - great for maps, and games
- Proximity
- - detect objects close to camera
Hardware Access
- Device Orientation
- - respond to device movements
- Screen Orientation
- - set a preference for you app
- Vibration
- - for games, not notifications
- WebFM
- Power Management
- - turn off screen to save power
Data Management
- FileHandle
- Indexed DB
- - NoSQL database in the browser
- Contacts
- Settings
- - access to phone settings
Other APIs
- Apps
- Alarm
- Simple Push
- Web Notifications
- - send immediate notification
- Web Activities
- - delegate activities between apps
- - ex. ask the camera to open a photo
- Web Activities
- - payments made through web