Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Skin1980

4th September 2014, 07:28 PM   |  #1  
OP Recognized Developer
Thanks Meter: 2,786
 
1,446 posts
Join Date:Joined: Nov 2009
Donate to Me
More
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:	5120
Size:	129.4 KB
ID:	2924550  
Attached Files
File Type: zip HelloAccessory.zip - [Click for QR Code] (1.42 MB, 129 views)
The Following 7 Users Say Thank You to Skin1980 For This Useful Post: [ View ]
22nd September 2014, 08:29 AM   |  #2  
gav83collins's Avatar
Senior Member
Flag Bunbury-Western Australia
Thanks Meter: 950
 
2,384 posts
Join Date:Joined: Dec 2010
More
can someone test both of these tera.calculator wgt converted to apk for me, preferably a non samsung device
Attached Files
File Type: apk tera.calculator.signed.apk - [Click for QR Code] (282.8 KB, 40 views)
File Type: apk tera.calculator.unsigned.apk - [Click for QR Code] (278.6 KB, 24 views)
26th September 2014, 12:39 PM   |  #3  
Junior Member
Hanoi
Thanks Meter: 0
 
25 posts
Join Date:Joined: Mar 2011
More
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?
26th September 2014, 05:58 PM   |  #4  
gav83collins's Avatar
Senior Member
Flag Bunbury-Western Australia
Thanks Meter: 950
 
2,384 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by hoan999999

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?

its to difficult to be automated as a script because each app name is different, and the transfering between multiple apps
26th September 2014, 09:48 PM   |  #5  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Sep 2014
Quote:
Originally Posted by gav83collins

can someone test both of these tera.calculator wgt converted to apk for me, preferably a non samsung device

Is working on my Gear2 Neo installed from LG G3 using Gear Manager versión 2.1.14071502
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes