I want to implement push notification in j2me application. In t开发者_如何转开发his the want to keep notification when i get the certain value from the web service.
I had never done this functionality.Can anyone please help me how to get the notification message at particular time interval.
Java ME phones don't have a regular platform for push notifications. At least not like Apple does in iOS. What exactly are you trying to do? Do you need your notifications to arrive when your app is not running? Because that's impossible in most phones supporting Java ME...
You can use Alert For that as shown in this Example. If you need Alert after a particular time interval then you have to create Thread
s for that which will run continuously. One thing I want to mention here is that this is possible only when your application is running.
精彩评论