yashsingh1/xdaforums huggingface dataset:
[Android Software Development] foresterr:
Sorry for being overly dramatic. By nothing, I meant mostly java, and by mostly, I mean only java. The interface and everything else worked, but when I tried executing any step that would use those .jars I would get hit with a "file not found" exception (and that unfindable file was 'java', not the .jar, I verified that).

That got me confused, because I was certain I had installed java (by clicking "install java" in Chrome - it never asked me which exact version I would like) before and could even invoke java and run the .jars from command line. Turned out Gimp apparently couldn't see that java because it was 32 bit and after I installed 64 bit java (you can have both on the same 64 bit Windows machine at the same time) the problem vanished.
[Android Software Development] Kdio:
Hi foresterr

Thanks for the complementary description of the (mis)behavior.

Indeed, when you install JRE he adds itself to the system PATH variable unveiling 'java''. You may proof it, now it's installed, by issuing the "PATH" command at a terminal. You will see the jre path there ;)

This confusion was generated by me and corrected by you :D

On further installations, if you get a chance, just install JRE, regardless browser, from the source I've linked. :good:

Thank you.

.
[Android Software Development] foresterr:
It may interest you that it actually does not (at least speaking about java 7 on windows 7 x64) - it installs 'java' binary into windows\system32 instead (32 bit java does that with windows\sysWOW64). Just a curiosity I guess ;)
[Android Software Development] Kdio:
Windows 7 Pro x64 + JRE7

[IMG="Terminal"]http://img.ctrlv.in/img/14/07/11/53bff04b219ce.png[/IMG]

,
[Android Software Development] foresterr:
Interesting, thank you. I assure you I don't have this PATH entry, instead I have java.exe in C:\Windows\system32.
[Android Software Development] Kdio:
You were completely right all the time. Thanks for enlightening me.

Source: http://stackoverflow.com/questions/...system32-java-exe-and-program-files-java-jdk1

.
[Android Software Development] prdog1:
Beats me. I'm lost now. lol. I always install the 64-bit JDK which also installs the JRE. I then put JRE first in enviromental path and JDK second as it will grab the first one it needs. If only needs JRE will grab that. If needs the extras from JDK will grab that. Have never had a problem. :cool:
[Android Software Development] Kdio:
Hi prdog1

That knocked me off too dude.

I always install jre only and, AFAIK, those additions to the PATH were made by the installer, not me!!!

That's why, initially, I was unable to see what was happening.

With the install instructions now rewritten, next time, I will be able to follow them :D

Nice regards.

.
[Android Software Development] prdog1:
HaHaa. Yea. That made my head hurt. Was always taught by the devs that trained me to grab the JDK and add both to path with JRE 1st and JDK second. Have never seen anything not run from anywhere regardless if it was program or command line. :cool:
[Android Software Development] LeftyGR:
Yay! I got my laptop back and get to start using this again! Now I just gotta finish my theme and make it NOT look like all backs black...lol
[Android Software Development] LeftyGR:
[MENTION=2147860]Kdio[/MENTION] or anyone else.

So I'm setting up the tool to start using (I've been without a computer since this new thread was started). Everything is installed and KATKit shows in the menu bar. To finish configuration, the op says to edit default.env. However, the section to edit inside the file does not exist. I do have the current jre installed... Do I need to add it? Win7 32bit OS,with fresh install of recommended GIMP and current KATKit.

View attachment 2849976
[Android Software Development] Kdio:
Hi Lefty

You may perform the recommended editions just in case something doesn't work.

If it fail to find Java:

a) copy/paste the below inside that file (just copy/paste)

PATH=${PATH};${gimp_installation_dir}/bin;${gimp_installation_dir}/32/bin
PYTHONPATH=${gimp_installation_dir}/32/lib/gimp/2.0/python

b) Check if Java is in your PATH >> Open a command windows (terminal .. Windows+R cmd Enter ... and type PATH Enter ... check within result if there is a jre7 path there.

That should do ... keep me updated.

Nice regards.

.
[Android Software Development] LeftyGR:
That works. Thank you, sir!
[Android Software Development] Ambor:
bro i have problem

We wtyczce wystąpił błąd: "KATKit.BatchProcess.py"
(C:\Users\Michał\.gimp-2.8\plug-ins\KATKit.BatchProcess.py)
[Android Software Development] galaxyuser88:
how to set this to reconize java se 1.8.0 when i try to compile 9png

this is what i get

Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'

has value '1.8', but '1.7' is required.

Error: could not find java.dll

Error: Could not find Java SE Runtime Environment.
[Android Software Development] UK2K:
Thank you very much kind sir for this tool. This is what I've been looking for. I'm new to theme work and after running through various tools such as Eclipse and other developer tools, thread and webpages I have to say this is a great find.
[Android Software Development] Aeyan Ashraf:
Hello [MENTION=2147860]Kdio[/MENTION] ,

I always get this error that default.env is in use,,,, I restarted the computer, Ended all processes in task manager, but then also It showed the same error
[Android Software Development] 4aces:
Thank you

I can't really express how grateful I am.

This tool is really great as well as all the work from every one in OP. If there is an example for underrated it is you guys and I'm honored to be able to use your great work.

Regards

4aces
[Android Software Development] djdarkknight96:
Finally command line support for resize

https://github.com/redwarp/9-Patch-Resizer/releases
[Android Software Development] Kdio:
2016-02-27 new version

[MENTION=2126467]djdarkknight96[/MENTION] , [MENTION=2365012]4aces[/MENTION] , [MENTION=4223026]coldmethod[/MENTION] , [MENTION=5526655]fhem[/MENTION] , [MENTION=4894137]jlmvc[/MENTION] , [MENTION=4198529]k4bbe[/MENTION] , [MENTION=5282154]pas2001[/MENTION] , [MENTION=4538493]prdog1[/MENTION] , [MENTION=5266065]talkingmonkeys[/MENTION] , [MENTION=4607905]xxmrgreenxx[/MENTION] , [MENTION=5319967]Aaskereija[/MENTION] , [MENTION=4303103]LeftyGR[/MENTION] and all faithful KATKit customers

Just updated OP with a new release of the Tool Set with the following:

a) Updated apktool to v2.0.3 tks to [MENTION=3924617]iBotPeaches[/MENTION]

b) 5 new tools for Samsung Theme Engine

Hope you all enjoy.

Hi D.J. ... I've analysed the risize tool and didn't see how KATKit could improve it. ATM will not include ok ?

Nice regards.

.
[Android Software Development] djdarkknight96:
All good my friend, the update they did makes it super easy to use so I agree! Thanks for looking into it!

DJ
[Android Software Development] 4aces:
Seeing you back is a great relief my friend. I haven't been here in a long while and if it wasn't for you or [MENTION=4223026]coldmethod[/MENTION] I wouldn't be posting. It's a pleasure to see you back in action and fighting those white 9.png png and ffffff color codes.

I traded my s6e for a Note 4 (couldn't go without the Note) but if I can help in any way (even though I still believe it's more probably the other way round) I'll be there.
[Android Software Development] Kdio:
It's our pleasure mate.

yours N5, as with my S5, depending on the ROM you are, maybe you can profit here ;)

Does it have the Samsung S6 Theme Engine?

Cheers.

.
[Android Software Development] Kdio:
Updated - windows users

Hi All

A new update is available at OP

- WINDOWS USERS: finally no more command windows popping up in our faces. :cyclops: Sorry the delay and previous inconvenience.

- APKTool 2.1.0 (still not decompiling MM)

- Tools B & C now with the option to NOT installing framework. May reduce overall time spent.

- The tool "1 - Decompile Theme package" now will erase all public.xml files from the extracted folder (clean up)

- New tool "7 - Gradient" will apply a named gradient to all images into a folder

- Minor code enhancements.

Hope you enjoy.

Nice regards.

.
[Android Software Development] djdarkknight96:
Still not decompiling MM? I have with 2.1.0 and older, unless you mean tw Samsung?
[Android Software Development] Kdio:
Hi D.J.

Nice hear from you :D

Yep ... I meant TW ... Sorry not being sufficient specific as I should. :silly:

There is a workaround using a 2.0.1 version but it's not bullet proof yet.

Thanks you dude.

Nice regards.

.
[Android Software Development] djdarkknight96:
Lol as I came back to reply I noticed this is a Samsung thread..Doh lol All good my friend, hope to make a sammy theme one day.
[Android Software Development] Kdio:
Samsung Thread .. not at all dude. I hope not ;)

In fact, it's my personal focus but the tool should fit everyone's dreams :D

Cheers.

.
[Android Software Development] djdarkknight96:
Oh I think all my team and most the CM theme devs use this in some way. Can't wait to test the new stuff, thanks for keeping it up.
[Android Software Development] Kdio:
New Update - 2016-04-11 - I Can't Help Myself

Sorry dudes .. I Can't Help Myself

New Update ... only 2 things messed ....

a) KATKit >> C - Build APK's --> Now we have Signing Options (Don't Sign | Original Signature | New Signature)

b) New tool @ KATKit >> Theming >> 8 - 9.Editor

The below amazing Nine.Patch Editor that you can set up the Text and Background colors for the preview panel. Very handy indeed.

Brought from WebLAF

Nice regards.

.
[Android Software Development] Kdio:
GIMP Theme

Hi Dudes.

We are theming Android using GIMP but ... where are GIMP Theme ...

Attached there are my personal favourites (share yours too)

- AeroIon

- Prudence

- Tactile

Just drop the folders inside /users/Your-Name/.gimp-2.8/themes

After, GIMP >> Edit >> Preferences >> Themes

Have fun.

Nice regards.

.
[Android Software Development] stefan_72:
Big thanks
[Android Software Development] Bubba:
[MENTION=2147860]Kdio[/MENTION] Thanks so much for the Gimp themes ... Who knew? lol ... not me.
[Android Software Development] djdarkknight96:
SAY WHAT? Gonna check this out! Permission to blackout if you haven't already....lol
[Android Software Development] Kdio:
Granted only if you promisse to share it

:D :D :D

Cheers ...

.
[Android Software Development] djdarkknight96:
Oh that'd be blasphemy not too. Yay I'm all over this! Thanks bud!
[Android Software Development] Kdio:
AllBlackHoles

Hi D.J. and ALL

Not sure if you like it too but I've shared a set of 12 Hi-Def Wallpapers focused on Black Holes

Click the below image to go for it

Cheers.

.
[Android Software Development] Bubba:
Done yet? [emoji23] [emoji23] [emoji23] [emoji23]

Cowboy from Hell on a twisted trail.

Koffed From my Big Ass Outlaw Phone.
[Android Software Development] stefan_72:
hi i cant get the extract QMG to work
[Android Software Development] Kdio:
HI Stefan

Sorry but you will have to give me something to work over.

Please try to be more detailed as possible.

My "Extract QMG" function is working properly.

Nice regards.

.
[Android Software Development] stefan_72:
i get this one

http://s31.postimg.org/bpnx4553v/Sk_rmklipp.png
[Android Software Development] Kdio:
Hi Stefan

Please, consider my difficult of reading Swedish but ...

Windows Error #206 means:

"The filename or extension is too long"

Looking at the screenshot you posted, the destination directory you've gave oddly seems really too long !!!

Could you please do a simple experiment:

Onto you drive C: , create a folder called "GIMP". Inside this one, create one named "out".

Now, return to the "Extract QMG" tool and, as "Output Folder" indicate: "C:\GIMP\out".

Let me know your findings.

Nice regards.

.
[Android Software Development] stefan_72:
i onley get this , i must do it wrong

http://s31.postimg.org/pdi8q2jyz/Sk_rmklipp.png
[Android Software Development] Kdio:
Hi Stefan

At least the initial error stopped ... but

What I see from what you get is that you didn't understood the tool utility.

You have provided as "Input Folder" your ENTIRE USER FOLDER !!! ... That's is

wrong

!!! You provided as "Input Folder" the equivalent to "C:\Users\Kdio" <<<

wrong

!!!

You should provide as input folder:

a) the content of an decompiled apk. Like the output folder of "KAT Kit >> B - Create Workspece from Folder"

b) the content of an decompile Theme apk. Like the output folder of "KAT Kit >> Samsung Themes >> 1 - Decompile Theme Package"

Please read attentively the use instructions from the first post.

Be welcome to ask, complain and share.

Nice regards.

.
[Android Software Development] badowl:
[MENTION=2147860]Kdio[/MENTION]

Many many thanks for this great tool and your excellent themes!!! :good::good::good::cool::cool::highfive:

Info for other users, it is necessary to install Java 7, with Java 8 there are errors. ;)
[Android Software Development] Kdio:
Hi badowl

Thanks for the information but unfortunately I couldn't replicate any flaw using java 8 (1.8.0_92)

Java is solely used for APKTOOL and occasionally to sign apks/jars. None of then has a java version dependency (read further below).

If you could please provide more detailed information about the inconvenience you faced we should be able to clarify it.

Thank you.

.
[Android Software Development] badowl:
Hi Kdio,

when I decompiled a theme package I got an error message, when I am at home I can tell you more.

I have tested it under Win7 x64, Win10 x64 with gimp 2.8.14 x64, gimp 2.8.16 x64 and java 8.91 x64.

I have also another problem with different software installation, when I want to set an output folder in decompile theme package, it was a python error message from a Kitkat plugin, when I'm remember right. :mad:

But now with Win7 x64, gimp 2.8.16 x64, java 8.91 x64 and after installation of java 7.80 x64 it works!!! :D :victory:

Maybe the installation of java 7 fixed a path variable, but I had tested some entries under default.env and nothing worked and I didn't see any difference when I run cmd "set p" or "set j". :confused:

I had not tested it under linux, but it would be my next step if I'm not successful.

Thanks for your great support. :highfive::good:
[Android Software Development] Kdio:
Hi badowl

You are right.

Despite the fact that my Ubuntu x64 keeps working flawlessly in conjunction with GIMP 2.8.16x64 + Java 1.8.0_92 ...

I've took a closer look into ApkTool and build parameters are stabilished at java 1.7 for both source and target.

At this link you may read at lines 36~40

allprojects {
apply plugin: 'java'
sourceCompatibility = 1.7
targetCompatibility = 1.7
}

I do apologize for the misgiving and will soon make it plain at OP

Nice regards.

.
[Android Software Development] badowl:
Hi Kdio,

you are welcome, you did the whole work, nice when I can help a little bit.

Nice regards
[Android Software Development] djdarkknight96:
Hey guys, I'm still using this mod...simply beautiful. One request or is it possible to create a bulk create png to svg to vector xml type script we can add?
[Android Software Development] Kdio:
Hi D.J.

Long time ...

GIMP, per se, doesn't support SVG but I've found this Python script that does the job.

To fully understand your request (and the script) could you elaborate? SVG is the XML file?

Seems to be as little I could understand that script.

If so, ASAP, will be supporting it. (kinda busy over here)

Regards.

.
[Android Software Development] djdarkknight96:
Yes that's perfect, I can mange svg to xml but the png to svg is the pain. Thanks again my my friend. I'll try this out.
[Android Software Development] Kdio:
Hi D.J.

I've started working on it but as my SVG knowledge is nothing, please, could you shed some light here?

Given the below PNG the tool should:

1) duplicate the PNG at the destination directory;

2) at that same location, create a XML as follows:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: GIMP export as svg plugin -->
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="96" height="96"><image xlink:href="C:\Users\Kdio\Desktop\_example___imported_-example_png.png" x="0" y="0" width="96" height="96" />
</svg>

That's it?

EDIT: the xlink:href="..." portion will be just the file name (without path) as the SVG will be at the same location

Regards.

.
[Android Software Development] Kdio:
Hi D.J.

If my above thoughts are so, could you try the attached script?

1) Download View attachment KATKit.SVG.txt

2) Rename from .txt to .py

3) Copy it to the plug-ins folder

4) Access it at KATKit >> Theming >> A - Generate SVGs

Let me know.

Regards.

.
[Android Software Development] djdarkknight96:
Yes sir, will try once I get home and report back.

---------- Post added at 02:41 AM ---------- Previous post was at 02:01 AM ----------

Well poo it didn't work. Svg's are empty.
[Android Software Development] Kdio:
Something confusing here ... I have it all ...

- It duplicates all folders & files

- for each duplicated PNG an associated SVG (xml) will be created.

What do you get at OUTPUT? Blank SVG's?
[Android Software Development] djdarkknight96:
No path for the image, maybe I didn't explain it right. I'm trying to create vector.xml's grin png's. But it takes s long time to do the path..export to svg then I drop it to an online generator to create vector.xml
[Android Software Development] Kdio:
I'm kinda away from theming for several months so I'm failing to get you.

But I'm here and willing ... ;)

This is like...

Add Multi-Density Vector Graphics

?

Do you have a shortcut to the task? Like the subject file pattern that you are looking for? Something more straightforward than the knowledge from the above article?

Regards.

.
[Android Software Development] djdarkknight96:
Yes, give me a few to get the info collected.
[Android Software Development] Kdio:
You have all of them

;)

Night dude.

.
[Android Software Development] djdarkknight96:
Night bud, I'll post it and have it ready when you have "spare" time...no rush to keep me lazy lol
[Android Software Development] stefan_72:
Hey all )

Is anyone who knows how we will go about getting our themes to work with new 7.0 ,, as it is now it's a little buggy
[Android Software Development] talkingmonkeys:
Glad to see you get recognition on the portal my friend!
[Android Software Development] Kdio:
Gi T

Much appreciated :good:

Xda Recognition is diminished only by its users ones ;)

In fact, it's my honor to be helpful to you.

Huge nice regards dude.

.
[Android Software Development] neroyoung:
Hey Kdio

Really impressive work, would love to see more modes in future, Keep it up.... !
[Android Software Development] rockadz9:
wow thanks man I will try to:)

good job:good::good:
[Android Software Development] ShinySide:
For the love of god, thank you [MENTION=2147860]Kdio[/MENTION] Ive been so sick of switching to windows just to batch process and record actions in cs6. Gonna give this a run for its....freedom? Money is kinda the wrong word Haha Thanks bud
[Android Software Development] prdog1:
Gimp has batch processing. It is called BIMP. This tool FCs on both our Windows 8.1 machines using official GIMP 2.8. Screenshot attached. Not sure why. Will test on Ubuntu. :cool:
[Android Software Development] Kdio:
Hi prdog1

I have to confess that I didn't tested on 8 but, as your screenshot shows, seems to be a GIMP issue. Let me explain.

During process I issue messages to the user on that 'Progress Bar' above buttons and they are, for example:

pdb.gimp_progress_set_text('Removing Empty Folders')
pdb.gimp_progress_pulse()

The first command here is what generated that message, If you could help us out solving this, could you please:

a) add --verbose to yours shortcut

b) Run the same Tool

c) at right, there will be an Error Console Tab with, maybe, some more information that could help us here.

Thank you.

Nice regards.

.
[Android Software Development] Kdio:
Just forgot to ask you this ...

Does BIMP is Nine Patch safe ?

Nice regards.

.
[Android Software Development] prdog1:
Not sure where you want to add --verbose. BIMP doesn't do 9-patch but does about everything else that can do in GIMP. Can do as many GIMP operations as want on batch. Change colorspace to rbg, threshold, colorify, colorize, opacity ect. Just line up operations in order you want them to run. We have been using 9-patch or VTS to decompile. Drawn out process if want to batch them. That is only option we were really looking at in tool. :cool:
[Android Software Development] Kdio:
Right click on yours GIMP shortcut >> Properties >> "C:\Program Files\Gimp-2.8\Gimp-2.8.exe" --verbose

Thanks
[Android Software Development] prdog1:
Here is screenshot of console output. Crashes when try to browse to folder. :cool:
[Android Software Development] Kdio:
Thanks prdog1

Unfortunately nothing elucidative in there.

Will try to find a W8 machine to test it and check out this issue.

Here we don't see 8's installations that much as we consider it just an 7 with that awful Metro reducing productivity by, at least, 30%.

If you get a chance, please post yours Ubuntu's results.

Thanks.

Nice regards.

.
[Android Software Development] prdog1:
Haha. 8.1 runs circles around 7. I don't use metro screen. Boots straight to desktop. 8 is fine if know how to use search or get Start Menu Reviver to re-enable start button till get used to changes. :cool:
[Android Software Development] djdarkknight96:
I'm using Windows 8.1 and batch function works for me. Been using it twice a day since a few months ago. I update this tool every time.

Sent by my Klearkat Nexus 7

Free TBO Updater App

Status Report
[Android Software Development] prdog1:
Yea. We don't know what's up. Running GIMP on Dell full official Microsoft version and HP with HP version 8.1 64-bit. Crashes on both with same message. :cool:
[Android Software Development] djdarkknight96:
I'm on two HP machines, envy and crappy hp 2000 both Windows 8.1 and batch is working without error. You might have something setup wrong?

Sent by my Klearkat Nexus 7

Free TBO Updater App

Status Report
[Android Software Development] Kdio:
Thanks Faithful Knight :D

Could you, just for fun, install a 64bit version from Partha's Place ? (download link)

I've found some kind'of reports regarding W8x64 and success when running Partha's distros.

EDIT: [MENTION=4538493]prdog1[/MENTION] please make sure to delete all remaining folder from previous gimp install at yours '/system/app' and '/data' (Windows ones ;) )

Thanks dude.

.
[Android Software Development] Kdio:
Sorry the delayed perception of yours demands, sir :D

May be if you could port it to BIMP ...

To preserve the Nine Patch layer before editing:

# Makes a copy of actual layer
newlayer = pdb.gimp_layer_new_from_drawable(drawable, image)
# Insert it in the image
pdb.gimp_image_insert_layer(image, newlayer, None, -1)
# Select the area inside .9 guides
pdb.gimp_image_select_rectangle(image, 2, 1, 1, (image.width - 2), (image.height - 2))
# Clears the inside the original drawable
pdb.gimp_edit_clear(drawable)
# Gets the new drawable/layer
layer = image.layers[0]
drawable = layer
# Select only the guidelines of the new layer
pdb.gimp_selection_invert(image)
# Clear guidelines
pdb.gimp_edit_clear(drawable)
# Select None
pdb.gimp_selection_none(image)

Then, to restore the guidelines:

pdb.gimp_image_lower_item_to_bottom(image, drawable)
layer = pdb.gimp_image_merge_visible_layers(image, 0)
drawable = pdb.gimp_image_get_active_drawable(image)

Hope that helps.

Nice regards.

.
[Android Software Development] Kdio:
[TEST] New Workspace Tool

Hi Guys

Some one here to test a new Tool ?

A+ - Create Workspace from ROM ZIP

Only 2 fields may be not obvious:

Just drop the content of View attachment KATKit.ZIPDecompile.zip to yours plug-ins folder.

Please criticise. Advise if functionality may be improved or if it even works at all with you :D

Thanks.

.
[Android Software Development] talkingmonkeys:
Haven't got a chance to try this tool or your newest update yet but I wanted to say I've been using the old tool since he first made it and told me about it. On windows 8.1.

Its awesome to see how far he's run with this. Definitely has saved me a lot of time to get more frustrated with smali and xml then any png or 9.pngs.