• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Incomming call and Midlet

 
Nesan Krish
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to configure a Midlet to be launched automatically when an incoming call comes?

Thanks.
 
Sathya Srinivasan
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not to my knowledge. Normally, the AMS is setup such that when a call comes in when a MIDlet is running, the AMS will automatically pause the MIDlet and let the default phone application to take the call. So, essentially, the incoming phone call is outside the AMS' control. That said, each phone may have a hook to associate a program to handle phone calls, but it's not within the Java spec though.

It is somewhat similar to asking if a Java program can be run when your Windows OS boots up. You can, but that will be a control within Windows and not really within the JDK or even your app.

In short, you can setup a MIDP app to initiate a call, but not answer (at least not without using the phone-specific API or functionality). For all other types of inbound connections, you can use the PushRegistry class.

Also, take a look at these links:

http://www.velocityreviews.com/forums/t132020-j2me-call-control.html
http://www.devx.com/wireless/Article/20154/1954

 
Nesan Krish
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I really want my Midlet to answer incomming calls.

Is Apple iPhone API offer this funtionality?

Thanks.
 
Sathya Srinivasan
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Apple iPhone API offer this funtionality?


I don't know, but to my knowledge, iPhone and Android (Google phone) have their own SDK and are not J2ME compliant. You might have to look into their individual SDKs to see what they offer. If they do have something, it would be specific to iPhone/Andriod and won't work on other J2ME phones.
 
Nesan Krish
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can Symbian native C++ libraries be used to answer an incoming call programatically?

Thanks.
 
Sathya Srinivasan
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure. Since this is a Java specific forum, you might have better luck elsewhere, such as a Palm forum or a forum that is specific to your Phone.
 
Nesan Krish
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In short, you can setup a MIDP app to initiate a call, but ....


After initiating a call, will a Midlet be able to read touch tone input from the recipient?

Thanks.

 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11890
203
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This really has nothing whatsoever to do with studying for the Sun Mobile Application Certification. I'm moving this to the Java Micro Edition forum.

Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic