Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / April 2005

Tip: Looking for answers? Try searching our database.

j2me, incoming phone calls handling

Thread view: 
Maxim Kasimov - 18 Apr 2005 08:46 GMT
i'm trying to handle incoming phone calls placing some code to pauseApp, but on Siemens CX65 it did't works
is it device specific?
is there some example of how to properly handle that situation?

Signature

Best regards,
Maxim Kasimov
mailto: kasimov@i.com.ua

Darryl Pierce - 18 Apr 2005 12:26 GMT
> i'm trying to handle incoming phone calls placing some code to pauseApp,
> but on Siemens CX65 it did't works
> is it device specific?
> is there some example of how to properly handle that situation?

What are you trying to do, exactly? The device, when an incoming call is
received, is *supposed* to invoke MIDlet.pauseApp() and give the
application a chance to go into the paused state. However, some devices,
including Samsumg, just freeze the VM at the point the call is received
rather than gracefully notifying the handset. There's not really much
you can do if that's the case. If you're running time-sensitive code,
then you can check timestamps and see if there's an unexplainable gap
and then adjust to fix it (I had to do this in some games I wrote).

Signature

Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: http://mcpierce.multiply.com
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.