incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Bouquillon [revolunet]" <jul...@revolunet.com>
Subject remote platform
Date Fri, 18 May 2012 15:19:12 GMT
Hi Guys!

Im planning to add a new tool for phonegap debugging : "remote platform"

The idea is to have the phonegap API available right in a desktop browser,
but phonegap API calls are relayed to a real remote device through socket.io
.

Ive made a quick POC and it works pretty well but its not yet integrated
correctly in the new cordova-js code structure (platform)
i cover most of simple APIs, its easy because its all callbacks. For the
'device' and 'connection' they're just 'relayed' on connection.
POC : http://github.com/revolunet/remote-cordova

As Cordova is evolving fast (thanks for this) i need some advise on the
best ways to achieve this.

 - Do you think this could be a useful addition ? Looks useful to me for
debugging from the desktop with real data, but you may have a better
panorama than me.
 - As @pmuellr pointed, i should create a new cordova platform named
"remote" that could be used on the desktop browser.
 - But where should i code the call interception and callbacks forwarding
in the device code ? Id like to have android/iOS support at first.


Comments welcome, Thank you;


Julien (@revolunet)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message