• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Incomming call and Midlet

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible to configure a Midlet to be launched automatically when an incoming call comes?

Thanks.
 
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
author and jackaroo
Posts: 12199
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic