• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Calling

 
Siharat Thammaya
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Developers

I want to write j2me code to open connection on my phone and calling to other phone number.
 
Alberto Casera
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use method MIDlet.platformRequest("tel://...."). It works only with MIDP2.0 .

I have a question: does anybody know, when I make a call with the above method, how I can get in my midlet class the event that the other side on the phone network has anawered ?
In other words, how to set a "listener", to signal te dialing events?
 
Siharat Thammaya
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alberto, I believe you can't register such an event listener or any other.

The call issued with platformRequest() will run in a platform specific manner
and without any interface with the requesting Midlet.

I advise you to read the platformRequest() javadoc and MIDP 2.0 specs carefully about what to expect (and not to ) from this method.

Regards,
Eduardo
[ September 29, 2006: Message edited by: Eduardo Marques ]
 
Alberto Casera
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eduardo, you're right.
I've discovered a new set of APIs under the JSR-253: MTA (Mobile Telephony API).
It seems to be what I need right now. Anybody knows when these will be available in the next devices?
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link, I was not aware of JSR 253.
I have no idea of what devices are supporting this JSR.

It might be a sign of low adoption so far that the Wireless Toolkit
does not yet support this JSR. But surely this should change in the near future.
Regards,

Eduardo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic