[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 421
  • Last Modified:

How to auto-launch a midlet with SMS

We have a midlet runing on a Samsung m580.
It is J2ME
We are trying to start the midlet remotely by sending a text message to the phoneusing the JSR120 protocol.

It works, but causes the phone to prompt the user for permission to start.  This is a problem since the user is not always available to interact with the phone.

Is there a way to configure the midlet so that either

1) it does not require user approval
2) it asks only th first time it is lauched-"Allow ALways"-then does not ask each time it launches.

One consultant thought the jad file of hthe midlet could be modified to allow text message coming in on a port (16555) to launch without asking permission.

Steve
0
Delivery
Asked:
Delivery
1 Solution
 
deeppraCommented:
Refer the below tutorial for lanching the Midlet using SMS API provided in MIDP 2.0 Profile,
http://www.javaworld.com/javaworld/jw-04-2006/jw-0417-push.html?page=2

And also if you sign your midlet then it wont ask the user permission when ever your midlet starts automatically, Please find the below tutorial regarding signing MIdlet
http://sw.nokia.com/id/fe8f54d9-c53d-48c3-9c97-afaf66650a6f/MIDP_2_0_Tutorial_On_Signed_MIDlets_v1_0_en.pdf
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now