×

Discussion Board

Results 1 to 14 of 14

Thread: telephony API

Hybrid View

  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    4

    Unhappy telephony API

    Hello All,

    I read many posts regarding the missing telephony API for j2me applications
    and i have a question regarding that API:
    I know that there are sevral JSR's such as 304, 253 (MTA) which support telephony API but there are no devices that support them , however is there any internal API for J2ME that we can buy, for example, i know motorola has such API that you can get if you are part of their support plane.
    Thanks.

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: telephony API

    My understanding is that the JSR-253 specification is not complete enough, and therefore it has not been implemented by any manufacturer yet (my guess, never). The 2.0-version is in the works, but not ready yet, and therefore it will be long time before that API is available on the handsets.

    There is no internal API for Nokia devices. Other manufacturers can have something - I only know that RIM (Blackberry) devices have net.rim.blackberry.api.phone for some phone call specific things

    Hartti

  3. #3
    Registered User
    Join Date
    Jun 2007
    Posts
    4

    Re: telephony API

    Hello hartti and thanks for the quick reply,
    if Nokia doesn't supply any telephony API for the J2ME, is it possible
    to build a telephony application that can not only make a call but also send DTMF's?
    I know that there's another option of doing something like that using WTAI but i couldn't find any good example, are you familier with one?
    Also, is it possible to create J2ME application, add wml file to the project and load the wml file from the application
    using, perhaps, http-connection to the local host\device and from the wml file make the call?
    Thanks.
    Last edited by robybd; 2007-06-14 at 07:59.

  4. #4
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: telephony API

    you can send post-dial DTMF tones to the platformRequest() method call along the phone number you are calling.
    Sending DTMF codes only does not usually succeed.

    Downloading a file is possible inside your MIDlet, you need to parse the file yourself and place the call with platformRequest. You could also open the browser with platformRequest passing the URL for the WML file, but the the browser would be controlling the situation.

    Hartti

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    23

    Re: telephony API

    hi hartti,

    i am looking for same solution, as you have told that we can pass on dtmf tones along with platformrequest() so can u put example how exactly you did this ?,

    and is it possible to transfer that dtmf tone via midlet which has first established call to some number.
    if it is possible kindly reply me on nekin.developer@gmail.com or post it here itself.
    Thanks,
    Nekin

  6. #6
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: telephony API

    You have to enter the DTMF tone at the end of the phonenumber in the platformRequest() call. After that method is called, MIDlet cannot play anymore DTMF tones in to the call

    If my memory server me right separating the DTMF tone with "p" works on some phones and on some phones you need to add "/" character in there between

    Hartti

Similar Threads

  1. PC Suite error: (Code: Init IMediaControl2) HELP?!
    By chunkyspudmonkey in forum General Development Questions
    Replies: 29
    Last Post: 2008-06-30, 11:47
  2. S60 API Partnering Program
    By Nokia Ron in forum News and Announcements
    Replies: 9
    Last Post: 2008-04-16, 18:28
  3. Telephony API support on N93
    By hgyang in forum Mobile Java General
    Replies: 1
    Last Post: 2007-05-29, 21:10
  4. JSR 253: Mobile Telephony API (MTA)
    By crobin in forum Mobile Java General
    Replies: 4
    Last Post: 2006-09-12, 23:52
  5. telephony api access from j2me
    By ceehira in forum Symbian
    Replies: 1
    Last Post: 2006-06-29, 12:23

Posting Permissions

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