Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

How to Calling  RSS feed

 
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.
 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
check out this two links
http://developers.sun.com/techtopics/mobility/midp/ttips/platformRequest/index.html

http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_java_0804.jsp
 
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.
 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!