• Post Reply Bookmark Topic Watch Topic
  • New Topic

[J2ME] initiate a phonecall from the application  RSS feed

 
Kim Prescott
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all !!
I would like to find the way to initiate a phonecall from my java application.
Of course, running on a mobile MIDP2.0

I searched on google and this forum and found this:
MIDlet.platformRequest("tel:0612345678");
But i don't know how to apply it in my program.
I have this error:
"Cannot make a static reference to the non-static method platformRequest(String) from the type MIDlet contactMiddlet.java"
Thx if you have more information
 
Kim Prescott
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok i solved my pb.
I forgot to catch the exception.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!