Project Worklight: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
(Created page with "= Worklight Tips & Tricks = Debugging physical remote android devices with winere (Apache project) http://winreserver:8888/target/target-script/... http://winreserver:8888/c...")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Worklight Tips & Tricks =
= Worklight Tips & Tricks =


Debugging physical remote android devices with winere (Apache project)
* Debugging physical remote android devices with winere (Apache project)


http://winreserver:8888/target/target-script/...
http://winreserver:8888/target/target-script/...
http://winreserver:8888/client
http://winreserver:8888/client


http://www.apache.org/people/~pmuellr/weinre
http://people.apache.org/~pmuellr/weinre
 
* Same for iOS: Remote Web Inspector


* Wireshark: filter for http on port 10080


Same for iOS: Remote Web Inspector
* Adapters
* Adapters design: an adapter can have multiple procedures (declared in the adapter xml), but they must all talk to the same backend
* Adapters can call adapters (called mashup): WL.Server.invokeProcedure(invocationData, options). Options define the result callbacks and a pass through data parameter

Latest revision as of 09:42, 15 May 2014

Worklight Tips & Tricks

  • Debugging physical remote android devices with winere (Apache project)

http://winreserver:8888/target/target-script/...

http://winreserver:8888/client

http://people.apache.org/~pmuellr/weinre

  • Same for iOS: Remote Web Inspector
  • Wireshark: filter for http on port 10080
  • Adapters
* Adapters design: an adapter can have multiple procedures (declared in the adapter xml), but they must all talk to the same backend
* Adapters can call adapters (called mashup): WL.Server.invokeProcedure(invocationData, options). Options define the result callbacks and a pass through data parameter