×

Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Regular Contributor
    Join Date
    Nov 2006
    Location
    Switzerland
    Posts
    476

    Re: Emergency Call Codes

    All right. Now, I understand it. Will try it with CRepository. Thanks!

  2. #17
    Regular Contributor
    Join Date
    Nov 2006
    Location
    Switzerland
    Posts
    476

    Re: Emergency Call Codes

    Unfortunately, I still have no luck... The following code let's the app crash with "System Error (-1)" on Symbian Beller and newer devices. On Anna, 5th and 3rd FP2 older devices, it works but I don't get any data, i.e. the variable "value" is empty.
    Code:
    TBuf<150>value;
    CRepository* cr = CRepository::NewLC( KCRUidDefaultEmergencyNumbers );
    User::LeaveIfError( cr->Get( KDefaultEmergencyNumbersList, value ) );
    aEmergencyNumbers.Append( value );
    CleanupStack::PopAndDestroy();
    What do you think about this? For me it looks as if this feature is not implemented resp. the according emergency numbers are not maintained in the firmware.

  3. #18
    Registered User
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    639

    Re: Emergency Call Codes

    I don't have any other idea, sorry.
    br,
    pg

  4. #19
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Emergency Call Codes

    then it appears that with Anna, 5th and 3rd FP2 older devices the central repository is defined, but is having empty value, and with Belle it has been removed. This indeed can happen with APIs which are not shipped with SDK, since there are no compatibility promise for those APIs

Similar Threads

  1. How to make emergency call in symbian ~3
    By krishnaramram in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2011-09-14, 14:03
  2. Detection of emergency call
    By Vibodh in forum VoIP
    Replies: 1
    Last Post: 2010-09-04, 08:54
  3. Emergency call problem with ctelephony
    By ram4soft in forum Symbian
    Replies: 0
    Last Post: 2010-06-09, 12:11
  4. Emergency call number
    By tektronic in forum Symbian
    Replies: 8
    Last Post: 2008-07-31, 15:09
  5. How can I make an emergency call by code?
    By asingoro in forum Symbian
    Replies: 5
    Last Post: 2007-07-05, 03:45

Posting Permissions

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