×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    83

    Thumbs down app crashes in the phone

    i have made an application which takes an input from user , puts it in a database and then displays the contents of the database in a listbox ...
    i m using carbide.c++ and 2nd edition with fp1 SDK ...
    i have succesfully made the sis file and the app is working absolutely fine in emulator but when i m running it in the phone it crashes .....
    i m using nokia 7610 ... also tried 2nd edition FP2 SDK but no success ...
    y is that it works fine in emulator and crashes in the phone ....???

    thnx nd regards

  2. #2
    Super Contributor
    Join Date
    Jul 2004
    Location
    Romania
    Posts
    560

    Re: app crashes in the phone

    Quote Originally Posted by ctrl-d
    i have made an application which takes an input from user , puts it in a database and then displays the contents of the database in a listbox ...
    i m using carbide.c++ and 2nd edition with fp1 SDK ...
    i have succesfully made the sis file and the app is working absolutely fine in emulator but when i m running it in the phone it crashes .....
    i m using nokia 7610 ... also tried 2nd edition FP2 SDK but no success ...
    y is that it works fine in emulator and crashes in the phone ....???

    thnx nd regards
    There can be a lot of reasons. When exactly your app crashes?

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Smile Re: app crashes in the phone

    Hello ctrl+d,
    Quote Originally Posted by ctrl-d
    i have made an application which takes an input from user , puts it in a database and then displays the contents of the database in a listbox ...
    i m using carbide.c++ and 2nd edition with fp1 SDK ...
    i have succesfully made the sis file and the app is working absolutely fine in emulator but when i m running it in the phone it crashes .....
    i m using nokia 7610 ... also tried 2nd edition FP2 SDK but no success ...
    y is that it works fine in emulator and crashes in the phone ....???

    thnx nd regards
    Check out the following link and follow the instructions from that link:
    http://newlc.com/Display-the-extende...c-code-in.html

    You will get panic code by doing so. Then it would be easy to answer you once you find out actual panic code.

    Regards.
    Kiran.

  4. #4
    Regular Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    83

    Re: app crashes in the phone

    i dont think it is giving a panic .... if it was then y would it run fine on the emulator in both udeb and armi urel mode .... what could be the problem when an app runs fine on the emulator but just closes in the phone ....
    PS : when i run it in the fone it doesnt give "program closed" ... it just opens it for the first time .... when i add something to the query box and press ok it justs exits without giving any error note or nething .... and after that it fails to open also ... i m using dbms , listbox and AO timer in my app...

    thnx

  5. #5
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Exclamation Re: app crashes in the phone

    Hi,
    Quote Originally Posted by ctrl-d
    i dont think it is giving a panic .... if it was then y would it run fine on the emulator in both udeb and armi urel mode .... what could be the problem when an app runs fine on the emulator but just closes in the phone ....
    PS : when i run it in the fone it doesnt give "program closed" ... it just opens it for the first time .... when i add something to the query box and press ok it justs exits without giving any error note or nething .... and after that it fails to open also ... i m using dbms , listbox and AO timer in my app...

    thnx
    I hope you have gone through the link i have provided in previous post and did the same as per instructions from that link, have you?

    Regards.
    Kiran.

  6. #6
    Regular Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    83

    Re: app crashes in the phone

    Quote Originally Posted by kiran10182
    Hi,


    I hope you have gone through the link i have provided in previous post and did the same as per instructions from that link, have you?

    Regards.
    Kiran.
    yh i installed that sis file in my phone ... but after running my app still the size of the file ErrRd was zero bytes .... tried opening that wid FExplorer and it says unrecognised file format ...

    Regards
    Kiran ...

  7. #7
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Smile Re: app crashes in the phone

    Hello dear,
    Quote Originally Posted by ctrl-d
    yh i installed that sis file in my phone ... but after running my app still the size of the file ErrRd was zero bytes .... tried opening that wid FExplorer and it says unrecognised file format ...

    Regards
    Kiran ...
    File ErrRd will remain empty always. So don't bother about it.
    It will give you panic code if there goes something wrong with your application.

    Regards.
    Kiran.

  8. #8
    Regular Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    83

    Re: app crashes in the phone

    Quote Originally Posted by kiran10182
    Hello dear,


    File ErrRd will remain empty always. So don't bother about it.
    It will give you panic code if there goes something wrong with your application.

    Regards.
    Kiran.
    and where will i get that panic code ... i mean how can i see it ...

  9. #9
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Smile Re: app crashes in the phone

    Hi,
    Quote Originally Posted by ctrl-d
    and where will i get that panic code ... i mean how can i see it ...
    You can see the Panic code when your application gets exited abnormally.

    Regards.
    Kiran.

  10. #10
    Regular Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    83

    Re: app crashes in the phone

    Quote Originally Posted by kiran10182
    Hi,


    You can see the Panic code when your application gets exited abnormally.

    Regards.
    Kiran.
    nopes ....no panic code to be seen ....
    plz man ...temme sumthin ...i m tired of scratching my head ...trying to find the solution to a problem nt knwing whr the prob is ...

  11. #11
    Super Contributor
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156

    Re: app crashes in the phone

    Quote Originally Posted by ctrl-d
    nopes ....no panic code to be seen ....
    plz man ...temme sumthin ...i m tired of scratching my head ...trying to find the solution to a problem nt knwing whr the prob is ...
    Hi,
    If it was me, it would have debugged onto a file,which would help me to find out where exactly it panics!!
    Why dont you try that way! The ErrRd works only at times in real time!

    Priju

  12. #12
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Smile Re: app crashes in the phone

    Hi,
    Quote Originally Posted by ctrl-d
    nopes ....no panic code to be seen ....
    plz man ...temme sumthin ...i m tired of scratching my head ...trying to find the solution to a problem nt knwing whr the prob is ...
    Ok. You can write into file for each entry points in function. Later on check in which function you are facing problem.

    Regards.
    Kiran.

Similar Threads

  1. midi player crashes app on 6233, 6280, 6288
    By flomef in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2007-01-08, 16:38
  2. Nokia 6630 unable to send out app thru phone
    By vernonloh in forum General Development Questions
    Replies: 2
    Last Post: 2005-02-28, 00:44
  3. transfer j2me app to phone?
    By garyshi in forum Mobile Java General
    Replies: 1
    Last Post: 2003-06-11, 10:06

Posting Permissions

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