Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-197

TicketMonster tutorial Hybrid Mobile apps issues - Android version

XMLWordPrintable

      • Copy the lib/android/cordova-2.0.0.jar file from the Cordova distribution into the lib folder of the project.

        Even the screenshot diplays 'libs' folder instead of 'lib'.

      • ln -s www $TICKET_MONSTER_HOME/demo/src/main/webapp

        Has arguments in wrong order, it should be like (assuming to be in assets dir):
        ln -s $TICKET_MONSTER_HOME/demo/src/main/webapp www

      • Also, we need to add our REST service URL to the whitelist (you can use "*" too, for simplicity, during development) :

        res/xml/config.xml

        It's not mentioned to create such file or where to place it.

      • src/main/webapp/resources/js/libs' folder, renaming it to `cordova-android-2.1.0.js, to avoid naming conflicts with other platforms (such as iOS which we will also implement as part of this tutorial).

        cordova-android-2.0.0.js cannot be renamed to 2.1.0.js, the following script is referencing to 2.0.0.js

      • src/main/webapp/resources/js/libs/hybrid-android.js

        This file is in js/configurations dir, not in js/libs

      • loead

        -> lead

              vineet.reynolds_jira Vineet Reynolds (Inactive)
              sbunciak-rh Stefan Bunciak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: