[GUIDE][HOWTO] Build an APK installer for your Tizen widget - Samsung Galaxy Gear

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.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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!!!!

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

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?

hoan999999 said:
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?
Click to expand...
Click to collapse
its to difficult to be automated as a script because each app name is different, and the transfering between multiple apps

gav83collins said:
can someone test both of these tera.calculator wgt converted to apk for me, preferably a non samsung device
Click to expand...
Click to collapse
Is working on my Gear2 Neo installed from LG G3 using Gear Manager versión 2.1.14071502 :good:

Skin1980 said:
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!!!!
Click to expand...
Click to collapse
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?

Related

[Mod]Battstatt - spanish

Little mod to battstatt,to display battery info in spanish, has some minor glitches with the sizes except large one, and another one that happen when the battery is below 10% the message below that percent has the "_y_" in front, that's because how the numbers are written in spanish. dont know how to fix it without the source code or messing with the widget core.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hope someone find this useful.
any advice are welcome!
All the credits to http://blog.mudderman.com/ <- original autor of battstatt
thanks! it looks beautiful
Can you maybe explain how you changed the launguage?
I would like to make for my.
stifler05 said:
Can you maybe explain how you changed the launguage?
I would like to make for my.
Click to expand...
Click to collapse
yea, sure, you need the program, apk manager, http://forum.xda-developers.com/showthread.php?t=695701
with this, you can extract the installed apk from your phone to your pc, then this pogram can decompile the apk, with this you get the main files for the widget to work, there is a folder called "res", and inside is another one called "values", there are two xml file in wich you can change the language,arrays.xml and strings.xml.
in that two files you can modify the languaje displayed, be careful when changing the names because of the dependencies with other setings in the widget.
then with apk manager, you can compile again the apk and install it in to your phone.
thats, all
hope helps you.
kmilof said:
yea, sure, you need the program, apk manager, http://forum.xda-developers.com/showthread.php?t=695701
with this, you can extract the installed apk from your phone to your pc, then this pogram can decompile the apk, with this you get the main files for the widget to work, there is a folder called "res", and inside is another one called "values", there are two xml file in wich you can change the language,arrays.xml and strings.xml.
in that two files you can modify the languaje displayed, be careful when changing the names because of the dependencies with other setings in the widget.
then with apk manager, you can compile again the apk and install it in to your phone.
thats, all
hope helps you.
Click to expand...
Click to collapse
Thank you mate.
"Text Battery Widget" has spanish builtin

[Guide] Making Beweather icon pack

Several people have asked me how i change my beweather icons. In fact in my litttle dev group im the bewather guy lmao (inside joke nevermind). So, here is a guide on how to make your own icon pack for beweather.
If some of you do now know what Beweather is, it is a FANTASTIC weather app. I have been using it for a while, even back when i was in my Blackberry days. Here is the link to the page telling you more about the Beweather app. http://forum.xda-developers.com/showthread.php?t=1211903
Items needed
Fist, make sure you have 7-zip installed on your computer. If you do not then search for it on google, download, then install.
Next download any icon pack from beweather. OR for now go ahead and download one of my latest ones here. http://d-h.st/pml
How to:
Now its time to get down to business.
Create a new folder on your desktop called...well whatever. Keep it called New Folder for all i care.
The icon packs are in a .bwi format. Locate the .bwi file on your computer and right click on it. Move your mouse cusor down to 7-zip, then select Open Archive. Basically this allows you to edit the file (including zips and apks) without unzipping or decompliling. Select all the icons and drag them over to that New Folder you created on your desktop. Now you will be able to open the icons and edit them.
Edit the icons: Basically just do that lol. Use your favorite program like gimp, Microsoft Paint, or my favorite Photoshop to open the pic and edit it. Make sure you save the icon back to the same name it originally was.
When you are done editing your icons, go back to the .bwi file and use 7-zip to open the archive once again. Now that the archive is open, go ahead and open back up the New Folder you created. You should have both folders open now. Select all the icons from the new folder and drag them into the Archive of 7-zip. A box with pop up asking if your sure you was to copy files to that file...select YES. WARNING: anytime you use this method you MUST be sure that the files your adding are NAMED THE SAME or it wont work right.
Now that your done moving icons, You can rename the file to anything you want by right clicking on the .bwi file and selecting Rename. Just be sure to keep it a .bwi file.
Congrats! You now have a new icon pack! Call you Mom and make her proud that instead of doing something useful, you spent time making weather icons...
To install the icons simply move them to the Beweather folder on your sd card.
Hope this helps!!!!!!!!!!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FYI...BeWeather was just updated in the market.
sent from my Galaxy Nexus running official Jelly Bean!!!!
Many many many thanks ! It worked !:good::victory:
ipred said:
Many many many thanks ! It worked !:good::victory:
Click to expand...
Click to collapse
No prob. Glad I could help!!!!
Sent from The Bacon Pope's Oppo Find 5

[REQUEST] Help!

Please help me to decompile SystemUI.apk, I tried to put the notification bar transparent modifying this line of XML systemUI:
changing: android: id = "@ id / notification_panel" android: background = "@ drawable / notification_panel_bg" to "# 00000000" and soon after recompiling the APK tool nothing happens, it seems that the signature changes and my systemui is corrupted why the notification bar disappears.
Can someone teach me the correct way to decompile/compile system applications? Wanted it to be so.
Follows an example image:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Drag the original meta-inf and manifest into the apk
Sent from my GT-I9100 using Tapatalk 4 Beta
Sent from my GT-N7000 using xda premium
How to do it? Since these files will already be decompiled? We took a step by step I would appreciate
GiRaFa-SAMA said:
Sent from my GT-N7000 using xda premium
How to do it? Since these files will already be decompiled? We took a step by step I would appreciate
Click to expand...
Click to collapse
When you use apk-tools you could do a compile system app, it copies good signatures automatically
Whatever, if you want to copy the good signature, open your apk with winrar or 7zip, then open the original apk.
Drag and Drop the Folder META-INF and the file manifest.xml from the original apk to the new compiled apk.
And it's over
ezaechiel said:
When you use apk-tools you could do a compile system app, it copies good signatures automatically
Whatever, if you want to copy the good signature, open your apk with winrar or 7zip, then open the original apk.
Drag and Drop the Folder META-INF and the file manifest.xml from the original apk to the new compiled apk.
And it's over
Click to expand...
Click to collapse
I use the tools apk modified by Madninj (think is asim who writes their nickname)
But anyway, thank you for explaining, and I've tried previously with apktool and it did not work, I'll try with 7zip.

[TOOL][DEV]MyFirstRom v1.0.0.0 by GG2SD #myfirstrom

Hello everyone users, today I want to present my latest creation: MyFirstrom.
Requirements:
Code:
-Microsoft. NET Framework 4.5.1 available: [URL=http://go.microsoft.com/?linkid=9839392] HERE [/URL]
-Java JDK 8 available: [URL=http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html] HERE [/URL]
-Android SDK Tools available: [URL=http://dl.google.com/android/installer_r22.6.2-windows.exe] HERE [/URL]
This tool works on Windows, Linux and Mac OS (linux and mac I have not tested it yet, but to do so would run Wine, as it was developed for Windows, and have the extension *. Exe).
Here are the main features:
Code:
[COLOR="Red"][SIZE="5"]FEATURES:[/SIZE][/COLOR]
-Decompile Apk
-Rebuilding Apk
-Sign Apk
-Create un-sign zip
-Create signed zip
-Edit build.prop
-Edit the Update-Script
-Create tweaks / scripts to be included in the folder init.d
-Add Apk to rom and update.zip
Here are the screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Set development environment:
JAVA:
Code:
Download and Install the JDK 8 on the link above, open the Control Panel and look for "Advanced System", open it and click on "Environment Variables ..."
find the path variable and add these lines to the end:
"C:\Program Files\Java\jre8\bin;"
[COLOR="Red"][SIZE="5"]WARNING:[/SIZE][/COLOR]
if you have a 32-bit system you will need to change the lines and add these in place of those:
"C:\Program Files (x86)\Java\jre8\bin;"
SDK-PLATFORMS:
Code:
Create a folder in the path "C:\" and call it "Android", install the sdk-platforms and use this folder as the installation folder.
Open the environment variables and add these to the string variable path:
"C:\Android\platform-tools";
without the quotes.
Now that we have set the development environment can run the installer and install the tool.
For those wishing to publish a custom rom created with this tool will add to the post title or the hashtag #myfirstrom #mfr.
I hope this tool will serve to many of you, especially those who are beginners.
Thanks:
Code:
-Abhi922 for the rom base that is the simplicity v5
-The team that created ApkTool and SignApk
-Me for the tool and the GUI
-Benzyniarz1 the inspiration for the design of update zip creator
Here is the download link:
Setup.exe
For anyone wishing to make a donation to allow the tool to move forward with the development please click below:
PS:
This tool was developed for Windows 8 and 7 do not think that they appear fine objects.
On the login screen to access the tool the default username and password are: root.
But you can change to create a new account.
THANKS!!!
Hello!
Good thing for starters (aka noobs/newbies/etc). Maybe there will be danger of ROM flooding in Dev thread, but still good
Best regards.
devloz said:
Hello!
Good thing for starters (aka noobs/newbies/etc). Maybe there will be danger of ROM flooding in Dev thread, but still good
Best regards.
Click to expand...
Click to collapse
Thanks man!!!
In the next version add a new functionality: Download The Rom for a specific device!!!

[APP] Rwiftkey Theme Manager

*require root*
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Rwiftkey Theme Manager
Manager app for Microsoft Swiftkey keyboard app.​
Features
Installing themes from .zip
Automatically install .rwift files
Cleaning all custom themes
Works for both beta and stable Swiftkey
Themed A13+ icon
Cool easteregg
Shortcut for custom themes tab in swiftkey
Open Source
Download (Github releases)
For android 6.0 and up
How to use
Make sure you are using ROOTED android 6.0+
Download and install manager
Grant root
Install themes by clicking this big add button or importing .rwift files
Enjoy
Making theme pack
Get already existing mod of Swiftkey or port of Swiftkey factory settings app
Inside of this app you have "assests" folder which contains "themes" folder
Copy all files from "themes" to any new folder
Rename themelist.json to themelist_custom.json
Select all files from this folder and pack it to zip
(Optional) Rename .zip to .rwift so its easier to install via telegram or file manager
Links
Telegram channel (You can get ready .rwift files and updates about this project)
Example rwift themes (Github)
Source code (Github)
VegaBobo (Dev)
First
Thanks for your work, really makes me want to get into rooting again
Love the one ui one
Hope someday we get a monet theme for swiftkey
Love this! Any idea how to make SwiftKey themes?
AlcatrazBlaze said:
Any idea how to make SwiftKey themes?
Click to expand...
Click to collapse
+1
AlcatrazBlaze said:
Hope someday we get a monet theme for swiftkey
Click to expand...
Click to collapse
+1

Categories

Resources