on 02-27-2013 1:34 PM
Hi Guys,
Please help me in finding out how to connect my HWC app to chrome.
My scenario is as follows:
I opened my Workflow in chrome for debugging.I can access data in my workflow using rmi.xml file that i created referring the following link http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01218.0200/doc/html/vhu12....
But i want my workflow that i opened in chrome to access data directly from the server.
Is it possible to do so?
If yes then please help me out how to achieve this.
Regards
Neha
If your Hybrid App accesses MBO's then it must be run in the Hybrid Web Container.
Here is a sample that demonstrates different techniques to debug a Hybrid App. One of them shows how to step line by line through your app using Safari with Web Inspector while your app runs in the iOS simulator and accesses the SUP server. Note, it requires using the iOS 5.x simulator.
Debugging a Mobile Workflow https://cw.sdn.sap.com/cw/docs/DOC-150957
Hope that helps,
Dan van Leeuwen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
Thanx for ur reply..
I have followed that doc which u gave.In that there is one debugging procedure wherein we have to create rmi.xml file and save it in our application under html folder.
And our workflow that we opened in chrome gets only that data that we saved in rmi.xml file.
Indirectly we are getting data from a file which we ourselves saved in our app workspace.
My problem is,i want my workflow app that we opened in chrome to connect directly to server.
M not getting how to do that.
Basically,i want my HWC app to work in Windows Browser and access data directly from server.
As far as i have gone through the generated workflow files,i think there must be some change in method doOnlineRequest() in API.js file.M not sure though.
Please help me to get the connection.
Regards
Neha
A hybrid app uses that accesses MBO's can only be run in the hybrid web container.
If you wish to have a Hybrid App that also can run in a desktop web browser, you may wish to consider accessing the backend data using OData instead.
Here is a sample showing this. https://cw.sdn.sap.com/cw/docs/DOC-152564
Another option would be to run your existing hybrid app in an emulator on the desktop. Bluestacks is one such emulator. http://www.bluestacks.com/
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.