Device APIs Articles
-
Flying a drone in your browser with WebBluetooth
There are tons of devices around us, and the number is only growing. And more and more of these devices come with connectivity. From suitcases to plants to eggs. This brings new challenges: how can we discover devices around us, and how can we interact with them? Currently device interactions are handled by separate apps […]
-
Network Activity and Battery Drain in Mobile Web Apps
Editor’s note: This post describes the work of a group of students from Portland State University who worked with Mozilla on their senior project. Over the course of the last 6 months, they’ve worked with Mozillian Dietrich Ayala to create a JavaScript library that allows developers to optimize the usage of network operations, thus saving […]
-
Mobile game development with the Device Orientation and Vibration APIs
The market for casual mobile gaming is keeping pace with the growing market for smartphones. There are Web tools that can help web developers like you build games that compete with native games. You’ll need great execution to stand out from the crowd – using the JavaScript APIs correctly can help. For game development, you’ll […]
-
Embedding an HTTP Web Server in Firefox OS
Nearing the end of last year, Mozilla employees were gathered together for a week of collaboration and planning. During that week, a group was formed to envision what the future of Firefox OS might be surrounding a more P2P-focused Web. In particular, we’ve been looking at harnessing technologies to collectively enable offline P2P connections such […]
-
Videos and Firefox OS
Before HTML5 Those were dark times Harry, dark times – Rubeus Hagrid Before HTML5, displaying video on the Web required browser plugins and Flash. Luckily, Firefox OS supports HTML5 video so we don’t need to support these older formats. Video support on the Web Even though modern browsers support HTML5, the video formats they support […]
-
NFC in Firefox OS
Firefox OS is being developed in an open collaboration with Mozilla’s partners and community. In that spirit, and over the course of over a year, Mozilla and Deutsche Telekom (DT) teams worked closely together to develop a platform-level support for NFC within Firefox OS. During that time, both teams had regular product and engineering meet-ups […]
-
Creating a mobile app from a simple HTML site
This article is a simple tutorial designed to teach you some fundamental skills for creating cross platform web applications. You will build a sample School Plan app, which will provide a dynamic “app-like” experience across many different platforms and work offline. It will use Apache Cordova and Mozilla’s Brick web components. The story behind the […]
-
getUserMedia is ready to roll!
We blogged about some of our WebRTC efforts back in April. Today we have an exciting update for you on that front: getUserMedia has landed on mozilla-central! This means you will be able to use the API on the latest Nightly versions of Firefox, and it will eventually make its way to a release build. […]
-
WDC2011: Tomorrow's Web (and Future Technologies)
Last Friday I had the pleasure of attending and speaking at the Web Developer Conference in Bristol. This was the fifth conference in the event’s history and was attended by well over 200 Web designers and developers from across the UK. In my talk I covered some Web technologies that are on the horizon and […]
-
More details about the WebAPI effort
As we’ve hoped, there has been a lot of interest in the newly announced WebAPI effort. So I figured that I should explain in more detail some of my thinking around what we’re hoping to do and the challenges that are ahead of us. Goal The goal of this effort is to create APIs to […]