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

How do I connect WedIDE to my PiFxOS?

36 views
Skip to first unread message

Martyn Eggleton

unread,
Oct 29, 2014, 6:06:25 PM10/29/14
to mozilla-dev-...@lists.mozilla.org
In order to have a go at app hacking on the PiFxOS I assumed I would be connecting WebIDE to a Remote Runtime.

I followed these instructions https://wiki.mozilla.org/Hacking_b2g_on_Raspberry_Pi#Preparing_a_development_environment and I got adb to connect OK.

How do I setup WebIDE to connect? do I use some kind of local connection because adb is already running? or do i stop the adb and use a Remote Runtime $IP:5555 (obviously changing $IP to the IP of the Pi).

Chris Jones

unread,
Nov 4, 2014, 2:20:12 PM11/4/14
to Martyn Eggleton, mozilla-dev-...@lists.mozilla.org
Hi Martyn,

I'm afraid I don't know which "WebIDE" you're referring to. Can you post a
link?

You should be able to connect the Firefox dev tools that are intended to be
used with Firefox OS to your Raspberry Pi, once you've made the adb
connection.

Cheers,
Chris

On Wed, Oct 29, 2014 at 5:06 PM, Martyn Eggleton <martyn....@gmail.com>
wrote:
> _______________________________________________
> dev-raspberry-pi mailing list
> dev-rasp...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-raspberry-pi
>

Martyn Eggleton

unread,
Nov 4, 2014, 2:22:06 PM11/4/14
to Chris Jones, mozilla-dev-...@lists.mozilla.org
https://developer.mozilla.org/en-US/docs/Tools/WebIDE

Its the new Firefox OS simulation and device management / coding
environment.
--
Regards,
Martyn
---------------------------------------------
https://twitter.com/#!/stretchyboy

Kaiden Prince

unread,
Nov 4, 2014, 2:37:32 PM11/4/14
to Chris Jones, Martyn Eggleton, mozilla-dev-...@lists.mozilla.org
Is it adafruit's webIDE?


Sent from my ONE TOUCH IDOL MINI

Martyn Eggleton

unread,
Nov 4, 2014, 3:26:53 PM11/4/14
to Kaiden Prince, Chris Jones, mozilla-dev-...@lists.mozilla.org
Nope, it Mozilla's new IDE which replaces App Manager and is built into the
Firefox 33+

https://developer.mozilla.org/en-US/docs/Tools/WebIDE

Martyn Eggleton

unread,
Nov 5, 2014, 11:39:58 PM11/5/14
to mozilla-dev-...@lists.mozilla.org
Alternative version of question .... Can PiFxOS be managed by "App Manager"?

Chris Jones

unread,
Nov 7, 2014, 12:38:29 AM11/7/14
to Martyn Eggleton, mozilla-dev-...@lists.mozilla.org
Hi,

The difficulty is that the Raspberry Pi must connect to adb over tcp, but
WebIDE is built to assume a connection over USB. You can get WebIDE
working by first following the instructions here to connect adb to your RPi

https://wiki.mozilla.org/Hacking_b2g_on_Raspberry_Pi#Preparing_a_development_environment

Next, ensure that your RPi is configured to allow "ADB and Devtools" to
debug over USB

https://developer.mozilla.org/en-US/docs/Tools/WebIDE#Connecting_a_Firefox_OS_device

Next you have to forward a local port to the debugger socket on the RPi.
Run a command like the following

$ adb forward tcp:7788 localfilesystem:/data/local/debugger-socket

(The port "7788" is arbitrary, you can select any unused port.)

*Note*: this connection attempt will raise a prompt on your RPi. Make sure
you click "OK" to allow the connection attempt, or else it can time out.

After all that, WebIDE should be connected to your RPi and functional.

Cheers,
Chris

On Tue, Nov 4, 2014 at 11:21 AM, Martyn Eggleton <martyn....@gmail.com>
wrote:

> https://developer.mozilla.org/en-US/docs/Tools/WebIDE
>
> Its the new Firefox OS simulation and device management / coding
> environment.
>
> On 4 November 2014 19:20, Chris Jones <jones....@gmail.com> wrote:
>
>> Hi Martyn,
>>
>> I'm afraid I don't know which "WebIDE" you're referring to. Can you post
>> a link?
>>
>> You should be able to connect the Firefox dev tools that are intended to
>> be used with Firefox OS to your Raspberry Pi, once you've made the adb
>> connection.
>>
>> Cheers,
>> Chris
>>
>> On Wed, Oct 29, 2014 at 5:06 PM, Martyn Eggleton <
>> martyn....@gmail.com> wrote:
>>
>>> In order to have a go at app hacking on the PiFxOS I assumed I would be
>>> connecting WebIDE to a Remote Runtime.
>>>
>>> I followed these instructions
>>> https://wiki.mozilla.org/Hacking_b2g_on_Raspberry_Pi#Preparing_a_development_environment
>>> and I got adb to connect OK.
>>>
>>> How do I setup WebIDE to connect? do I use some kind of local connection
>>> because adb is already running? or do i stop the adb and use a Remote
>>> Runtime $IP:5555 (obviously changing $IP to the IP of the Pi).
>>>
>>> _______________________________________________
>>> dev-raspberry-pi mailing list
>>> dev-rasp...@lists.mozilla.org
>>> https://lists.mozilla.org/listinfo/dev-raspberry-pi
>>>
>>
>>
>
>
0 new messages