Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

[BUG] My OptionDialog is not displaying on Android

I can run the code in the kitchen sink fine, but it doesn't work in my own code. Reproducible test case below. Same code works fine on the iPhone.

http://pastebin.com/RZNrFQDw

— asked May 4th 2010 by Damien Elmes
  • android
  • optiondialog
0 Comments

2 Answers

  • Accepted Answer

    I could not get dialogs to appear when called from my main app.js file on Android. I moved this to a sub .js file that makes up my first window and it works fine.

    — answered May 4th 2010 by Vinh Bui
    permalink
    1 Comment
    • Is this really the only way to fix that bug ?

      — commented June 23rd 2012 by Marvin Oßwald
  • Thanks, I'll give that a try. I do wonder if Appcelerator plans to fix this in the future, though - moving my code into separate files will take a bit of work.

    — answered May 5th 2010 by Damien Elmes
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.