[quote user="d.ly"]
At the moment we are using the Skeye.Dart handheld.
[/quote]
You know that this is a forum for Psion devices only, right?
[quote user="d.ly"]
We know that our application is more stable when we always start after a power on. Our application is written in Java and our Java VM is IBM J9. We could write a C# program that can check if the the application is a single instance, but it is simpler if we can power off the device by JNI. But if it is not possilbe then we can try the old school version by command prompt, mentioned by Programmer in the reply above.
[/quote]
So, basically, what you want to do is to kill the application when the device resumes from suspend, and then restart? We have a PowerManagement namespace where you can register power management events. See the Samples directory of the MDSDK 5.4 under Java, and look at the SdkDemoApplication. There you can see how 'onPowerManagementEvent' works. From there, you can detect a suspend/resume, and then you can kill your application and then restart it...