Beatitful Site News

četvrtak, 23.02.2012.

Mozilla's Boot2Gecko Mobile Platform and Gaia UI

Mozilla's Boot2Gecko Mobile Platform and Gaia UI


By Ryan Paul.


Mozilla launched a new project last year called Boot2Gecko (B2G) with the aim of developing a mobile operating system. The platform's user interface and application stack will be built entirely with standards-based web technologies and will run on top of Gecko, the HTML rendering engine used in the Firefox web browser. The B2G project has advanced at a rapid pace this year and the platform is beginning to take shape.


The B2G team at Mozilla is preparing to give a demo of the platform's user experience at the upcoming Mobile World Congress (MWC) event. Mozilla's Brendan Eich told us via Twitter that the B2G project has already attracted partners, including one that is developing its own custom home screen. This suggests that multiple parties, possibly hardware vendors, are interested in adopting the platform.


According to a roadmap recently published by Mozilla, the B2G project could potentially reach the product stage by the second quarter of 2012. That's a highly ambitious target, but the project's impressive rate of development suggests that it can be done. The pervasive use of HTML and JavaScript to build the user interface and application stack is no doubt speeding the project along. Web technologies are very conducive to rapid development.


The B2G platform consists of three main layers. The bottom layer, which is called Gonk, includes the Linux kernel, the hardware abstraction layer, the telephony stack, and other low-level system components. The middle layer is the Gecko rendering engine, which has been improved with new APIs that expose device capabilities. The top layer is Gaia, the B2G user interface, which is built entirely with HTML and JavaScript.


The Linux kernel that is used in Gonk is said to be "reasonably close" to upstream Linux. According to Mozilla's documentation, Gonk uses some of the underlying bits of the Android open source project, including some minor kernel customizations, in order to make it easier for hardware vendors to get B2G running on Android hardware. B2G is not based on Android, however, and will not run Android applications. It's currently possible to replace the Android environment on a Samsung Galaxy S II with a B2G build.


Much of the interaction between the Gecko and Gonk layers will be mediated by a B2G process that runs with a high privilege level and acts as a sort of Gecko server. The B2G process will paint to the framebuffer and interact with hardware components like a built-in GPS antenna or camera.


The wireless modem functionality is implemented in a radio interface layer (RIL) daemon, which B2G will interact with through a simple proxy process. Actual web content and multimedia playback will be handled by separate processes that communicate with the B2G process.


Mozilla aims to build the entire B2G user interface and application stack with native HTML and JavaScript. In order to accomplish that, Mozilla launched the WebAPI project, which exposes device functionality to web content through JavaScript APIs. Mozilla has already previously introduced APIs for accessing certain device capabilities, such as the accelerometer and geolocation APIs that are supported in the mobile versions of Firefox.


The WebAPI project goes a step further and adds a great deal of additional functionality for tasks like taking pictures with the built-in camera, dialing the phone, accessing the device's battery level and status, sending and managing SMS messages, accessing the user's address book, and making a device vibrate. These capabilities are largely made accessible to web content through a set of JavaScript APIs. This means that the B2G dialer interface, for example, is just a web page that uses a JavaScript function to initiate a call.


Mozilla is working to standardize these APIs through the W3C Device APIs working group. In theory, the same underlying JavaScript APIs that are used to enable access to underlying platform features on B2G could eventually be supported natively in the default web browsers that ship with other platforms.


The standardization effort around device APIs is especially significant. If the APIs gain widespread adoption, it would make it possible for large portions of the B2G user experience and application stack (which are, essentially, just web content) to run in web browsers on other platforms. At that heart of Mozilla's agenda for B2G is a vision of the future in which browser-based mobile applications, built with standards-based HTML and JavaScript, will be capable of doing everything that can be done today with the native mobile application development frameworks.


Because B2G's Gaia user interface layer is implemented in HTML and JavaScript, it can technically run in a regular desktop web browser. Of course, the device-related capabilities will only work when the content is run in an environment that has WebAPI support.


We tested the Gaia home screen user interface and several of the platform's applications in a Firefox nightly build. All we had to do to get it running was download the code from the relevant GitHub repository and then open the homescreen.html file in Firefox.


When the page loads, the user will see the B2G lock screen, which displays the current date and time. The home screen interface can be accessed by dragging the lock screen up. The home screen displays a grid of application launchers and has a notification bar at the top. You can drag a notification slider down from the bar, much like the equivalent user interface element in Android.


If you look at the source code of the homescreen.html page, you will see that the contents of the interface, including the lock screen, are created with HTML div tags with some JavaScript code to handle interaction and populate the values. It's quite simple and predictable web content.


Individual applications run inside of a frame in the homescreen interface. We tested several applications, including a dialer, a web browser, and a map application. Like the home screen, these are all implemented in HTML and CSS. The web browser is basically a web page with an HTML input element for the URL bar and an embedded iframe element where the page content loads.


The current implementation of the Gaia environment is still simplistic and incomplete, but it offers a compelling demonstration of how conventional web content can be used to create a smartphone user experience. It's possible to do anything in the B2G user interface that can be done with HTML and CSS, so the possibilities for styling and theming are prodigiously extensive. Such intrinsic flexibility could help make B2G appealing to hardware vendors because it would make it easier for them to create custom user interfaces that differentiate their products.


Mozilla hasn't created an HTML-based widget toolkit for application development. The applications currently included in Gaia are just straight markup with CSS for design. It's theoretically possible to use existing HTML widget toolkits in B2G, however, such as jQuery Mobile and Sencha Touch.


The B2G project is off to an impressive start. The underlying concept of bringing native application capabilities to the standards-based web technology stack is also tremendously compelling. It hints at the possibility that the open web could someday provide a unified application platform for mobile devices.


It's also worth noting that the project is entirely open. As Eich pointed out to us yesterday in response to our coverage of Open webOS, the B2G project has had open governance and public source code since its first day. B2G also benefits from Mozilla's engineering talent and potential partners. The B2G platform has an opportunity to bring positive disruption to the mobile landscape and be a serious contender.



Other Electronics News:


Laptop Battery ,


Fujitsu Laptop Battery , FPCBP197AP , Fujitsu S760 modular bay Battery , FPCBP197AQ , Fujitsu S761 modular bay Battery , FPCBP197AS , etc.


23.02.2012. u 08:51 • 0 KomentaraPrint#

<< Arhiva >>

Creative Commons License
Ovaj blog je ustupljen pod Creative Commons licencom Imenovanje-Dijeli pod istim uvjetima.

< veljača, 2012 >
P U S Č P S N
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29        

Srpanj 2012 (3)
Lipanj 2012 (2)
Svibanj 2012 (1)
Ožujak 2012 (4)
Veljača 2012 (12)
Siječanj 2012 (2)
Prosinac 2011 (1)
Rujan 2011 (1)
Srpanj 2011 (2)
Lipanj 2011 (3)
Svibanj 2011 (2)
Travanj 2011 (5)
Ožujak 2011 (8)
Veljača 2011 (3)
Siječanj 2011 (4)
Prosinac 2010 (4)
Studeni 2010 (3)
Listopad 2010 (4)
Rujan 2010 (7)
Kolovoz 2010 (3)

Dnevnik.hr
Gol.hr
Zadovoljna.hr
Novaplus.hr
NovaTV.hr
DomaTV.hr
Mojamini.tv

Opis bloga

Beatitful Site News

laptop battery, lenovo batteries, digital camera batteries, laptop batteries


Apple Laptop Batteries ,
Apple Battery ,

----------------------------------------------------------------------------------------------


Apple A1008 Battery ,
Apple A1012 Battery ,
Apple A1021 Charger ,
Apple A1022 Battery ,
Apple A1036 Charger ,
Apple A1039 Battery ,
Apple A1045 Battery ,
Apple A1057 Battery ,
Apple A1060 Battery ,
Apple A1061 Battery ,
Apple A1078 Battery ,
Apple A1079 Battery ,
Apple A1080 Battery ,
Apple A1106 Battery ,
Apple A1148 Battery ,
Apple A1172 Charger ,
Apple A1175 Battery ,
Apple A1184 Charger ,
Apple A1185 Battery ,
Apple A1189 Battery ,
Apple A1245 Battery ,
Apple A1278 Battery ,
Apple A1280 Battery ,
Apple A1281 Battery ,
Apple 616-0132 Battery ,
Apple M1906 Battery ,
Apple M4685 Battery ,
Apple M6091 Battery ,
Apple M6392 Battery ,
Apple M7318 Battery ,
Apple M8244G Battery ,
Apple M8244G/B Battery ,
Apple M8403 Battery ,
Apple M8416G/A Battery ,
Apple M8511 Battery ,
Apple M8943LL/A Charger ,
Apple M9324 Battery ,
Apple M9325G/A Battery ,
Apple M9572G/A Battery ,
Apple M9756G/A Battery ,
Apple Ma348 Battery ,
Apple Ma458 Battery ,
Apple Ma561 Battery ,
Apple Ma561fe/a Battery ,
Apple Ma561G/A Battery ,
Apple Ma561J/A Battery ,
Apple Ma566 Battery ,
Apple Mb771 Battery ,
Apple Mb772 Battery ,
Apple MC-1950 Charger ,
Apple NB-150 Charger ,

----------------------------------------------------------------------------------------------


Apple IBook G4 Power Adapter ,
Apple MacBook PRO Power Adapter ,
Apple PowerBook G4 Power Adapter ,
MacBook PRO Charger ,
PowerBook G4 Charger ,
MacBook PRO 17-Inch Battery ,
MacBook PRO 15-Inch Battery ,
MacBook PRO 13-Inch Battery ,
Apple MacBook PRO Battery ,
Apple 13" Macbook Air Battery ,
Apple PowerBook G4 Battery ,
PowerBook G4 12-Inch Battery ,
PowerBook G4 15-Inch titanium Battery ,
PowerBook G4 15-Inch aluminum Battery ,
PowerBook G4 17-Inch Battery ,
Apple PowerBook G3 Battery ,
PowerBook G3 (1999 models) Battery ,
PowerBook G3 (2000 models) Battery ,
PowerBook G3 12.1-Inch Battery ,
PowerBook G3 13.3-Inch Battery ,
PowerBook G3 14.1-Inch Battery ,
Apple IBook G4 Battery ,
Apple IBook G4 12 Battery ,
Apple IBook G4 14 Battery ,
Apple IBook G3 Battery ,
Apple PowerBook G3 12" Battery ,
IBook 12-Inch Dual USB ,
IBook Snow White Battery ,
iBook 1999 model Battery ,
iBook 2000 model Battery ,

----------------------------------------------------------------------------------------------


Linkovi

Dnevnik.hr
Video news portal Nove TV

Blog.hr
Blog servis

Igre.hr
Najbolje igre i igrice

Forum.hr
Monitor.hr