Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

B2G and portable apps across mobile devices

22 views
Skip to first unread message

dbv

unread,
Feb 6, 2012, 5:07:32 PM2/6/12
to
I understand the motivation and goal of the B2G project but I'm not
clear if portable (web) apps can be built across the key mobile OSs -
iOS, Android and WP7. The test I use is the following: can the list
of installed apps on a device be read from an app. On Android this is
possible by calling the appropriate Java package manager function. On
iOS, Apple doesn't allow apps to access the system function to get the
list of installed apps. I don't have experience of WP7 to know if
this possible.

Would appreciate your feedback and thoughts.

David Rajchenbach-Teller

unread,
Feb 7, 2012, 3:10:34 AM2/7/12
to dbv, dev-pl...@lists.mozilla.org
I do not think that there is a WebAPI/DeviceAPI for this specific task.
What would you be trying to do?

Cheers,
David
> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform


--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla

signature.asc

Chris Jones

unread,
Feb 7, 2012, 5:16:05 AM2/7/12
to dbv, dev-pl...@lists.mozilla.org
Privileged web apps can read the list of "installed" web apps. This API needs a permission bit because it exposes sensitive user information. On b2g, this API will expose *all* installed applications.

We're not planning on exposing the list of installed "native" applications. It's not totally clear what an "installed native app" is across all platforms that Gecko supports.

As David asked, it would help to know what you're trying to do.

Cheers,
Chris

dbv

unread,
Feb 7, 2012, 2:02:52 PM2/7/12
to
Generally, I want a web app (given the users permission, if required)
to read file names from the device storage sub-systems. Specifically,
I want the web app to read the list of installed apps (native and web
apps) on iOS, Android and WP7.

A different example: say, we want to build a simple web app that
performs two-way file transfer between a mobile device and a host. On
the mobile device, the web app needs access to the file system to
display to the user so that they can select which file to transfer.

Another example: say, we want to build a web app that provides app
usage metrics (to the user) for both wen and native apps. The web app
needs access to each installed app to determine the last used date.

Hth.

David Rajchenbach-Teller

unread,
Feb 7, 2012, 2:43:44 PM2/7/12
to dbv, dev-pl...@lists.mozilla.org
On 2/7/12 8:02 PM, dbv wrote:
> Generally, I want a web app (given the users permission, if required)
> to read file names from the device storage sub-systems. Specifically,
> I want the web app to read the list of installed apps (native and web
> apps) on iOS, Android and WP7.

I do not think that this is going to be possible in the near future (iOS
does not support that, does it?)

> A different example: say, we want to build a simple web app that
> performs two-way file transfer between a mobile device and a host. On
> the mobile device, the web app needs access to the file system to
> display to the user so that they can select which file to transfer.

That should not be a problem.

> Another example: say, we want to build a web app that provides app
> usage metrics (to the user) for both wen and native apps. The web app
> needs access to each installed app to determine the last used date.

Same problem as above. If the OS does not support the feature, there are
few chances that the applications will.

Cheers,
David
signature.asc
0 new messages