cordova - Convert Phonegap Project to IBM Worklight Project -


i have designed phonegap app using jquery mobile. iam having complete project phonegap+jquerymobile.

now iam learning ibm worklight, need convert project ibm worklight project.

what steps have follow?

cant straight forward?

provide steps project in ibm worklight..

you may select upgrade straight mobilefirst platform 7.1 introduced support cordova applications, meaning upgrade path more minimal. see more here: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/hello-world/integrating-mfpf-sdk-in-cordova-applications/

you need copy web resources new app , all. remains same, added value of beng

alternatively, worklight/mobilefirst platform classic hybrid apps come bundled cordova, basic step take copy on web resources (html, js, css) hybrid project generated using mobilefirst studio.

  1. install mobilefirst studio plug-in eclipse.
  2. create new hybrid project , application , add required environment ("platforms" in cordova lingo) such android or iphone
  3. the application structure familiar you.

    • copy html provided common\index.html - be careful not override it(!) rather add missing pieces it:
    • the jquery references needed
    • the cordova.js reference not needed
    • copy css common\css
    • copy js common\js
    • adjust paths such files of jquery mobile (easiest place in common\js folder, can later tweak this)

that should in general. build app right-clicking app folder , selecting run > run on mobilefirst development server , preview app.

if have cordova plug-ins more challenging.

i suggest first learn developing mobilefirst apps before attempting migrate existing app. see more here: https://developer.ibm.com/mobilefirstplatform


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -