Re: [b2g] Angular packaged apps

2013-08-19 Thread Julien Wajsberg
Le 16/08/2013 09:54, Paul Theriault a écrit :
 At campjs last weekend a bunch of people were making Firefox OS apps with 
 Angular. They were testing in the simulator which runs apps as packaged apps. 
 Because of this, they were getting errors related to the app: protocol, since 
 angular relies on changing the URL hash. E.g. links to #/tasklist/ get 
 rewritten to 
 unsafe:app://ec1543da-f13a-41e3-875d-2e2bb6683ac9/index.html#/tasklist/

 Any ideas why gecko doesn't like this ? App is built on jar - does # have a 
 special meaning in jar URLs or something like that? Either way, any 
 suggestions to avoid this ? 



We change the hash in some other packaged apps too (most notably the
Messages app) since the start. But AFAIK we don't use links  to do this,
and maybe that's the reason here.

This is maybe something we could fix (ie: links to the same app should
probably not be unsafe) but we need to take care ;) Or maybe it's
supposed to behave like this and we have a bug.

-- 
Julien



signature.asc
Description: OpenPGP digital signature
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] SerialPort communication?

2013-08-19 Thread jose llopis
How can i use my phone to communicate with an usb accesory?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Porting Firefox OS to the HTC One?

2013-08-19 Thread Marco Zehe
Hi all!

An FYI, and maybe someone is interested here as well, I posted a question on 
XDA Developrs whether it is feasible to port Firefox OS to the HTC One.
http://forum.xda-developers.com/showthread.php?t=2411754

I have such a device and would love to see Firefox OS on it, I just don't have 
the engineering knowledge to do that port myself. ;)

Marco

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Porting Firefox OS to the HTC One?

2013-08-19 Thread Alexandre Lissy
Le 19/08/2013 13:40, Marco Zehe a écrit :
 Hi all!
 
 An FYI, and maybe someone is interested here as well, I posted a question on 
 XDA Developrs whether it is feasible to port Firefox OS to the HTC One.
 http://forum.xda-developers.com/showthread.php?t=2411754
 
 I have such a device and would love to see Firefox OS on it, I just don't 
 have the engineering knowledge to do that port myself. ;)

We ran B2G on top of HTC One X for the fun the other day with Paul
Rouget, using fosmaker and an uptodate gecko and gaia.

It was a quick (30mins) hack, and the device was not running bad at all.
If you have time and want to invest some on getting getter Jelly Bean
4.3 support, that might be a very nice device to port to.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Bluetooth and gamepad API?

2013-08-19 Thread jose llopis
is there any way to use a bluetooth gamepad on firefox os?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Bluetooth and gamepad API?

2013-08-19 Thread Ryan Walmsley
Or even one via USB OTG? That would be great!

*Thanks -*
*
*
*Ryan Walmsley*
*
*
*Email: *ryant...@gmail.com
*Skype:* Ryanteck
Website:* Http://ryanteck.org.uk*



On 19 August 2013 12:52, jose llopis josellte...@yahoo.es wrote:

 is there any way to use a bluetooth gamepad on firefox os?
 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Porting Boot2Gecko more detailed guide?

2013-08-19 Thread Ryan Walmsley
Do you know the minimum android / cyanogen mod version the device has to
support and what arm Arch it has to?

*Thanks -*
*
*
*Ryan Walmsley*
*
*
*Email: *ryant...@gmail.com
*Skype:* Ryanteck
Website:* Http://ryanteck.org.uk*



On 18 August 2013 13:37, Ryan Walmsley ryant...@gmail.com wrote:

 I'l try flashing it to my Nexus 4 first and then look at porting. It seems
 like flashing to Nexus 4 Isn't as easy as Ubuntu Touch So i'm having some
 errors.

 *Thanks -*
 *
 *
 *Ryan Walmsley*
 *
 *
 *Email: *ryant...@gmail.com
 *Skype:* Ryanteck
 Website:* Http://ryanteck.org.uk*



 On 18 August 2013 13:17, Alexandre BM salexandre...@gmail.com wrote:

 Hi Ryan,
 I think you can use the CyanogenMod porting intro [1] It can help you to
 understand how to port. You will also need the Mozilla's doc

 [1] http://wiki.cyanogenmod.org/w/Doc:_porting_intro

 On 17/08/2013 14:45, Ryan Walmsley wrote:
  Hi,
 
  Is there a more detailed guide on how to port Boot2Gecko to android
 devices
  other than
 
 https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Porting?redirectlocale=en-USredirectslug=Firefox_OS%2FPorting
   ?
 
  I have 2 android devices sitting around that I wouldn't mind to port it
 to.
 
  Is there also a minimum android version required?
 
  (I use Linux day to day and have followed the instructions to install
  everything required already)
 
  *Thanks -*
  *
  *
  *Ryan Walmsley*
  *
  *
  *Email: *ryant...@gmail.com
  *Skype:* Ryanteck
  Website:* Http://ryanteck.org.uk*
  ___
  dev-b2g mailing list
  dev-b2g@lists.mozilla.org
  https://lists.mozilla.org/listinfo/dev-b2g

 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g



___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Porting Boot2Gecko more detailed guide?

2013-08-19 Thread Alexandre Lissy
Le 19/08/2013 16:12, Ryan Walmsley a écrit :
 Do you know the minimum android / cyanogen mod version the device has to
 support and what arm Arch it has to?

ARM v7, and you need ICS or CyanogenMod 9.1. Jelly Bean support is being
worked on, so you can try it if you are brave enough to bugreport/bugfix :)

 
 *Thanks -*
 *
 *
 *Ryan Walmsley*
 *
 *
 *Email: *ryant...@gmail.com
 *Skype:* Ryanteck
 Website:* Http://ryanteck.org.uk*
 
 
 
 On 18 August 2013 13:37, Ryan Walmsley ryant...@gmail.com wrote:
 
 I'l try flashing it to my Nexus 4 first and then look at porting. It seems
 like flashing to Nexus 4 Isn't as easy as Ubuntu Touch So i'm having some
 errors.

 *Thanks -*
 *
 *
 *Ryan Walmsley*
 *
 *
 *Email: *ryant...@gmail.com
 *Skype:* Ryanteck
 Website:* Http://ryanteck.org.uk*



 On 18 August 2013 13:17, Alexandre BM salexandre...@gmail.com wrote:

 Hi Ryan,
 I think you can use the CyanogenMod porting intro [1] It can help you to
 understand how to port. You will also need the Mozilla's doc

 [1] http://wiki.cyanogenmod.org/w/Doc:_porting_intro

 On 17/08/2013 14:45, Ryan Walmsley wrote:
 Hi,

 Is there a more detailed guide on how to port Boot2Gecko to android
 devices
 other than

 https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Porting?redirectlocale=en-USredirectslug=Firefox_OS%2FPorting
  ?

 I have 2 android devices sitting around that I wouldn't mind to port it
 to.

 Is there also a minimum android version required?

 (I use Linux day to day and have followed the instructions to install
 everything required already)

 *Thanks -*
 *
 *
 *Ryan Walmsley*
 *
 *
 *Email: *ryant...@gmail.com
 *Skype:* Ryanteck
 Website:* Http://ryanteck.org.uk*
 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g

 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g



 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g
 

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Porting Boot2Gecko more detailed guide?

2013-08-19 Thread Ryan Walmsley
Awh, the device I wanted to port to is ArmV6 and But is Cyanogen 9.1 or
even 10 I think.

*Thanks -*
*
*
*Ryan Walmsley*
*
*
*Email: *ryant...@gmail.com
*Skype:* Ryanteck
Website:* Http://ryanteck.org.uk*



On 19 August 2013 15:13, Alexandre Lissy ali...@mozilla.com wrote:

 Le 19/08/2013 16:12, Ryan Walmsley a écrit :
  Do you know the minimum android / cyanogen mod version the device has to
  support and what arm Arch it has to?

 ARM v7, and you need ICS or CyanogenMod 9.1. Jelly Bean support is being
 worked on, so you can try it if you are brave enough to bugreport/bugfix :)

 
  *Thanks -*
  *
  *
  *Ryan Walmsley*
  *
  *
  *Email: *ryant...@gmail.com
  *Skype:* Ryanteck
  Website:* Http://ryanteck.org.uk*
 
 
 
  On 18 August 2013 13:37, Ryan Walmsley ryant...@gmail.com wrote:
 
  I'l try flashing it to my Nexus 4 first and then look at porting. It
 seems
  like flashing to Nexus 4 Isn't as easy as Ubuntu Touch So i'm having
 some
  errors.
 
  *Thanks -*
  *
  *
  *Ryan Walmsley*
  *
  *
  *Email: *ryant...@gmail.com
  *Skype:* Ryanteck
  Website:* Http://ryanteck.org.uk*
 
 
 
  On 18 August 2013 13:17, Alexandre BM salexandre...@gmail.com wrote:
 
  Hi Ryan,
  I think you can use the CyanogenMod porting intro [1] It can help you
 to
  understand how to port. You will also need the Mozilla's doc
 
  [1] http://wiki.cyanogenmod.org/w/Doc:_porting_intro
 
  On 17/08/2013 14:45, Ryan Walmsley wrote:
  Hi,
 
  Is there a more detailed guide on how to port Boot2Gecko to android
  devices
  other than
 
 
 https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Porting?redirectlocale=en-USredirectslug=Firefox_OS%2FPorting
   ?
 
  I have 2 android devices sitting around that I wouldn't mind to port
 it
  to.
 
  Is there also a minimum android version required?
 
  (I use Linux day to day and have followed the instructions to install
  everything required already)
 
  *Thanks -*
  *
  *
  *Ryan Walmsley*
  *
  *
  *Email: *ryant...@gmail.com
  *Skype:* Ryanteck
  Website:* Http://ryanteck.org.uk*
  ___
  dev-b2g mailing list
  dev-b2g@lists.mozilla.org
  https://lists.mozilla.org/listinfo/dev-b2g
 
  ___
  dev-b2g mailing list
  dev-b2g@lists.mozilla.org
  https://lists.mozilla.org/listinfo/dev-b2g
 
 
 
  ___
  dev-b2g mailing list
  dev-b2g@lists.mozilla.org
  https://lists.mozilla.org/listinfo/dev-b2g
 

 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] SerialPort communication?

2013-08-19 Thread Marco Chen
Hi Jose,

There is a Bug 674718 - (webusb) WebUSB for what you want, but it is pending 
now.

Hi all,

I saw some discussion on the development for userspace.
May I know whether we need a generic USB driver with generic Mozilla protocol 
for communicating between web app and external USB device?

Thanks,
Sincerely yours.

- 原始郵件 -
寄件者: jose llopis josellte...@yahoo.es
收件者: Mozilla dev-b2g@lists.mozilla.org
寄件備份: 2013 8 月 19 星期一 下午 7:34:23
主旨: [b2g] SerialPort communication?

How can i use my phone to communicate with an usb accesory?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Bluetooth and gamepad API?

2013-08-19 Thread Marco Chen
Hi,

If you mean HID profile of Bluetooth, please refer to Bug 880759 - 
[Bluetooth][meta] Implement HID profile feature.
And it is still on going.

Sincerely yours.

- 原始郵件 -
寄件者: jose llopis josellte...@yahoo.es
收件者: Mozilla dev-b2g@lists.mozilla.org
寄件備份: 2013 8 月 19 星期一 下午 7:52:35
主旨: [b2g] Bluetooth and gamepad API?

is there any way to use a bluetooth gamepad on firefox os?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] SerialPort communication?

2013-08-19 Thread Fabrice Desre
Hi Marco,

On 08/19/2013 07:54 AM, Marco Chen wrote:
 Hi Jose,
 
 There is a Bug 674718 - (webusb) WebUSB for what you want, but it is 
 pending now.
 
 Hi all,
 
 I saw some discussion on the development for userspace.
 May I know whether we need a generic USB driver with generic Mozilla protocol 
 for communicating between web app and external USB device?

I think we need a way to let profiles be implemented in content JS, if
this is what you mean or is this covered by bug 674718 ?

Fabrice
-- 
Fabrice Desré
b2g team
Mozilla Corporation
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Grey icon set.

2013-08-19 Thread A. Crespo
Hi there,

I saw that currently exists is an icon set:
http://buildingfirefoxos.com/downloads/

But I noticed that they are only white buttons, how could I get grey
buttons like this one?

http://i.imgur.com/WqRkytG.png

Thanks!
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Firefox OS Weekly Meeting Schedule

2013-08-19 Thread Dietrich Ayala
~~~ Announcements ~~~

* 1.1: Not approving nominations for anything but critical issues as listed at 
https://etherpad.mozilla.org/b2g-triage-exceptions.

* 1.2: Feature development in progress. Teams, features and more at 
https://wiki.mozilla.org/FirefoxOS/SprintStatus.

~~~ Meetings ~~~

Schedule home: https://wiki.mozilla.org/B2G#Meetings

Gaia Meeting
* Time: Tuesdays 0900 PT / 1800 CET /  CST
* Notes: https://etherpad.mozilla.org/gaia-meeting-notes

Coordination Meeting
* Time: Tuesdays 1700 PT / 0200 CET / 0800 CST
* Notes: https://etherpad.mozilla.org/b2g-meeting-notes

Functional Team Meetings
* Listed per team at https://wiki.mozilla.org/FirefoxOS/SprintStatus

Triage
* Mon/Weds/Fri at 08:00 PT (US + EU)
* Tues/Thurs at 16:00 PT (US + Kor)
* Mon/Weds/Fri at 16:00 CST (TW + Kor + EU)
* Queries: https://wiki.mozilla.org/B2G/Triage
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] SerialPort communication?

2013-08-19 Thread Kyle Machulis
Profiles are bluetooth, not USB. While there are device classes in USB (HID, 
USB Audio, storage, etc), it's still different than BT profiles.

WebUSB did have some initial implementation in summer of 2011, but that's all 
seriously bitrotted now and was aimed for desktop. For generic USB on FxOS, 
we'd need a OOP'd DOM API, then a layer to hook it up to Android's libusbhost 
library (which looks like libusb but not quite). This is by no means trivial 
work, since we'd need to figure out exactly what parts of USB we wanted to 
support (Just simple interrupt/bulk? Full isochronous support to write frames 
to a canvas? Supporting some device classes across the whole system?), security 
would be a nightmare, etc. Not saying it can't be done, it's just a long way 
off.

- Original Message -
 From: Fabrice Desre fabr...@mozilla.com
 To: Marco Chen mc...@mozilla.com
 Cc: jose llopis josellte...@yahoo.es, Mozilla 
 dev-b2g@lists.mozilla.org
 Sent: Monday, August 19, 2013 8:38:01 AM
 Subject: Re: [b2g] SerialPort communication?
 
 Hi Marco,
 
 On 08/19/2013 07:54 AM, Marco Chen wrote:
  Hi Jose,
  
  There is a Bug 674718 - (webusb) WebUSB for what you want, but it is
  pending now.
  
  Hi all,
  
  I saw some discussion on the development for userspace.
  May I know whether we need a generic USB driver with generic Mozilla
  protocol for communicating between web app and external USB device?
 
 I think we need a way to let profiles be implemented in content JS, if
 this is what you mean or is this covered by bug 674718 ?
 
   Fabrice
 --
 Fabrice Desré
 b2g team
 Mozilla Corporation
 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g
 
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] B2G, Stability, and Cancellations (was Re: Firefox OS Weekly Meeting Schedule)

2013-08-19 Thread Alex Keybl
Sorry for the late notice all, but a couple of tweaks to the below.

Due to conflicting B2G events, the following are _cancelled_ this week:

 Coordination Meeting
 * Time: Tuesdays 1700 PT / 0200 CET / 0800 CST
 * Notes: https://etherpad.mozilla.org/b2g-meeting-notes


 Triage
 * Tues/Thurs at 16:00 PT (US + Kor)

So, to repeat, no B2G coordination meeting on Tuesday evening PT, and no triage 
on Tuesday/Thursday afternoon PT.

Instead of triage on Tuesday, please consider joining in B2G stability sessions 
from 1PM to 6 PM PT in the Stability vidyo room:

Etherpad for ALL Meeting Notes: 
https://etherpad.mozilla.org/StabilityWeek2013-Notes
Schedule (see ics link bottom 
too):https://mail.mozilla.com/home/ake...@mozilla.com/Stability%20Workweek%202013.html
Session Descriptions: https://etherpad.mozilla.org/StabilityWeek2013-Sessions
Backchannel: #crashkill

-Alex

On Aug 19, 2013, at 9:06 AM, Dietrich Ayala dietr...@mozilla.com wrote:

 ~~~ Announcements ~~~
 
 * 1.1: Not approving nominations for anything but critical issues as listed 
 at https://etherpad.mozilla.org/b2g-triage-exceptions.
 
 * 1.2: Feature development in progress. Teams, features and more at 
 https://wiki.mozilla.org/FirefoxOS/SprintStatus.
 
 ~~~ Meetings ~~~
 
 Schedule home: https://wiki.mozilla.org/B2G#Meetings
 
 Gaia Meeting
 * Time: Tuesdays 0900 PT / 1800 CET /  CST
 * Notes: https://etherpad.mozilla.org/gaia-meeting-notes
 
 Coordination Meeting
 * Time: Tuesdays 1700 PT / 0200 CET / 0800 CST
 * Notes: https://etherpad.mozilla.org/b2g-meeting-notes
 
 Functional Team Meetings
 * Listed per team at https://wiki.mozilla.org/FirefoxOS/SprintStatus
 
 Triage
 * Mon/Weds/Fri at 08:00 PT (US + EU)
 * Tues/Thurs at 16:00 PT (US + Kor)
 * Mon/Weds/Fri at 16:00 CST (TW + Kor + EU)
 * Queries: https://wiki.mozilla.org/B2G/Triage
 ___
 dev-gaia mailing list
 dev-g...@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-gaia

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Bluetooth and gamepad API?

2013-08-19 Thread Kyle Machulis
Other relevant bugs:

Bug 852944 - Add content process support to Gamepad backend
Bug 852945 - Gonk gamepad backend

I've got both assigned to me at the moment, as well as the gamepad haptics 
bugs. Would love to take a look at them soon, but that hasn't happened yet. If 
someone has cycles and wants to help out, lemme know.

I think the big question for usb is the current HID manager support in our 
android kernel. If that exists, we don't need the bluetooth hid layer to be 
done before implementing this. We could just put code in HAL that uses the hid 
manager (similar to what we do with the desktop platforms for joysticks). I'll 
poke around in the 4.3 build and see what the state of that is.

- Original Message -
 From: Marco Chen mc...@mozilla.com
 To: jose llopis josellte...@yahoo.es
 Cc: Mozilla dev-b2g@lists.mozilla.org
 Sent: Monday, August 19, 2013 7:56:06 AM
 Subject: Re: [b2g] Bluetooth and gamepad API?
 
 Hi,
 
 If you mean HID profile of Bluetooth, please refer to Bug 880759 -
 [Bluetooth][meta] Implement HID profile feature.
 And it is still on going.
 
 Sincerely yours.
 
 - 原始郵件 -
 寄件者: jose llopis josellte...@yahoo.es
 收件者: Mozilla dev-b2g@lists.mozilla.org
 寄件備份: 2013 8 月 19 星期一 下午 7:52:35
 主旨: [b2g] Bluetooth and gamepad API?
 
 is there any way to use a bluetooth gamepad on firefox os?
 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g
 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g
 
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Fwd: Firefox OS Geolocation Maps

2013-08-19 Thread laubarnes
I have also been developing an app that requires the GPS location. Whilst 
testing in the simulator, everything is working fine. However, when it comes to 
running the app on the geekphone, the geolocation just fails. After some 
research, I also discovered it was the phone itself. 

So you are not alone.

I will investigate the tool that Doug has developed for help with testing. 

Thanks. 

On Thursday, August 15, 2013 12:09:16 AM UTC+2, Andreas Gal wrote:
 Hi Zsolt. There is a known problem with the GP devices when it comes to 
 
 geolocation. Doug has developed a tool for developers that can fake a 
 
 location and is useful for testing. To get an actual GPS fix you have to 
 
 make sure the device can scan the sky for quite a while (up to an hour 
 
 or so). The AGPS (assisted GPS) functionality seems to be configured 
 
 incorrectly in the device modem, so the GPS receiver has to download 
 
 satellite data directly from GPS and is unable to get it quickly from 
 
 the network.
 
 
 
 I hope this helps.
 
 
 
 Andreas
 
 
 
 Zsolt Réczi wrote:
 
  I founded something strange. My Geeksphone Keon can't get geolocation. Does
 
  anybody know why?
 
 
 
  -- Forwarded message --
 
  From: Simon BLUMsimon51...@gmail.com
 
  Date: 2013/8/14
 
  Subject: Re: [b2g] Firefox OS Geolocation Maps
 
  To: dev-b2g@lists.mozilla.org
 
 
 
 
 
  Hi Zsolt,
 
 
 
  I developped RunRunRun (a runkeeper like for FirefoxOS and it uses
 
  Geolocation) , I think I can help you.
 
  My source code is available there : https://github.com/guizmo51/**
 
  Run-Run-Runhttps://github.com/guizmo51/Run-Run-Run
 
 
 
  I don't understand what's wrong. Can you explain ? What's the relation
 
  between Geolocation and your map ? Do you have log ?
 
 
 
  Simon
 
 
 
  Le 14/08/13 15:18, Zsolt Réczi a écrit :
 
 
 
  Hello,
 
 
 
  I need a help in Geolocation. I'm trying to make a Map app for Firefox OS
 
  which request the users location. In Simulator it is running very nice, but
 
  when i start it on a real device the map isn't loading. What can be the
 
  problem?
 
 
 
  Zsolt Reczi
 
  __**_
 
  dev-b2g mailing list
 
  dev-b2g@lists.mozilla.org
 
  https://lists.mozilla.org/**listinfo/dev-b2ghttps://lists.mozilla.org/listinfo/dev-b2g
 
 
 
 
 
  __**_
 
  dev-b2g mailing list
 
  dev-b2g@lists.mozilla.org
 
  https://lists.mozilla.org/**listinfo/dev-b2ghttps://lists.mozilla.org/listinfo/dev-b2g
 
  ___
 
  dev-b2g mailing list
 
  dev-b2g@lists.mozilla.org
 
  https://lists.mozilla.org/listinfo/dev-b2g

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] SerialPort communication?

2013-08-19 Thread Fabrice Desre
On 08/19/2013 11:50 AM, Kyle Machulis wrote:
 Profiles are bluetooth, not USB. While there are device classes in USB (HID, 
 USB Audio, storage, etc), it's still different than BT profiles.

Ha right, I was thinking about bluetooth profiles. Just ignore me ;)

Fabrice

-- 
Fabrice Desré
b2g team
Mozilla Corporation
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Cancelled: Joint B2G Triage

2013-08-19 Thread Alexander Keybl
A single instance of the following meeting has been cancelled:

Subject: Joint B2G Triage 
Organizer: Alexander Keybl ake...@mozilla.com 

Location: B2G Vidyo Room 
Time: Tuesday, August 20, 2013, 4:00:00 PM - 5:00:00 PM GMT -08:00 US/Canada 
Pacific
 
Invitees: ladam...@mozilla.com; do...@mozilla.com; aoverh...@mozilla.com; 
fras...@mozilla.com; pdolanj...@mozilla.com; praghun...@mozilla.com; 
tch...@mozilla.com; msrecko...@mozilla.com; dscravagli...@mozilla.com; 
jsm...@mozilla.com; dietr...@mozilla.com ... 


*~*~*~*~*~*~*~*~*~*

Queries can be found here: 
https://wiki.mozilla.org/B2G/Triage#Joint_Triage_Queries 

This is a time that's better for some of our partners. It's in addition to 
M/W/F. 
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Security Reviews for 1.2

2013-08-19 Thread Kevin Hu
Awesome! 

Yes, NFC work week will be in Mountain View next week. Will send another mail 
to you. 
Thanks, Paul!! 


Best regards, 
Kevin Hu

On Aug 18, 2013, at 6:51 PM, Paul Theriault wrote:

 Ah yes, that should be there too. There is already an open review bug for 
 this (749325) - I am really just waiting on implementation details to get 
 started on this. I believe there is a work week coming up which I am planning 
 to participate in remotely to conduct this review.
 
 Thanks,
 Paul
 
 
 On Aug 19, 2013, at 2:45 AM, Kevin Hu wrote:
 
 Hi, Paul, 
 
 Thank you very much for your information. 
 How about NFC? We plan to implement the framework of NFC in v1.2. Will it be 
 included as well? 
 
 Thank you. 
 
 
 Best regards, 
 Kevin Hu
 
 On Aug 14, 2013, at 2:29 PM, Paul Theriault wrote:
 
 All, 
 
 This spreadsheet lists the security reviews that the security assurance 
 team is planning to complete  for 1.2 (aiming for end of sept, pending 
 completion of features): 
 https://docs.google.com/a/mozilla.com/spreadsheet/ccc?key=0Ap-jgPe0UrMhdHNaNUFrQS00Q09FbUFZUmQ5eThpOFE#gid=0
 
 Please have a quick skim, and let me know if there is anything missing that 
 needs our review. Likewise, please escalate anything that needs urgent 
 attention to me.
 
 As always, Mozilla security reviews are public, and anyone is welcome to 
 participate. Feel free to get in touch to find out ways to help.
 
 - Paul 
 
 Paul Theriault
 Security Assurance, Firefox 
 OS___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g
 
 

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] proxy settings in FirefoxOS

2013-08-19 Thread Hallvord Steen
Hello,
I'm working on debugging how web pages work (or not) in the FirefoxOS web 
browser (I have a Keon running Boot2Gecko 1.0.1.0-prerelease - build id 
20130613185731 device for this purpose). I've been trying to figure out how to 
set up a HTTP proxy for debugging. Basically, I want to have Fiddler or Charles 
proxy running on a computer on the same WiFi network, and give the web browser 
on the phone that computer's local IP address as proxy server. The proxy 
setting can be specified per-WiFi or globally for HTTP(S) traffic. It should be 
possible per this documentation:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Security/Intercepting_traffic_using_a_proxy

There are two JS files with prefs - one in the web browser's profile folder 
(prefs.js) and one in the /system/b2g tree (user.js). I've tried to modify 
either of them to add prefs like these: 

user_pref(network.proxy.http, 192.168.1.8);
user_pref(network.proxy.http_port, );
user_pref(network.proxy.type, 1);

I've restarted the OS after pushing the modified files to the relevant folders. 
However, the settings seem to have no effect. 

Actually, debugging HTTP traffic and studying application behaviour from the 
HTTP perspective seems like a very important requirement for both app and site 
developers, so I'd expect a setting somewhere in the developer UI. There is 
indeed a setting under Cellular and data  Data settings but it seems to be 
for data traffic over a mobile network specifically, not for WiFi, and setting 
it has no effect either. Same with the ril.data.httpProxyHost setting (which 
may be what the UI under Cellular and data is about).

Two questions:
1) Are those settings supposed to work, or are proxy capabilities removed by 
design?

2) Is it a known issue that such functionality should exist and work - any bugs 
reported? If not, and if I'd like to push for getting this working (with 
settings in the UI), where should I report a bug?

Thanks in advance,
Hallvord 
Site compatibility tester, FirefoxOS/Firefox Android QA
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] proxy settings in FirefoxOS

2013-08-19 Thread Dave Hylands
Hi Hallvord,

So I did an mxr search for network.proxy.http and it seems that B2G might be 
manipulationg/clearing the pref:
https://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/NetworkManager.js#691

I believe that the proxy stuff is being used by B2G to support tethering, so 
you may need to modify NetworkManager.js to get things working the way you want.

Dave Hylands

- Original Message -
 From: Hallvord Steen hst...@mozilla.com
 To: dev-b2g@lists.mozilla.org
 Sent: Monday, August 19, 2013 2:50:27 PM
 Subject: [b2g] proxy settings in FirefoxOS
 
 Hello,
 I'm working on debugging how web pages work (or not) in the FirefoxOS web
 browser (I have a Keon running Boot2Gecko 1.0.1.0-prerelease - build id
 20130613185731 device for this purpose). I've been trying to figure out how
 to set up a HTTP proxy for debugging. Basically, I want to have Fiddler or
 Charles proxy running on a computer on the same WiFi network, and give the
 web browser on the phone that computer's local IP address as proxy server.
 The proxy setting can be specified per-WiFi or globally for HTTP(S) traffic.
 It should be possible per this documentation:
 https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Security/Intercepting_traffic_using_a_proxy
 
 There are two JS files with prefs - one in the web browser's profile folder
 (prefs.js) and one in the /system/b2g tree (user.js). I've tried to modify
 either of them to add prefs like these:
 
 user_pref(network.proxy.http, 192.168.1.8);
 user_pref(network.proxy.http_port, );
 user_pref(network.proxy.type, 1);
 
 I've restarted the OS after pushing the modified files to the relevant
 folders. However, the settings seem to have no effect.
 
 Actually, debugging HTTP traffic and studying application behaviour from the
 HTTP perspective seems like a very important requirement for both app and
 site developers, so I'd expect a setting somewhere in the developer UI.
 There is indeed a setting under Cellular and data  Data settings but it
 seems to be for data traffic over a mobile network specifically, not for
 WiFi, and setting it has no effect either. Same with the
 ril.data.httpProxyHost setting (which may be what the UI under Cellular and
 data is about).
 
 Two questions:
 1) Are those settings supposed to work, or are proxy capabilities removed by
 design?
 
 2) Is it a known issue that such functionality should exist and work - any
 bugs reported? If not, and if I'd like to push for getting this working
 (with settings in the UI), where should I report a bug?
 
 Thanks in advance,
 Hallvord
 Site compatibility tester, FirefoxOS/Firefox Android QA
 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g
 
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] proxy settings in FirefoxOS

2013-08-19 Thread Fabrice Desre
On 08/19/2013 02:50 PM, Hallvord Steen wrote:
 Hello,
 I'm working on debugging how web pages work (or not) in the FirefoxOS web 
 browser (I have a Keon running Boot2Gecko 1.0.1.0-prerelease - build id 
 20130613185731 device for this purpose). I've been trying to figure out how 
 to set up a HTTP proxy for debugging. Basically, I want to have Fiddler or 
 Charles proxy running on a computer on the same WiFi network, and give the 
 web browser on the phone that computer's local IP address as proxy server. 
 The proxy setting can be specified per-WiFi or globally for HTTP(S) traffic. 
 It should be possible per this documentation:
 https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Security/Intercepting_traffic_using_a_proxy
 
 There are two JS files with prefs - one in the web browser's profile folder 
 (prefs.js) and one in the /system/b2g tree (user.js). I've tried to modify 
 either of them to add prefs like these: 
 
 user_pref(network.proxy.http, 192.168.1.8);
 user_pref(network.proxy.http_port, );
 user_pref(network.proxy.type, 1);
 
 I've restarted the OS after pushing the modified files to the relevant 
 folders. However, the settings seem to have no effect. 

Your snippet should work if you add that to the profile user.js file
(*not* in the prefs.js file). You probably also need to set
network.proxy.ssl and network.proxy.ssl_port

 Actually, debugging HTTP traffic and studying application behaviour from the 
 HTTP perspective seems like a very important requirement for both app and 
 site developers, so I'd expect a setting somewhere in the developer UI. There 
 is indeed a setting under Cellular and data  Data settings but it seems to 
 be for data traffic over a mobile network specifically, not for WiFi, and 
 setting it has no effect either. Same with the ril.data.httpProxyHost setting 
 (which may be what the UI under Cellular and data is about).
 
 Two questions:
 1) Are those settings supposed to work, or are proxy capabilities removed by 
 design?

No proxy capability has been removed.

 2) Is it a known issue that such functionality should exist and work - any 
 bugs reported? If not, and if I'd like to push for getting this working (with 
 settings in the UI), where should I report a bug?

I doubt that we want to expose a UI for that. If you want to file a bug,
use the Boot2Gecko::Gaia component in bugzilla.

Fabrice
-- 
Fabrice Desré
b2g team
Mozilla Corporation
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Mozilla RIL 08/19/2013 Unagi 1.2 Smoke Test Results - 28/47 tests passed, 7 existing blockers

2013-08-19 Thread Marcia Knous
28 out of 47 tests passed for the 2013-08-19 Unagi v1.2.0 Mozilla RIL 
Build. Here are the major issues that prevented the smoketests from passing.


Mozilla RIL Build Smoketest Results:
Daily Smoke Test Logs: 
https://docs.google.com/a/qanalydocs.com/spreadsheet/ccc?key=0AjRc6aVFoOW9dGZLdVdiWGZLbVdORlFpUGt5XzZ3Znc

Moztrap link: https://moztrap.mozilla.org/runtests/run/1998/env/305/

Tests Were Performed With:
Builds ID: 20130819040203
Gecko: c8c9bd74cc40
Gaia: f6de05c135913f2cb790759335875bb1b3c4f9bb
1 reboots
3 crashes

Build Updated From:
- No OTA performed.

New Bugs Breaking the Build Smoketests:
- None reported.

Existing Bugs Breaking the Build Smoketests:
- [Existing] [Homescreen] Entering edit mode/ moving an app icon 
causes device to crash https://bugzilla.mozilla.org/show_bug.cgi?id=903969
- [Existing] [B2G][Unagi][Browser] Browser shakes while scrolling down 
https://bugzilla.mozilla.org/show_bug.cgi?id=903498
- [Existing] [B2G][Dialer][SMS][v1.2]Device stuck in airplane mode 
by default after flash https://bugzilla.mozilla.org/show_bug.cgi?id=891444
- [Existing] Camera viewfinder is corrupted mostly green, with 
random noise https://bugzilla.mozilla.org/show_bug.cgi?id=880780
- [Existing] [B2G][Unagi][v1.2][Gallery][Contacts][Email] Gallery 
app crash if user tries to add picture to contact or as an attachment 
to email. https://bugzilla.mozilla.org/show_bug.cgi?id=901705
- [Existing] [B2G][Unagi][1.2][Everything.me] There is no 
Favorite Button available in Everything.me. 
https://bugzilla.mozilla.org/show_bug.cgi?id=905447
- [Existing] [unagi] crash on abort 
in mozilla::layers::PGrallocBuffer::Transition 
https://bugzilla.mozilla.org/show_bug.cgi?id=902878


New Issues Not Breaking the Build Smoketests:
- None reported.

Sincerely,


Mozilla QA Team
--
Call me on my B2G phone: 650-450-0173.

___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] SerialPort communication?

2013-08-19 Thread Marco Chen
Hi Kyle,

What I image about WebUSB is just there is a way for communicating between 
external device and Web Apps.
So there will be 

  1. a generic USB driver for exposing USB dev node to userspace.
  2. a Gecko component / Web API to provide a way for connecting Web Apps  USB 
dev node.
  3. a communicating protocol through exposed dev node.

Then the data flow will just be happened between external device and Web Apps 
and what function will be provided by Web Apps is through standard Web API too.
Based on this model, may I know what security issue needed to be considered.

Ex: A USB camera can be connected to Fx OS device and a corresponding Web Apps 
can act as a camera app by WebUSB and other Web APIs (media stream, canvas, 
image and others).

--

About the libusb and libusbhost you mentioned is about whether FxOS device acts 
as a USB Host or Client mode.
And it is related to the power source and enumeration control, I think it is 
not directly related to WebUSB.

Thanks,
Sincerely yours. 


- 原始郵件 -
寄件者: Kyle Machulis kmachu...@mozilla.com
收件者: Fabrice Desre fabr...@mozilla.com
副本: Marco Chen mc...@mozilla.com, jose llopis josellte...@yahoo.es, 
Mozilla dev-b2g@lists.mozilla.org
寄件備份: 2013 8 月 20 星期二 上午 2:50:05
主旨: Re: [b2g] SerialPort communication?

Profiles are bluetooth, not USB. While there are device classes in USB (HID, 
USB Audio, storage, etc), it's still different than BT profiles.

WebUSB did have some initial implementation in summer of 2011, but that's all 
seriously bitrotted now and was aimed for desktop. For generic USB on FxOS, 
we'd need a OOP'd DOM API, then a layer to hook it up to Android's libusbhost 
library (which looks like libusb but not quite). This is by no means trivial 
work, since we'd need to figure out exactly what parts of USB we wanted to 
support (Just simple interrupt/bulk? Full isochronous support to write frames 
to a canvas? Supporting some device classes across the whole system?), security 
would be a nightmare, etc. Not saying it can't be done, it's just a long way 
off.

- Original Message -
 From: Fabrice Desre fabr...@mozilla.com
 To: Marco Chen mc...@mozilla.com
 Cc: jose llopis josellte...@yahoo.es, Mozilla 
 dev-b2g@lists.mozilla.org
 Sent: Monday, August 19, 2013 8:38:01 AM
 Subject: Re: [b2g] SerialPort communication?
 
 Hi Marco,
 
 On 08/19/2013 07:54 AM, Marco Chen wrote:
  Hi Jose,
  
  There is a Bug 674718 - (webusb) WebUSB for what you want, but it is
  pending now.
  
  Hi all,
  
  I saw some discussion on the development for userspace.
  May I know whether we need a generic USB driver with generic Mozilla
  protocol for communicating between web app and external USB device?
 
 I think we need a way to let profiles be implemented in content JS, if
 this is what you mean or is this covered by bug 674718 ?
 
   Fabrice
 --
 Fabrice Desré
 b2g team
 Mozilla Corporation
 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g
 
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] 08/19/2013 Unagi/v1.2 Moz RIL Automation smoketest report (75/88 tests passed)

2013-08-19 Thread Stephen Donner
And, to give another update, I've filed
https://bugzilla.mozilla.org/show_bug.cgi?id=906933 - Failing to
connect/reconnect to cell data for the cell-data issue I mentioned.

Cheers,

- Stephen


On Mon, Aug 19, 2013 at 12:51 PM, Stephen Donner sdon...@mozilla.comwrote:

 Sorry, should've also mentioned -- we xfailed our Wi-Fi tests due to
 https://bugzilla.mozilla.org/show_bug.cgi?id=906595 - [Wifi] Can't
 re-enable Wifi on devices doesn't unload driver on wifi disabling.

 This was fallout from https://bugzilla.mozilla.org/show_bug.cgi?id=900855- 
 [Buri][WIFI]It
 is abnormal when turn on WIFI

 Thanks,

 - Stephen
 --
 *From: *Stephen Donner sdon...@mozilla.com
 *To: *dev-g...@lists.mozilla.org, dev-b2g@lists.mozilla.org,
 qa-...@mozilla.org
 *Sent: *Monday, August 19, 2013 12:48:25 PM
 *Subject: *08/19/2013 Unagi/v1.2 Moz RIL Automation smoketest report
 (75/88 tests passed)


 Hey all -

 Apologies for the tardiness -- still getting up-to-speed with this report
 (and had to do another run).

 (We're investigating and working through connect-to-Wi-Fi and
 connect-to-cell instability -- unsure yet the cause(s).)

 Results: 75 out of 88 tests passed.


 http://qa-selenium.mv.mozilla.com:8080/view/B2G%20Unagi/job/b2g.unagi.mozril.gaia.master.ui/65/HTML_Report/?

 Build under test:

 Gecko:  http://hg.mozilla.org/mozilla-central/rev/c8c9bd74cc40
 Gaia:
 https://github.com/mozilla-b2g/gaia/commit/f6de05c135913f2cb790759335875bb1b3c4f9bb

 Cheers,

 - Stephen


 ___
 Qa-b2g mailing list
 qa-...@mozilla.org
 https://mail.mozilla.org/listinfo/qa-b2g


___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g