语言

Menu
Sites
Language
APP_CONTROL_OPERATION_SHARE_TEXT is not working in Tizen 3.0

Hello,

here is my code, in which i am sharing some text to another application on button click.

app_control_h app_control;
app_control_create(&app_control);
app_control_set_operation(app_control,APP_CONTROL_OPERATION_SHARE_TEXT);
app_control_add_extra_data(app_control,APP_CONTROL_DATA_TEXT,"Hello World!!!");
app_control_set_mime(app_control, "*/*");
app_control_send_launch_request(app_control, NULL, NULL);
app_control_destroy(app_control);

It works properly in Tizen 2.4. But not showing any application on click, while sharing text in Tizen 3.0.

Will anyone plz tell me, what's wrong with this???

响应

1 回复
Yasin Ali

Hi,

Check if any API conflict exist within your application.
Link: https://developer.tizen.org/development/tizen-studio/native-tools/configuring-your-app/manifest-text-editor
Check for any Deprecated API exist or version is edited appropriately.

Attributes:
 •api-version

Applications that use sensitive APIs must declare the required privileges in the tizen-manifest.xml file.
Since the privilege categories differ for each API type, make sure you define the correct privilege
related to the API you need.

Hope it will help you.
If you find my post is helpful for you, please mark it as answer to promote this post to others.