Languages

Menu
Sites
Language
Can I make backgound service which starts on after boot completed?

I want to make a application which starts to run after boot.

Because it have to send its status ( device is ready or not ) to the server.

So it requires that feature ( to start automatically after boot. ).

It looks the Native env supports this with Service Applications,

the .Net Env/Application can this?

 

Thanks. 

Responses

2 Replies
Armaan-Ul- Islam

As far as I've seen the tizen-manifest.xml in Tizen.NET application source there's no option to set on-boot launch.

 

You can use the Alarm API which registers an alarm in the system to trigger functions at interval/exact time. Check this relevant post for insight:

https://developer.tizen.org/forums/native-application-development/wearable-start-service-application-restart

 

Alarm API References for Tizen.NET:

Alarm API Guides

Class Alarm

Class Alarm Manager

 

Sunghyun Park
Thank Armaan-UL-Islam.
 
I will check that.
On 4.0 SDK with VisualStudio, I found SerivceApp template which gives the option, launching on boot,
but I tried with the option on emulator, it doesn't work.