I need a simple Nokia Symbian S60 v5 native app that periodically restarts the phone every certain number of minutes.
# The app should be signed and ready to be installed directly on the phone.
# We will require the source code to make minor changes later.
Here's the algorithm needed:
App starts automatically when phone starts
Define Default URL (string)
Define Default Duration (int)
Perform HTTP get request to Default URL (include ?IMEI=#phone IMEI#)
Retrieve a single line of text containing a single int value (Master Duration)
If HTTP get succeeds
Duration = Master Duration
If HTTP get fails
Duration = Default Duration
If Duration = 0
Wait 2 minutes then restart phone
If Duration >0
Wait Duration minutes then restart the phone
The application should be extremely reliable and could run for many hours in the background for restarting the device.