05-23-2012 03:29 PM
I am a developer blackberry and when I'm creating an application that receives data via SMS treats and returns.
The application is working perfectly. But the message comes only when the application is open.
When the app is closed the message goes to the inbox and is interpreted as an ordinary SMS. Since this is not the desired behavior.
In J2ME PushRegistry that we have is something like "MIDlet-Push-1: sms://8888, hello.HelloMidlet, *". It filters the messages and run the app giving proper treatment.
How would I do to do the same on the BlackBerry?
You have/know of any sample code?
I'm trying to solve this problem for weeks.
I've tried putting the "MIDlet-Push-1: sms://8888, hello.HelloMidlet, *" pointing to my application via rapc did not work.
This guys try solve this problem with Daemon Thread. This is the unique way? You have/know of any sample code?
Observation.: The push has to be via SMS.
BB JDE 5.0.0
Simulator: BB 8520 5.0.0