[jbosstools-issues] [JBoss JIRA] (JBIDE-15895) Cordova API not working when added widget from jQuery Mobile palette

Vlado Pakan (JIRA) jira-events at lists.jboss.org
Thu Nov 7 06:25:01 EST 2013


Vlado Pakan created JBIDE-15895:
-----------------------------------

             Summary: Cordova API not working when added widget from jQuery Mobile palette
                 Key: JBIDE-15895
                 URL: https://issues.jboss.org/browse/JBIDE-15895
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: aerogear-hybrid
    Affects Versions: 4.1.1.Beta1
         Environment: JBDS7.1.0.Beta1b Beta1-v20131102-1529-B493
            Reporter: Vlado Pakan
             Fix For: 4.1.1.CR1


1. Create Mobile Hybrid Project
2. Add Accelerometer testing page as described on phonegap wep page
3. Run Project on CordovaSim and/or Emulator and/or Android device
4. Open Acceleromer page
ASSERT: App is displaying data from Accelerometer
5. Open index.html page add some widget from jQuery Mobile pallete and save
6. Repeat step 3. and 4.
ERROR: App is not displaying data from Accelerometer. Even DeviceReady isnot fired

When adding widget from jQuery Mobile pallete also this reference to jQuery Mobile java script file is added
{noformat}
<script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
{noformat}
and it seems is somehow brealing Cordova API functionality. Once removed from index.html application is displaying data from Acceleromer again

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list