wood burning stoves*
The moose likes Java Micro Edition and the fly likes Application that runs in Background and monitors event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Application that runs in Background and monitors event" Watch "Application that runs in Background and monitors event" New topic
Author

Application that runs in Background and monitors event

Dushyant Chhetri
Ranch Hand

Joined: Oct 28, 2009
Posts: 75
Hi All,

I am looking forward to develope a JavaME application that will run in the background and monitor events and upon some event match like say at certain specefic time (alarm sort of a thing), and on the capture of the event invoke some methods in the application after which the user has the option of minimising the application.


In other words the application will have a front end with UI and also a sweeping method that runs in the background..

Is it possible to do the same and if what APIs or frame work or subtle techniques will allow us to implement the same.

Thankx..
Dushyant Chhetri
Ranch Hand

Joined: Oct 28, 2009
Posts: 75
Is there any background listener available in J2ME that will listen to any events.

What I want to know is like in the native phone applications which listens to a preset alarm or an incoming call or a sms is there a way where we can implement such an event listener which will invoke our applications when such an event occurs.

I am considering my application not in active state when the listener is invoked by the vent.

Please help me.....

Dushyant Chhetri
Ranch Hand

Joined: Oct 28, 2009
Posts: 75
Hi
I found out a way which can be used as a solution to the above mentioned problem..


We can yuse PushRegistry

please refer the link below.

Push Registry

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Application that runs in Background and monitors event
 
Similar Threads
how to keep a java servlet running in the background?
custom events in j2me
threads initiating threads
Object Ownership
Launching java application from batch file