Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15895

Cordova API not working when added widget from jQuery Mobile palette

XMLWordPrintable

      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. Event DeviceReady is not fired

      When adding widget from jQuery Mobile pallete also this reference to jQuery Mobile java script file is added

      <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
      

      and it seems is somehow breaking Cordova API functionality. Once removed from index.html application is displaying data from Acceleromer again

            gercan@redhat.com Gorkem Ercan
            vpakan Vlado Pakan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: