×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2007
    Posts
    5

    application running fine in emulator but not starting on phone

    hi!

    i'm asking here cause i have no idea where i should begin to trace the scource of my problem: i've written some program using s60 3rd editition mr and carbide.c++. in the beginning i tested it in both the "emulator" and on the phone (e60) and it worked fine. then, having had a lack of real phone, i tested for some weeks only on the emulator where everthing works. now that i again am able to use the phone and had to encounter that on the phone it installs without any errors and the installed application is also shown but, when i try to start it, NOTHING happens - no crash, no error message, not even the slightest blink - just nothing... :-(
    for it running perfectly in the "emulator" i have no idea what the problem could be. does this have anything to do with capabilities? or with certificates? or something else?
    because i relyed on the "emulator" for so long, the program is very large and i cannot isolate the problem.

    i searched the forum and the only persons who reported a similar problem all told that they are using some self written dll's and searched the problem there... i don't use any dll's so i'm desperate.

    so please, if you have any idea about this problem, give me some hints

    thx, nireus

    btw: what is this so-called "emulator" that runs different code and even needs a different compiler to build than the device it should emulate? a real emulator by definition behaves the same way the real device would do. so why this sort of simulator or something is called "emulator"? and why is there no real emulator for some symbian device?

  2. #2
    Regular Contributor
    Join Date
    May 2005
    Location
    Sweden
    Posts
    272

    Re: application running fine in emulator but not starting on phone

    There are a bunch of different things that might go wrong, eg. you're linking to a DLL that isn't present on the phone, there might be something wrong in your _reg.rss or there might be some other reason why it exits during startup. A good place to start is to add debug output in E32Main(). If you don't get any output, it's either the DLL or the _reg.rss problem. If you actually get output from E32Main(), you should be able to find the problem with additional debug output.

    As for the "emulator", it'd be more correct to call it a simulator.
    Mobile Sputnik: http://ptrmobile.blogspot.com/

  3. #3
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: application running fine in emulator but not starting on phone

    may be you have used any lib that is not on the phone.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  4. #4
    Registered User
    Join Date
    Feb 2007
    Posts
    5

    Re: application running fine in emulator but not starting on phone

    thanks for your answers; i found the problem:

    i use some one extra thread created by an RThread object. there i assigned to much heap size to the new thread (RThread.Create 5th param). i reduced that and now it works! :-)

  5. #5
    Registered User
    Join Date
    May 2007
    Posts
    2

    Re: application running fine in emulator but not starting on phone

    Hello. I don't want to start a new thread so I am going to use this one. I have the same problem as the original poster but I am using the S60_Platform_Bluetooth_OBEX_Example that I downloaded from the Nokia website as my program. I have gotten it to run the emulator (with Bluetooth drivers and everything) but nothing happens on the phone when I try to run it.

    I'm pretty sure that the program isn't even starting up. I tried adding debug code but am not sure if I got good code in there. I don't know of a way to see results on my N80 phone. There doesn't seem to be a console or anything. I would like to try the second approach of the _reg.rss and dll problem. The _reg.rss file doesn't seem to have a problem, it is the example after all, but there are some warnings when I compile the program. So, how would I go about updating the dlls on my phone to see if that is the problem.

    Thanks

  6. #6
    Registered User
    Join Date
    May 2007
    Posts
    2

    Re: application running fine in emulator but not starting on phone

    Sorry to bump my own post, but I really want to get this program working on my phone. I think I've pinpointed the problem down to a dll problem. Is there anyway to figure out which function call is causing the problem? My phone is a N80 and am curious why my phone wouldn't have the apropriate libraries to support the Obex example program. Has anyone else gotten the obex example to work on their N80? The program is located here.

    http://www.forum.nokia.com/info/sw.n..._0_en.zip.html

    If anyone could try it out on their N80 and post that'd be great.

    Thanks again,
    Zrel

Similar Threads

  1. Dialing using the phone application
    By liuweisong in forum Symbian
    Replies: 3
    Last Post: 2005-01-28, 10:17
  2. Replies: 0
    Last Post: 2004-10-26, 15:02
  3. Memory Full Error on Nokia6600 running MIDlet Application
    By tbechnati in forum Mobile Java General
    Replies: 0
    Last Post: 2004-05-02, 14:19
  4. Handling a phone call when a midlet is running
    By ferozekadamapuzha in forum Mobile Java General
    Replies: 2
    Last Post: 2003-05-07, 07:53

Posting Permissions

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