Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,386 Members 38,559 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Skin1980
Old
(Last edited by Skin1980; 5th September 2014 at 06:59 AM.)
#1  
Recognized Developer - OP
Thanks Meter 1,850
Posts: 1,132
Join Date: Nov 2009

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

I just posted this on the Gear 1 forum but i think that also the Gear 2 users need it.

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 Files
File Type: zip HelloAccessory (3).zip - [Click for QR Code] (1.42 MB, 23 views)
If I deserve you can buy me a beer
The Following 3 Users Say Thank You to Skin1980 For This Useful Post: [ Click to Expand ]
 
gav83collins
Old
(Last edited by gav83collins; 5th September 2014 at 01:49 AM.)
#2  
gav83collins's Avatar
Senior Member
Thanks Meter 735
Posts: 1,949
Join Date: Dec 2010
Location: Bunbury-Western Australia
nice budd thanks

"1- unpack the apk source attached at this post;"

do you mean hello accesory from the tizen sdk template packages
Galaxy S5 G900f
ROM Omega latest
KERNEL testing
STATE Rooted / UnLocked
RECOVERY twrp

Also S4 I9506 & S3 I305T
iPhone 4 ios7 jb
IPad mini ios 7 jb

Evo3D
multi booting x9 roms currently

Galaxy Gear 1 & Gear 2 SM-V700 / SM-R380
STATE Rooted/BusyBox
ROM TizenMod V3.0

Gear <S4 <Note2 <S3 <Evo3D <S2 <dhd <Omnia HD <Omnia 2 < Omnia 1
(not including iphones)
The Following User Says Thank You to gav83collins For This Useful Post: [ Click to Expand ]
 
Skin1980
Old
#3  
Recognized Developer - OP
Thanks Meter 1,850
Posts: 1,132
Join Date: Nov 2009

 
DONATE TO ME
Quote:
Originally Posted by gav83collins View Post
nice budd thanks

"1- unpack the apk source attached at this post;"

do you mean hello accesory from the tizen sdk template packages
I forgot to attach the source.... Check the same thread on gear 1 forum and you will find it. Sorry
If I deserve you can buy me a beer
 
gav83collins
Old
#4  
gav83collins's Avatar
Senior Member
Thanks Meter 735
Posts: 1,949
Join Date: Dec 2010
Location: Bunbury-Western Australia
can someone test this, tera calculator in attachments
Attached Files
File Type: apk tera calculator.apk - [Click for QR Code] (311.6 KB, 15 views)
Galaxy S5 G900f
ROM Omega latest
KERNEL testing
STATE Rooted / UnLocked
RECOVERY twrp

Also S4 I9506 & S3 I305T
iPhone 4 ios7 jb
IPad mini ios 7 jb

Evo3D
multi booting x9 roms currently

Galaxy Gear 1 & Gear 2 SM-V700 / SM-R380
STATE Rooted/BusyBox
ROM TizenMod V3.0

Gear <S4 <Note2 <S3 <Evo3D <S2 <dhd <Omnia HD <Omnia 2 < Omnia 1
(not including iphones)
 
gav83collins
Old
#5  
gav83collins's Avatar
Senior Member
Thanks Meter 735
Posts: 1,949
Join Date: Dec 2010
Location: Bunbury-Western Australia
where am i going wrong mate




Galaxy S5 G900f
ROM Omega latest
KERNEL testing
STATE Rooted / UnLocked
RECOVERY twrp

Also S4 I9506 & S3 I305T
iPhone 4 ios7 jb
IPad mini ios 7 jb

Evo3D
multi booting x9 roms currently

Galaxy Gear 1 & Gear 2 SM-V700 / SM-R380
STATE Rooted/BusyBox
ROM TizenMod V3.0

Gear <S4 <Note2 <S3 <Evo3D <S2 <dhd <Omnia HD <Omnia 2 < Omnia 1
(not including iphones)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes