This is a migrated thread and some comments may be shown as answers.

onDeviceReady not triggering on Samsung Galaxy (Android 4.1.2)

2 Answers 16 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Lukas
Top achievements
Rank 1
Lukas asked on 24 Mar 2013, 12:17 PM
Hi,

I used your empty project and in "onDeviceReady" I just insterted some alert code, or a simple text appending mechanism. This thing is called in graphite simulator, web simulator, but never on my real device.

2 Answers, 1 is accepted

Sort by
0
Lukas
Top achievements
Rank 1
answered on 24 Mar 2013, 01:26 PM
Ok sorry, this was my fault.
I was targeting /js/cordova.js. Which worked on simulator. of course it does not exist as it is in the root folder.
Now it seems to work.
0
Steve
Telerik team
answered on 25 Mar 2013, 10:58 AM
Hi Lukas,

Your src attribute should not start with "/" as on the device the files are loaded from the local file system and should be relative to the index.html.

Kind regards,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
Tags
Report a bug
Asked by
Lukas
Top achievements
Rank 1
Answers by
Lukas
Top achievements
Rank 1
Steve
Telerik team
Share this question
or