×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    CTelephony api calls at startup : Should they work or crash?

    Hi,
    I am loading an executable at device startup. This executable makes some calls into CTelephony apis to query some network parameters. But the executable crashes. If we remove these calls the executable loads fine!!
    So shouldn't the CTelephony apis be called at startup at all?
    Shouldn't these apis just return empty values or some error instead of crashing?
    Thanks in advance.
    --Mayur.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,566

    Re: CTelephony api calls at startup : Should they work or crash?

    Do you have a panic code perhaps?

  3. #3
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Re: CTelephony api calls at startup : Should they work or crash?

    Quote Originally Posted by wizard_hu_ View Post
    Do you have a panic code perhaps?
    While ODD it shows
    "signal exception 0" and then
    "A data abort exception occured"
    No category is shown!!!

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,140

    Re: CTelephony api calls at startup : Should they work or crash?

    maybe you could add some delay to see whether the problem is caused by some modules not been loaded while you try accessing them.

    Earlier with 2nd edition it was usually good advice to wait untill you saw the phone process running, before doing anything really..

  5. #5
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Re: CTelephony api calls at startup : Should they work or crash?

    Quote Originally Posted by symbianyucca View Post
    maybe you could add some delay to see whether the problem is caused by some modules not been loaded while you try accessing them.

    Earlier with 2nd edition it was usually good advice to wait untill you saw the phone process running, before doing anything really..
    We are developing this app in India and there is a testing team in US,which is testing the app on US networks using the US specific N-series devices.
    So while the code works fine on the device in India(Actually its a "Made in finland" device!!), its crashing on the N-series devices in the US(3 N-series devices tested on)!!!
    Could this be a firmware specific issue?
    --Mayur.

  6. #6
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: CTelephony api calls at startup : Should they work or crash?

    you have to get logs where it crashing. so put some logs run it on US phones get the log and find out where it is crashing.

Similar Threads

  1. Startup API starting multiple processes
    By tal.shahar@mobile-mx.com in forum Symbian C++
    Replies: 1
    Last Post: 2008-06-11, 23:35
  2. ETelMM: Swap doesn't work on two received calls
    By iDeveloper in forum Symbian C++
    Replies: 4
    Last Post: 2007-10-25, 17:54
  3. Startup API on emulator
    By vaibhavjain in forum Symbian C++
    Replies: 0
    Last Post: 2007-10-23, 06:48
  4. Running CTelephony API on Emulator
    By gdiscc in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-10-16, 05:34
  5. Anybody know of a service/web api to make phone calls?
    By the_mincer in forum Symbian C++
    Replies: 0
    Last Post: 2007-09-09, 22:01

Posting Permissions

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