Titanium Community Questions & Answer Archive

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

Newbee - I'm doing minor change and the app stops working on the Android emulator

Hi,
I'm new here, I started new mobile project, name "TheApp".
Launch it in the emulator - works ok as expected.
But, when I edited one of the tabs title, it crashed on the emulator, saying "The application TheApp (process com.theapp.one) has stopped unexpectedly. Please try again"

What am I doing wrong here, please help.
Thanks.

— asked March 29th 2010 by Israel Weisman
0 Comments

3 Answers

  • Show us some code, maybe is a syntax error.

    — answered March 29th 2010 by Dan Tamas
    permalink
    0 Comments
  • check for syntax errors like missing semi-colons and commas…
    Also, my experience tells me if you have any open database resources, close them after use.

    — answered March 29th 2010 by Peter Lum
    permalink
    0 Comments
  • Thanks for your answers.

    These are the changes I made:

    var win1 = Titanium.UI.createWindow({  
        title:'Tab g1',
        backgroundColor:'#fff'
    });
    

    I started a new mobile project, run it on the emulator, and it worked ok. than I changed the 'title' attribute from 'Tab 1' to 'Tab g1', and than I was starting receiving the error I wrote above.

    — answered March 29th 2010 by Israel Weisman
    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.