File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes custom events in j2me 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 "custom events in j2me" Watch "custom events in j2me" New topic
Author

custom events in j2me

kumar mdu
Ranch Hand

Joined: Jan 04, 2011
Posts: 59
I amdeveloping a JavaME application that will run in the background and monitor events and upon some event match like say at certain specefic time, and on the capture of the event invoke some methods in the application

Is there a way where we can implement such an event listener which will invoke our applications when such an event occurs.

How to raise custom events and handle in J2me.?

kumar
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

What kind of events? Be aware that MIDlets run in a sandboxed environment and can't monitor system events.

luck, db
There are no new questions, but there may be new answers.
kumar mdu
Ranch Hand

Joined: Jan 04, 2011
Posts: 59
I'm working in the connection, when i receive a string from the server, after getting response.

jus assume that, i have a single string! a string is received and i want to raise a event to my application that a event happens

In java, we use EventObject class, EventManager class, EventListerner to create a custom events..?

how can i do this in ME?
 
 
subject: custom events in j2me
 
Similar Threads
how can i use java to encode a MS-WORD file ?
Application that runs in Background and monitors event
How to write listners in java !!
awt!!!
Event Generation