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

Gorkem Ercan (JIRA) jira-events at lists.jboss.org
Thu Nov 7 13:48:01 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-15895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921514#comment-12921514 ] 

Gorkem Ercan commented on JBIDE-15895:
--------------------------------------

hybrid tools is not involved here especially when testing with CordovaSim. My wild guess is, this is actually broken on the upstream (either Cordova or jqm) but we need to confirm.
                
> 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, browsersim
>    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. Event DeviceReady is not 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 breaking 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