×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Jun 2013
    Posts
    5

    problem in platformRequest("tel:" )

    I am working on Asha 1.0 SDK

    String code;
    code=dialPad.getText();
    platformRequest("tel:" + code+"#");

    The above code is not working. platformRequest("tel:" ) method is not accepting "#" as an input. It is not concatenating "#" with the dialed number in the emulator. Why ?

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    678

    Re: problem in platformRequest("tel:" )

    why do you think its not working?
    also the emulator is not the ideal place to test this (those kind of things like telephony should really be tested on real devices)
    AFAIK the tel: protocol url is based on this RFC http://www.ietf.org/rfc/rfc2806.txt of Nokia (however i dont know if it is updated or the new Asha implementation has changed in anyway)
    to me it seems like the you want the # to be sent as DTMF after the call no?

  3. #3
    Registered User
    Join Date
    Jun 2013
    Posts
    5

    Re: problem in platformRequest("tel:" )

    Quote Originally Posted by shai.i View Post
    why do you think its not working?
    also the emulator is not the ideal place to test this (those kind of things like telephony should really be tested on real devices)
    AFAIK the tel: protocol url is based on this RFC http://www.ietf.org/rfc/rfc2806.txt of Nokia (however i dont know if it is updated or the new Asha implementation has changed in anyway)
    to me it seems like the you want the # to be sent as DTMF after the call no?
    Yes you were right. I tested it in a device and it working..... ! But the code dial it as a number, and the operator says "dialed number does not exists". I want to dial *123*123456789# and get recharged the account. How to do so ?
    Last edited by aj4ajesh; 2013-07-04 at 15:47.

  4. #4
    Registered User
    Join Date
    Jun 2013
    Posts
    5

    Re: problem in platformRequest("tel:" )

    Got my answer.., USSD like *123*123456789# is not possible in Java ME

  5. #5
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    678

    Re: problem in platformRequest("tel:" )

    Phone numbers that starts with * are usually a shortcut for a longer phone number so cant you replace the *123 with the real phone number?

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,675

    Re: problem in platformRequest("tel:" )

    No, USSD commands are not phone numbers.

  7. #7
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: problem in platformRequest("tel:" )

    Shai, index# is a shortcut for the number at that index on the SIM phonebook, defined in chapter 6.6.4 of 3GPP TS 22.030. However, here we are talking about USSD which are not covered by the tel URI.

  8. #8
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    678

    Re: problem in platformRequest("tel:" )

    Hey Wizard and Traud,
    ASTRIX numbers are sometimes shortcuts number to standard phone number in particular in my country so *123 or *54 have REAL phone numbers behind them, i dont know if he targets USSD commands or not so i gave him my further suggestions that i thought would be valuable.

  9. #9
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: problem in platformRequest("tel:" )

    Which network operator and country is that? This would be something, your operator implemented.

  10. #10
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    678

    Re: problem in platformRequest("tel:" )

    Country is Israel, all operators have it for instance you can call support for local cable company *6900 from cellphone or landline and u have the same effect.

Similar Threads

  1. platformRequest("tel:*055*Code#") didn't work
    By cetrosoft in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2011-06-21, 20:01
  2. platformRequest("tel:+850..."); exiting app on Nokia 6280
    By hansamann in forum Mobile Java General
    Replies: 10
    Last Post: 2011-01-28, 12:26
  3. Replies: 3
    Last Post: 2009-12-11, 21:58
  4. Replies: 2
    Last Post: 2006-10-04, 15:58
  5. Anything like "platformRequest" in MIDP1.0 for Nokia phones
    By konst1024 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-05-02, 19:08

Posting Permissions

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