语言

Menu
Sites
Language
exporting our own functionality using application control

Can any boby explain how to export own functionality in our application  so that  exported functionality can be used by other application   with example

 

 

 

 

响应

4 回复
Alex Ashirov

Hi,

You can take a look at development guide article:

https://developer.tizen.org/dev-guide/2.2.1/org.tizen.native.appprogramming/html/guide/app/app_controls.htm

In brief, you need to export your AppControl functionality in your manifest file as described below:

https://developer.tizen.org/dev-guide/2.2.1/org.tizen.native.appprogramming/html/guide/app/exporting_appcontrol_functionality.htm

Also, you need to implement IAppControlProviderEventListener interface:

IAppControlProviderEventListener::OnAppControlRequestReceived()

You should send the result back to the calling application with the

AppControlProviderManager::SendAppControlResult()

 

P puvvada

Is it possible to export a particular native form of a application as a functionality

Alex Ashirov

Yes, When your AppControl will be called by other application then you application will be moved to foreground and its IAppControlProviderEventListener::OnAppControlRequestReceived() method will be called. So, you can activate any form of your application at this point.

P puvvada

Thanks a lot  Now its working