Calling A Method from ServiceApp

Calling A Method from ServiceApp

BY 20 Aug 2019 Tizen .NET

I am using this tutorial for using a ServiceApp in Tizen Werable Application. Can I call a specific method from the application which launched the service ?

e.g. I have the following methods in my ServiceApp_App.cs file:

 

public void StartRecordingData()
{
    //Do Something
}

public void StopRecordingData()
{
    //Do Something
}

 

Can I call these methods by any means from the UI App (which launched the Service App) ?

I was thinking about using the AppControl object somehow, which I used to launch the Service. Any guidance will be highly appreciated 🙂 

Written by