Skip to main content

problem in application invokation by sms(using static pushregistry)

2 replies [Last post]
sonalagar
Offline
Joined: 2009-03-06
Points: 0

Hi all,

I have made an entry in jad file so that app get started automatically(using pushregistry) when sms arrives on that particular port.
Though now I have got my application signed,even then when sms arrives on this port,it prompts the user that "1 new 'app-name'",n user has to select the start to start the app.Shouldnt app gets startes automatically without promptimg the user?
Also this no. gets on increasing on every successive sms arrival like 2 new ,3 new n so on.
Whats the reason for this?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
guy_penda
Offline
Joined: 2009-03-26
Points: 0

Hi Sonolagar! Sorry not to answer your question but asking another one. Can you just tell me wich configuration u did to get the application started on incoming sms on a particular port? In my project to receive an sms I just cstomized the sample code from the WTK 2.5 (WMADemo) but sometimes the application starts at incoming SMS (by prompting the user) and sometimes it doesn't. But even when its starts, its stucks at the splash screen and doesn't go further (The correct behaviour should be parsing the sms and display the information - my sms is xml). When I launch the application normally everything works correctly. If there is any explanation for this please let me know.
Thanks in Advance!

sonalagar
Offline
Joined: 2009-03-06
Points: 0

you just need to make an entry in jad file of the application

MIDlet-Push-1: sms://:port, test.javax.microedition.midlet.PushRegistryApp, *

replace "port" with the port no. on which you want your application to get invoked,then name of application