The merge of phone system app and tv system app

--001a113423504d26870513454774
Content-Type: text/plain; charset=UTF-8

Hi gaia devs,

As we known, we have two system apps for different device type, phone and
TV, in gaia and it's hard to maintain both. So, we want to merge
tv_apps/smart-system back to apps/system and use build config to switch
different device type. With the experience of smart-system, we have the
following tasks[1]:

1. disable features which are not available in TV
2. swap modules to enable different behaviors in TV
3. modify UI/visual to comply with TV visual spec
4. improve the start-up time in TV
5. fix all jshint error/warning in TV

The idea of modification in JavaScript is in alive's wiki page[2]. For each
tasks, we will do:
1. We use device type to load different modules which is wrapped with
BaseModule to deal with task #1.
2. We use swappable functionality to deal with task #2 and #3.
3. For start-up time #4, alive already have a good patch, bug 1094759[3]

For HTML DOM elements in index.html, we will try to construct DOM elements
in run time as much as possible. Once a module is swapped as TV module, it
will create TV UI.

For CSS rules, we may use build time to pick necessary CSS file and pack
it. But this part is TBD.

Thanks

[1]
https://docs.google.com/a/mozilla.com/presentation/d/1yhwIcFmi12iIOU8xW-xDruoXqHw-05nGnG0abBHFuv4/edit#slide=id.p
[2] https://wiki.mozilla.org/User:Alive/System_Refactor_Plan
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=1094759

-- 
--------------------------------------
John Hu<johu@mozilla.com>
Senior Software Engineer, Firefox OS Devices
Mozilla Corporation, Taipei Office.

--001a113423504d26870513454774
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi gaia devs,<br><br>As we=20
known, we have two system apps for different device type, phone and TV,=20
in gaia and it&#39;s hard to maintain both. So, we want to merge=20
tv_apps/smart-system back to apps/system and use build config to switch dif=
ferent device type. With the experience of=20
smart-system, we have the following tasks[1]:<br><br>1. disable features wh=
ich are not available in TV<br>2. swap modules to enable different behavior=
s in TV<br>3. modify UI/visual to comply with TV visual spec<br>4. improve =
the start-up time in TV<br></div>5. fix all jshint error/warning in TV<br><=
div><br>The idea of modification in JavaScript is in alive&#39;s wiki page[=
2]. For each tasks, we will do:<br>1. We use device type to load different =
modules which is wrapped with BaseModule to deal with task #1.<br>2. We use=
 swappable functionality to deal with task #2 and #3.<br>3. For start-up ti=
me #4, alive already have a good patch, bug 1094759[3]<br><div><br></div><d=
iv>For
 HTML DOM elements in index.html, we will try to construct DOM elements=20
in run time as much as possible. Once a module is swapped as TV module,=20
it will create TV UI.<br><br></div><div>For CSS rules, we may use build tim=
e to pick necessary CSS file and pack it. But this part is TBD.<br><br></di=
v><div>Thanks<br></div><br>[1] <a href=3D"https://docs.google.com/a/mozilla=
..com/presentation/d/1yhwIcFmi12iIOU8xW-xDruoXqHw-05nGnG0abBHFuv4/edit#slide=
=3Did.p">https://docs.google.com/a/mozilla.com/presentation/d/1yhwIcFmi12iI=
OU8xW-xDruoXqHw-05nGnG0abBHFuv4/edit#slide=3Did.p</a><br>[2] <a href=3D"htt=
ps://wiki.mozilla.org/User:Alive/System_Refactor_Plan" target=3D"_blank">ht=
tps://wiki.mozilla.org/User:Alive/System_Refactor_Plan</a><br clear=3D"all"=
>[3] <a href=3D"https://bugzilla.mozilla.org/show_bug.cgi?id=3D1094759" tar=
get=3D"_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=3D1094759</a><b=
r clear=3D"all"><br>-- <br><div class=3D"gmail_signature"><div dir=3D"ltr">=
<div><div dir=3D"ltr">--------------------------------------<br>John Hu&lt;=
<span><span><a href=3D"mailto:johu@mozilla.com" target=3D"_blank">johu@mozi=
lla.com</a></span></span>&gt;<br>Senior Software Engineer, Firefox OS Devic=
es<br>Mozilla Corporation, Taipei Office.</div></div></div></div>
</div></div>

--001a113423504d26870513454774--
0
UTF
4/9/2015 7:05:53 AM
mozilla.dev.gaia 3196 articles. 0 followers. Post Follow

0 Replies
654 Views

Similar Articles

[PageSpeed] 3

Reply:

Similar Artilces:

Merge plan of TV system app and phone system app
--001a11482436c8bef3051a53940f Content-Type: text/plain; charset=UTF-8 Hi all, As the landed of bug 1094759, we will start our merge plan. We have 4 phases for system merge: 1. Modules can be disabled on demand (meta: bug 1155018 <https://bugzilla.mozilla.org/show_bug.cgi?id=1155018>) 2. TV specific window manager is created and can be loaded on demand (meta: bug 1179642 <https://bugzilla.mozilla.org/show_bug.cgi?id=1179642>) 3. TV visuals are created and can be loaded on demand (meta: bug 1154191 <https://bugzilla.mozilla.org/show_bug.cgi?i...

[System] Prepare system app for v3 and some know-how to contribute system app
--549a9c74_46e87ccd_d5a Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello developers of system app, TL;DR: v3 ideation is ongoing, but we could do something nice to prepare = the system app ready for v3.=C2=A0No matter what we will do in v3, it mus= t have a system app. And=C2=A0honestly, current system app is not ready f= or any coming big change yet. It would be great if we spend some time on = system app architecture in the coming year before v3=C2=A0comes to us. How to call it ready=3F IMO * ...

System app -> other app communications
I'm trying to get the system app to communicate to other applications. My first idea was basically to use `postMessage` to do the communication because well, everything is an iframe. The following piece of code works in both the desktop as well as B2G desktop (from system app): document.querySelectorAll('.appWindow iframe')[0].contentWindow.postMessage('blah', '*') However, on an actual device I can't get to contentWindow. Why is this different than B2G Desktop and is there a way around this? On real device, most apps are running on separated processe...

Gaia System App plan
Dear all, Given the fact that "Milestone X Plan" spreadsheet does not really covers the actual code division of the System App, Vivien, Etienne and I have quickly finish the spreadsheet I proposed. The spreadsheet lists all the modules of the System app and their responsibilities -- and should/will be a live document on how we implement Gaia features and integrate with the tracking document. https://docs.google.com/spreadsheet/ccc?key=0AtZAnc7MwjgldGxuVU9semlGdmlrTVpLQWlzOENuSHc *Code pattern*: We have established basic ideas about modules. All the modules ne...

Build support for Gaia /system apps
Hey guys.. I've opened 4 pull requests that will need to be merged together to = enable Gaia apps being installed in /system for user (production) builds = of B2G: https://github.com/mozilla-b2g/platform_build/pull/4 https://github.com/mozilla-b2g/B2G/pull/107 https://github.com/mozilla-b2g/gonk-misc/pull/24 https://github.com/mozilla-b2g/gaia/pull/4482= ...

Interfacing PB app with office phone system
We have a specific requirement to interface our application with the office phone system to provide a caller id interface. When customer calls, we have to pop up the customer summary or order screen based on customer phone number stored in the customer table. We are using pb6.5 on windows NT4.0, and oracle8 as backend. Have anyone ever done this kind of work in pb. Your help will be really appreciated. Thanks Sanjay K Gupta I did some preliminary research on this subject for a company that I used to work for. You can use the Microsoft TAPI (Telephony API) to interface with ...

Exposing the browser api reference to the internal/certified apps(eg. System app) themselves?
Hi folks, Recently, some of the b2g folks are refactoring the audio channel service in [1], what we do is using the new broswer api [2] to allow/deny the audio channels, then wrap up those logic we used in gecko then re-implement it in gaia. It's a sub-module [3] directly in the System app, in theory it's capable of managing any iframe/app's audio channel which created under the System app. The problem we encountered is, we use some audio elements to play sounds in the System app, like the notification, screen reader, ringtones..., this means we also need to manage the...

Exposing the browser api reference to the internal/certified apps(eg. System app) themselves?
--089e0112c0a00641ac05153e39c8 Content-Type: text/plain; charset=UTF-8 Hi folks, Recently, some of the b2g folks are refactoring the audio channel service in [1], what we do is using the new broswer api [2] to allow/deny the audio channels, then wrap up those logic we used in gecko then re-implement it in gaia. It's a sub-module [3] directly in the System app, in theory it's capable of managing any iframe/app's audio channel which created under the System app. The problem we encountered is, we use some audio elements to play sounds in the System app, like the notifi...

Exposing the browser api reference to the internal/certified apps(eg. System app) themselves?
--089e0112c0a00641ac05153e39c8 Content-Type: text/plain; charset=UTF-8 Hi folks, Recently, some of the b2g folks are refactoring the audio channel service in [1], what we do is using the new broswer api [2] to allow/deny the audio channels, then wrap up those logic we used in gecko then re-implement it in gaia. It's a sub-module [3] directly in the System app, in theory it's capable of managing any iframe/app's audio channel which created under the System app. The problem we encountered is, we use some audio elements to play sounds in the System app, like the notifi...

App manager and Dev Apps
Hello, I am experiencing problems to debug apps loaded in the App Manager. I don't have this problem if the App is downloaded from the Marketpalce and debugged with the App Manager. Is there a known problem to debug Dev Apps, loaded from a directory in your computer? Thanks, Juanma ...

What is forcing your Gaia app to be a certified app?
--f46d041824f8a387f604f717ef74 Content-Type: text/plain; charset=UTF-8 Hi there, In the thread Fabrice started on dev-b2g titled "Let's fix updates" we again discussed the possibility of some of the apps in Gaia being updateable separate from OTA updates of the whole OS. The main reason this isn't currently possible is that all the Gaia apps are treated as certified apps. I'm curious what is forcing all of the Gaia apps to be certified apps and what it would take to make some of them into privileged apps or even web apps, which could be updated independent...

System App convention
Dear all, I am sorry that I have not made this clear, but we do have a System app convention that needs to be maintained. 1) Functionality should be isolated in their own script file in system/js ("modules"). Each script expose an object, with public accessible API methods. It can be an static object or a module pattern function or a prototype function instance, whatever you see fit. 2) Each module should be kept as independent as possible. Try not to put unrelated code in a module. Try not to call other modules directly (since that create dependency) if the same...

System Tray App
Hi all, My users have a need for a System Tray Application, but my reading of google groups indicates that this can not be done in powerbuilder (the API needs call backs?). Is this still true? I am using PB 7.0 Thanks Frank Roy Kiesler has a demo app that shows how to do this. -- Terry Dykstra (TeamSybase) Please state PB / OS / DB versions in your post. MySybase http://my.sybase.com/mysybase Search Google: http://groups.google.com "Frank Russello" <frank@habasoft.com> wrote in message news:lQyT9U8GCHA.998@forums.sybase.com... > Hi all, > ...

Determining if an app is a web app or a windows app
Hi all,  I'm writing a generic utilites class and one of the methods needs to get the physical path of the application. I know Server.MapPath("~") gets the server path of the app for windows and also that Application.ExecutablePath gets the path for windows app. Now how would i determine which app is a windows app or a web app?   Thanks in advance. add a reference to system.web and then do the following  if (System.Web.HttpContext.Current == null)            {       &...

Web resources about - The merge of phone system app and tv system app - mozilla.dev.gaia

List of areas in the United States National Park System - Wikipedia, the free encyclopedia
The National Park System of the United States is the collection of physical properties owned or administered by the National Park Service . This ...

Astronomers question claim of super planet found at solar system’s edge
... Malin) Scientists and amateur astronomers have long been fascinated by the possibility of a "Planet X" at the edge of the solar system that ...

Microsoft wants to train you to use rival operating system, Linux
Microsoft used to hate the operating system that was its biggest threat, Linux. Now, as it's fond of saying, it loves Linux. It loves Linux ...

Can the K-1 fiancé visa system be made more secure?
Revelations that one of the San Bernardino shooters was radicalized before coming to U.S.

Wal-Mart launches own payment system
Wal-Mart is rolling out a new mobile payment solution that enables shoppers to check out via a quick three-step process.

AAA thinks that rear cross-traffic alert systems are more or less bunk
Many systems that the group tested failed to recognize objects that could cause a collision, including motorcycles and pedestrians.

Walmart to roll out its own mobile payment system
Walmart is rolling out in its stores its own smartphone-based payment system that uses QR technology rather than near-field communication, or ...

Walmart launches its own mobile payment system
Christian Science Monitor Walmart launches its own mobile payment system Christian Science Monitor Walmart Pay, which allows customers to ...

Latvian Oscar Entry ‘Modris’: How Troubled Youths Become Casualties Of A Flawed Justice System
Director Juris Kursietis knew he had to make his Latvian Oscar entry film Modris when he kept seeing the same stories in the news over and over ...

Revenues for meter data management systems and analytics expected to reach US$1.7 billion in 2024, says ...
... that rely on these data, including demand-side management and grid optimization, are driving the need for enhanced meter data management systems ...

Resources last updated: 12/11/2015 8:12:10 PM