Hello
I am trying to make a application that will autostart on incoming sms:s.
I looked at the "How_To_-_Create_an_auto-start_MIDlet_using_the_PushRegistry" but I use the UIapplication not a MIDlet .
Can this be done?

//Signals the MIDlet to stop and enter the Pause state.
public void pauseApp()
{
}

//Signals the MIDlet to terminate and enter the Destroyed state.
//Unconditional when set to true. The MIDlet must cleanup and release
//all resources.
//Otherwise, the MIDlet may throw a MIDletStateChangeException to
//indicate it does not want to be destroyed at this time.
public void destroyApp(boolean unconditional)
{
try
{
//Close the connection.
mc.close();
}
catch(IOException ioe)
{
System.out.println(ioe);
}
}
}