Hello everyone,
I want to create a native widget according to the sample https://developer.tizen.org/community/tip-tech/communication-between-native-widget-and-ui-app, since I cannot run these sample apps on the emulator due to manifest errors.
But when I create a similar widget app (Tizen 2.3.2; TizenStudio 1.2), I get the following error when trying to run the application, even if it is just the default wearable widget template with the privilege "app_manager launch".
Message in error popup window:
Cannot install application.
Error code: MANIFEST_INVALID
Error message: MANIFEST_INVALID
Command: /usr/bin/pkgcmd -G -q -i -t tpk -p "/opt/usr/apps/tmp/org.example.basicui-1.0.0-x86.tpk"
Management: Check manifest.xml in manifest editor.
But I cannot find an error in the manifest file (debug does not identify any error, the application is build without any error or warning) :
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<manifest xmlns="http://tizen.org/ns/packages" api-version="2.3.2" package="org.example.widget" version="1.0.0">
<profile name="wearable"/>
<widget-application appid="org.example.widget" exec="widgeti" main="true" update-period="0">
<label>widget</label>
<icon>icon.png</icon>
<support-size preview="preview.png">2x2</support-size>
</widget-application>
<privileges>
<privilege>http://tizen.org/privilege/appmanager.launch</privilege>
</privileges>
</manifest>
Is it not possible to use the app_manager launch privilege in widgets?
Best Regards