Default [GUIDE][HOWTO] Build an APK installer for your Tizen widget

Hi guys, i see many lovable clock face on this forum that is provided from the author in the wgt form. That file must be sideloaded to the watch with the sdb tool.

Now i explain how to build an apk that can do the works for you. Install and uninstall will never be a problem since all will be done automatically by Gear Manager.



1- unpack the apk source attached at this post;
2- import it in Eclipse like a normal android app;
3- In AndroidManifest.xml change the pkg name to whatever you like:
Code:
package="com.samsung.android.example.helloaccessoryprovider"
4- in res/values/strings.xml change the App name to whatever you like:
Code:
<string name="app_name">HelloAccessory(P)</string>
5- copy the wgt in the assets folder;
6- export like android app;
7- DONE!!!!
Attached Thumbnails
Click image for larger version

Name:	Cattura.PNG
Views:	2685
Size:	129.4 KB
ID:	2924550  
Attached Files
File Type: zip HelloAccessory.zip - [Click for QR Code] (1.42 MB, 12 views)
If I deserve you can buy me a beer