I am working on app, which need to access mobile camera.
so that worked on worklight PhoneGap POC with one view app which working fine.
Then when I integrate same POC in my app in three view is not working PhoneGap.
Can you please tell where I miss the logic ...
Kindly find the attachmented my Worklight PhoneGap POC on camera with two views.
Kindly solving this as soon as, waiting for your solution.
This topic has been locked.
6 replies Latest Post - 2012-06-11T05:17:52Z by SystemAdmin
Pinned topic Worklight PhoneGap API not working in second view
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Re: Worklight PhoneGap API not working in second view2012-05-15T13:52:14Z in response to SystemAdminHello Nanda.
Worklight applications are a single-page application (SPA).
Once you call another page you lose the application context.
To stay in the same page you should use the Worklight fragments (for whole pages or parts of it), or other solutions for single page application like in jQuery.
Re: Worklight PhoneGap API not working in second view2012-05-20T07:37:32Z in response to SystemAdminThank you ravidor,
If I bulid worklight on single-page application (SPA),
Then how I can access js library files or etc in worklight.
WSDL code generate:- http://sudzc.com/
Have a nice day.
Re: Worklight PhoneGap API not working in second view2012-06-07T09:12:01Z in response to SystemAdminOk,
If I bulid worklight application on single-page application (SPA), How to user jQuery mobile library (UIDataPicker, Signature and Active Indicator).
Those are not working with SPA structure, if it works, can I get any sample on jQuery mobile library with Single-Page Application.
Re: Worklight PhoneGap API not working in second view2012-06-10T12:40:40Z in response to SystemAdminHi Nanda.
especially the sections about Single page, Linking pages and Page transitions
Re: Worklight PhoneGap API not working in second view2012-06-11T05:17:52Z in response to SystemAdminHi Ravidor,
If I follow single-page application (SPA) ref link:- http://worklight.com/download/get-started/4.2.1/module-7.5.
Can I use jQuery mobile library (UIDataPicker, Signature and Active Indicator) in Worklight Multiple Pages and Fragments application.
Kindly give me answer YES r No.