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

Search This thread

Skin1980

Inactive Recognized Developer
Nov 25, 2009
2,490
6,233
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.

attachment.php


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!!!!
 

Attachments

  • Cattura.PNG
    Cattura.PNG
    129.4 KB · Views: 14,953
  • HelloAccessory.zip
    1.4 MB · Views: 1,797

hoan999999

Member
Mar 30, 2011
26
0
Hanoi
I'm pleased to announce that it works perfectly on my TizenMod 3.0 G2N watch. May I just pledge $10 if we can have an automated tool?
 

Danie_Swanepoel

New member
Jan 26, 2016
1
0
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.

attachment.php


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!!!!

I have the Samsung Gear S2, I created a watchface using gear watch designer and got 2 files one is a .tpk and the other .gwd so i used this tutorial with these extensions but i am getting a error app is not from samsung gear apps see attached screenshot I have the option ticked on my phone to install from unknown sources any ideas?
0
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    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.

    attachment.php


    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!!!!