Results 1 to 2 of 2

Thread: onDeviceReady in Archtect

  1. #1
    Sencha Premium User zmagyar's Avatar
    Join Date
    Mar 2012
    Location
    Budapest
    Posts
    94

    Default onDeviceReady in Archtect

    Working on a phonegap app we would need to listen on the onDeviceReady event. What is the best approach to add this code in Architect considering that index.html and app.js is always regenerated by Architect?

  2. #2
    Sencha Premium Member
    Join Date
    Nov 2007
    Location
    Moore, Oklahoma
    Posts
    502

    Default

    create a launch function under the application, you can add in your onDeviceReady listener there. this will add the code into app.js for you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •