1. Trang chủ
  2. » Công Nghệ Thông Tin

BOOT TO GECKO (B2G) Phuoc Hung Duong

10 169 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 10
Dung lượng 0,9 MB

Nội dung

Whats B2G. Firefox OS (project name: Boot to Gecko also known as B2G) is an open source operating system for smartphones and tablet computers being developed by Mozilla. It is an implementation of letting HTML5 applications integrate the device’s hardware directly by using JavaScript. It has been demonstrated on Androidcompatible smartphones (from wikipedia). Firefox OS was developed entirely on HTML5 standards and will act as a multimedia website Telefonica Chief Executive, Matthew Key has claimed that the Firefox OS will offer a better budget experience than Android (may be) I think it Simple, quick and efficient

BOOT TO GECKO (B2G) Release date ~2013 (Reduced) * What's B2G Firefox OS (project name: Boot to Gecko also known as B2G) is an open source operating system for smartphones and tablet computers being developed by Mozilla It is an implementation of letting HTML5 applications integrate the device’s hardware directly by using JavaScript It has been demonstrated on Androidcompatible smartphones (from wikipedia) Firefox OS was developed entirely on HTML5 standards and will act as a multimedia website Telefonica Chief Executive, Matthew Key has claimed that the Firefox OS will offer "a better budget experience than Android" (may be) I think it Simple, quick and efficient Some picture: Link demolive (better to use Firefox Nightly) : http://paulrouget.com/gaia/ * How to setup (desktop) Download the Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) Start the installer and follow the instructions Download the pre-built installer for b2g-desktop with pre-compiled gaia Start the installer and follow the instructions Be sure to leave the two checkboxes checked (device) To setup Firefox OS into your device, you must following this page https://developer.mozilla.org/enUS/docs/Mozilla/Boot_to_Gecko/Installing_Boot_to_Gecko_on_a_mobile_dev ice Duong reseach >>linux * How to use - You can use it just like Android OS (Firefox OS based on Android OS) - To install app, you need to go to https://marketplace.mozilla.org/ to download and install app * How to develop B2G app ~ web app Html5,js … Installing the Web app: With the app and manifest published on the Web, you need to make Gecko aware of it At install time, Gecko looks up the manifest and adds the necessary entries to the home screen, etc To install an app, call the navigator.mozApps.install() API Here's example for an install button that you could embed in your app when you self-host your app: var manifest_url = "http://my.webapp.com/manifest.json"; Install this awesome app on your homescreen! Note: the Install button could also be in an app market, such as the Mozilla Marketplace, but it's often very handy to have an "Install as web app" button on the main page of your site DM_Mozillaball.rar Demo mozillaball : in file Attach *note : it’s something about B2G not all.i hope you satisfied 25/10/2012 B2G is mainly two separate things: gecko and gaia • • The gecko side is the hardware- related stuff and javascript APIs that we need to make the phone ………… that I don’t see Gaia - interface that I see -  Gaia is basically everything that you can see and interact with.its the front-end operating system and application stack that hoods in to the APIs that B2G provides APIs for B2G Touch Events :… Camera API:… webSMS API:… webTelephone API:… battery API:… … Apps are websites Apps are websites and are built using the same technology and processes If you already know how to make a website then creating your first Web app is a breeze The only thing that you need to to turn a website into app is create an application manifest have JSON file that efectively describes your application; it’s name, icons, and other related data Installing apps Behind the scenes, installing an app is achieved through the new mozApps JavaScript API By passing the ‘install’ method a string URL to the app’s manifest file you will trigger the installation process An example of when you would call this method is after a user clicks on an “Install this app” button on your own website It would be called automatically if your app was installed from the Mozilla Marketplace, or any other external website On Windows, a desktop shortcut is created for the app you installed and it will also be in the start menu On Mac, the app is added to your /Applications directory On B2G, the app is added to your homescreen >> I think html5 app is a b2g app ?? Example with WavySandbox: URL : c9c270b.zip file://///172.17.44.100/public/b2g/res/wavysandbox-install- Phuoc reseach many about b2g in destop reseach many about b2g in firefox Nightly duong reseach many about b2g in linux ... to leave the two checkboxes checked (device) To setup Firefox OS into your device, you must following this page https://developer.mozilla.org/enUS/docs/Mozilla /Boot_ to_ Gecko/ Installing _Boot_ to_ Gecko_ on_a_mobile_dev... https://developer.mozilla.org/enUS/docs/Mozilla /Boot_ to_ Gecko/ Installing _Boot_ to_ Gecko_ on_a_mobile_dev ice Duong reseach >>linux * How to use - You can use it just like Android OS (Firefox OS based on Android OS) - To install app, you need to go to https://marketplace.mozilla.org/... install time, Gecko looks up the manifest and adds the necessary entries to the home screen, etc To install an app, call the navigator.mozApps.install() API Here's example for an install button that

Ngày đăng: 17/07/2017, 14:06

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w