yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] mDroidd:
Download this

Extract it in C:\PyInstaller

(So that the contents will be in PyInstaller, not the directory)

I'll send you the rest tomorrow, sorry
[Optimus One, P500 Original Android Development] Rookie407:
sent you a PM about compiling to .exe also please read like 3 posts up as i posted a screenshot of how i have it set up and im still not showing any files in the "Resized" folder...
[Optimus One, P500 Original Android Development] mDroidd:
Updated!

Linux users can now double-click SAP to run the Script.

If you want the terminal output, you should open a terminal and drag the SAP file in.

The log also contains terminal output, just in case.

Windows users: Many bugs fixed. New version of windows imagemagick. Could you try to install and then try resizing again?

Added the option "Report Bug". Please use that option after reproducing the bug.

APK Options fixed.

Added binary port (NOT FUNCTIONAL YET!)

Windows EXE is COMING!!!

Quick and small update: output will now immediately be flushed to the log, updated compiled SAP, and ReportBug now puts the text inside a QUOTE.
[Optimus One, P500 Original Android Development] mDroidd:
The translating can now start.

Italian, Dutch, French and English will be available. Anyone who is wanting to translate my tool to his language can PM me!
[Optimus One, P500 Original Android Development] Rookie407:
still didnt work and i dont see the Report Bug option... do i need to put imagemagick into my path?

on another note i got all the things needed to create a .exe so ill start working on that tomorrow hopefully.
[Optimus One, P500 Original Android Development] mDroidd:
FULL TUTORIAL ON HOW TO COMPILE STUDIOANDROID

INTO AN EXE FOR WINDOWS

Open python

type this:

Download this

Extract it in the output directory.

(So that the contents will be inside PyInstaller)

Then type this:

if you extracted my tool inside C:\StudioAndroid, you should do this:
[Optimus One, P500 Original Android Development] Rookie407:
doing this now

---------- Post added at 09:14 AM ---------- Previous post was at 08:53 AM ----------

python is not recognized as an internal or external command...

sec seen what i did wrong

---------- Post added at 09:18 AM ---------- Previous post was at 09:14 AM ----------

same result... 'python' is not recognized as an internal or external command

---------- Post added at 09:38 AM ---------- Previous post was at 09:18 AM ----------

fixed that issue... now i get this one

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

AttributeError: 'module' object has no attribute 'sytem'
[Optimus One, P500 Original Android Development] mDroidd:
Typo, change sytem into system.

Still getting the previous error?
[Optimus One, P500 Original Android Development] Rookie407:
haha imma idiot this morning but now i get this one...

>>> os.system(r"python pyinstaller.py -F C:\StudioAndroid\SAP.py")

python: can't open file 'pyinstaller.py': [Errno 2] No such file or directory

2
[Optimus One, P500 Original Android Development] mDroidd:
Remember that lines of code made a directory? You extracted PyInstaller in it. Please tell me what is in that directory (should be something like C:\User\PyInstaller)
[Optimus One, P500 Original Android Development] Rookie407:
It made the directory on my desktop... c:\user\rookie\desktop\PyInstaller-pyinstaller-1045a28

Inside this is

Folders:

Buildtests

Doc

E2etests

Examples

PyInstaller

Source

Support

Utils

Files:

.gitattributes

.girignore

.pylintrc

MANIFEST.in

Pyinstaller.Ph

Pyinstaller-gui.Ph

README.est

Setup.Py

Note this is where I put the last set of downloaded files
[Optimus One, P500 Original Android Development] mDroidd:
For the ones interested, I had some spare time, and I made this for Python:

MY HOME MADE LOGO QUIZ!!!!

Extract it in HOME and Run LogoQuiz ;)

It randomly picks images from the .Image directory, and marks them as SOLVED when you enter the correct answer.
[Optimus One, P500 Original Android Development] Rookie407:
just for poops and giggles you should make this for android =P
[Optimus One, P500 Original Android Development] mDroidd:
I know, you can earn A LOT of money with LogoQuiz for Android..

But I can't xD

First, I am only 14 (No Dev ID, credit card, etc)

Second, I can't programm JAVA..
[Optimus One, P500 Original Android Development] vlt96:
Like me, you like python and hate Java, like normal people

Sent from my LG-P500
[Optimus One, P500 Original Android Development] mDroidd:
Exactly.

And C++ is just way tooo long and old to use :P

Compiled python seems the perfect solution now :D:D:D

Now I need to convince popdog123 to compile it for MAC users :D:D:D:D:D:D:D

ANYONE who is willing to participate on this project can PM me, I really appreciate contributors.

Like Rookie - he is compiling the tool into a Windows EXE (SO YOU DON'T HAVE TO INSTALL PYTHON ANYMORE!!)

If you want your own up-to-date EXE, download my newest tool and run CompileWindows.py

Updated btw.

Added Odex, fixed De-Odex, fixed Images on custom cmd path on Windows
[Optimus One, P500 Original Android Development] thachtunganh:
I like C and hate Java :)
[Optimus One, P500 Original Android Development] williamcharles:
First and foremost, c++ isnt old...it is very powerful...people just dont know its value...i work in a reputed I.T. organization and i know what all c++ can do...it has no limits...experts can very well paly with c++ but beginners cannot...

and regarding java, java is very much portable. u just give a think of a functionality and java will give you in the easiest possible way...dot Net is already coping to be as tough as java...but people choices. ;)
[Optimus One, P500 Original Android Development] mDroidd:
Thanks for the advice ;)

Java is still on my planning, and so is C++. But python is my current favorite :)

How is your progress on python, william?
[Optimus One, P500 Original Android Development] williamcharles:
good actaully...i referred to ur scripts...and those are good...although i have exp in perl...i am still looking forward towards python...:D
[Optimus One, P500 Original Android Development] mDroidd:
As I get so much interested people, I decided to add more comments. I think it's pretty messy coded...

But now you know why: so compiling is easy :D

If you don't understand something, just PM me!
[Optimus One, P500 Original Android Development] vlt96:
Yes, I do C++ at school, but I tried simple window on java, python and C++

C++ - 30 rows and it was way to complex and detected as a virus, but I did it, so it wasn't (win32)

Python - 3 rows (can't remember)

Java- something between, but it was a big **** it takes 1 month to fully understand

But when did you do the windows exe?

Sent from my LG-P500
[Optimus One, P500 Original Android Development] mDroidd:
It's in pre-alpha, so no, no thread.

I think it will work on CM9 only for now.

And I have a question: you build a kernel with my tool but did not thank me.

Why?

Not that I want you to, but I am interested in why people don't.

Greets!
[Optimus One, P500 Original Android Development] Ron G:
i'm using nokia c5 with opera and today i pressed thanks in 1st page check
[Optimus One, P500 Original Android Development] mDroidd:
Oh, a nokia, that explains everything... :P

But no.

No problem, though. When you show me that you are greatfull you thank me more then a button can do :)

Greets!
[Optimus One, P500 Original Android Development] mDroidd:
Uploaded beta.

Please test and report back :D

You can install the BETA using
[Optimus One, P500 Original Android Development] akelino027:
This will helps me a lot to become an android developer that I'm dreaming to.. Thank you for this wonderful program..

The only problem now is i'm not in to ubuntu, i grew up with windows.. :D
[Optimus One, P500 Original Android Development] mDroidd:
Ow, read it just now. Will include it in my next update!
[Optimus One, P500 Original Android Development] mDroidd:
The more you will like Ubuntu, it really is faster, and you can dual-boot, so you can always use Windows if wanted.

Greets!
[Optimus One, P500 Original Android Development] abhinav quietly brilliant:
can't you make a script which works on windows.. using cygwin is such a waste of time
[Optimus One, P500 Original Android Development] mDroidd:
Windows is a waste of time.

Compare your LG with your PC. You rooted your LG a long time ago and put custom ROMs on it.

Do the same with your pc, Ubuntu is MUCH better!

But you are right.

I'm working on a scripting language called "Python". That's for Mac, PC, Linux, Android, everything.

For now you'll have to wait

Greets!
[Optimus One, P500 Original Android Development] Lycan:
This **** > apktool and much easier to use too !

I mainly used it for baksmali-ing and APK features

+1 for your efforts :D

Just a few suggestions, you could add features from dsixda's kitchen. Would make it easier for users to keep alternating from kitchen -> ACI. Also, you could add features from APK manager. This would make an already innovative script much more popular and handy!

@Ubuntu 10.04
[Optimus One, P500 Original Android Development] :
This is not ****!

@mDroidd: After reading Lycan's post, I wanna try it, can I run it via cygwin?
[Optimus One, P500 Original Android Development] mDroidd:
> means "greater then".

So he says:

"The stuff you made is greater then apktool"

Right, lycan? Nice Pic btw :D

@dhruv: unfortunately, not yet. I will translate the script so that Windows users can run it also, but not now...

Greets!
[Optimus One, P500 Original Android Development] mDroidd:
Yeah, I am working on porting the De-odex tool, and the odex tool after it.

From the kitchen ^^

What would you like to see implemented else? Dsixda has a copyright on it, but if you give me a request I am sure I can find out myself :D

What stuff from APK manager would you like to see implemented??

The menu is getting big xD I think I will make sub-menu's soon.

Thanks for reply

+1

Greets!
[Optimus One, P500 Original Android Development] Lycan:
optimize pngs

sign apks and quick sign

Error detection. Checks if error occured anytime u perform a task, and reports it because I'm a noob

batch optimize apk- zipalign

batch install apk

compress apk's

Also, a guide would be pretty helpful else you WILL see users asking around 'how u haz do that?'

Mainly, it would become pretty noob friendly i.e. me friendly, because I have no prior experience in .apk editing and I just search around for **** on Google and XDA.

Also, it would give users the freedom to **** around and play with the apk.

I'm thinking, why isn't this popular already?
[Optimus One, P500 Original Android Development] :
Can you atleast make it compatible with cygwin?
[Optimus One, P500 Original Android Development] mDroidd:
It is difficult.

Also, I use resources wich need to be installed, and that is (I think) not possible.

If you want to help me, please type this in cygwin:

"apt-get --help"

Send me the output. Also, try this:

"mogrify --version

convert --version"

Thanks in advance!

Greets!
[Optimus One, P500 Original Android Development] mDroidd:
A guide to what? Editing APK, using my tool or creating my tool?

The list will keep myself busy ;)

The error thing should be easy.

The batch options also,

Compressing also,

Optimize PNG's also

Sign APK is already included right??

What is quick sign??

And I know the reason that this is not yet popular:

I published on This forum and on Chef Central.

At this forum, many people don't understand what everything is.

At Chef Central, few people look, and also many "noobs".

When I made every option in Beta bug-free, I will move the Chef Central thread to Android Software Development and we'll see :)

Greets!
[Optimus One, P500 Original Android Development] :
Lol, i think it is not popular because you didnt do the required marketing Lol... btw Im not on pc so cant test, will test as soon as i get on my pc :)
[Optimus One, P500 Original Android Development] Arjen:
Hi mDroidd.

I think it is time to get a nice gui for it! I really like what it has become. One of the most nice features I think must be added is Aroma Installer. It needs some work, but it is possible. We shall work on it when I am back from my little holiday ;)
[Optimus One, P500 Original Android Development] mDroidd:
Rookie compiled my Python tool into an exe using PyInstaller (AWESOME HUH?!)
[Optimus One, P500 Original Android Development] williamcharles:
In PERL, for just a empty window you need three lines...:laugh:

use Tk;

my $main = MainWindow->new;

MainLoop;
[Optimus One, P500 Original Android Development] mDroidd:
@EVERYONE:

Updated again. I included Compile.py.

You can compile ANY python script on ANY OS with it, in your OS' executable format.

On windows, this is EXE.

If you do this, you don't have to install / use Python and GTK anymore!

But you can also compile other scripts with it.

I can't get PyGTK to work on my 64-bits windows (Blame windows)...

So if you are willing to help me with something, I would be very gratefull!!

EDIT: forgot, you need to add C:\Python27 to the path :$
[Optimus One, P500 Original Android Development] mDroidd:
Ahh!!

Now I get it!!!!

Recompiling on windows needs windows specific aapt.exe!

So zipalign needs to be zipalign.exe etc etc.

I'll create a windows-specific Utils.zip
[Optimus One, P500 Original Android Development] mDroidd:
WOW!

Ablankzin is now developing at this project too :D

New update (Ablankzin):

Optimize Images defined, choose with File Chooser

Go somewhere and give him a thanks!!!
[Optimus One, P500 Original Android Development] mDroidd:
Updated.

Sdk installer patch by Azblankin

New images by me (temporary, waiting for strawmetal)
[Optimus One, P500 Original Android Development] Rookie407:
found you another issue with the resize(r) when resizing a whole apk file it decompiles the apk resizes all images from one to the other but doesnt recompile or make the "resized" folder...

is all i get... wondering if this well also after doing what its supposed to do does it also rename all of the file names that each image refers too in the values and xml strings???
[Optimus One, P500 Original Android Development] mDroidd:
Hehe, I JUST updated it with a fix ;)

Check it out!

Edit: and the android system handles the dpi directories, no need to add it in XMLs.

Maybe it needs to be signed afterwards.

I resized Rosie.apk for Invasion2 once, worked perfectly!
[Optimus One, P500 Original Android Development] mDroidd:
Updated.

Compile.py is now included in the program, and a few bugs are fixed.

ENJOY!
[Optimus One, P500 Original Android Development] Sandipkim:
hi, I decompiled an apk changed some xml/

now I'm trying to compile it back but I'm getting some error can you tell me what's wrong n how can I solve it.:confused:

Thanx!

I'm a noob! :silly:
[Optimus One, P500 Original Android Development] tonyp:
Just downloaded and tested this, but it isn't working for me yet.

The problem might be Windows which I'm using ;)

I extracted the archive and executed the studiowindows.exe file, so far so good.

But installing the utilities doesn't work, I think here's something wrong:

It creates a folder at C:\Users\Username\Utils but extracts the utils.zip archive to the root folder of the studiowindows.exe.

Btw: When I'll click Install All again an error occurs that the "Utils" folder already exists, you might want to check for that before.
[Optimus One, P500 Original Android Development] mDroidd:
Hmmm... and what do you find inside the Utils folder?

I'll look at it. Sorry for the error.

I'm on vacations now, so I can't do anything over here...
[Optimus One, P500 Original Android Development] mDroidd:
recompiling on Windows is indeed a pain.. try to install in [SDK DIR]\tools and run again.it's not your problem!

Thanks for reporting, and please try to install in tools dir.
[Optimus One, P500 Original Android Development] mDroidd:
Updated :)

But I need someone on Windows to compile it... So you can't use the EXE yet, it does not contain the latest update.

Hang on ;)
[Optimus One, P500 Original Android Development] mDroidd:
Batch Theme now fully works, no strange colors anymore!

Removed unnecessary utilities

Removed BuildKernel.

It's just to advanced to inlude, and we don't wat XDA to get spammed with stock kernels built by my tool.

Added AddGovernor

Does NOT work yet, I'm working on it.

Quick fix on ImageMagick installation

Fix (?) on install Utilities for Windows (NO EXE YET!)

Device fix
[Optimus One, P500 Original Android Development] mDroidd:
Updated
[Optimus One, P500 Original Android Development] vlt96:
You can try a windows virtual machine;)

I am still surprised some people today don't have windows... you have ubuntu-only PC?

Sent from my LG-P500
[Optimus One, P500 Original Android Development] mDroidd:
I am on Windows, yes, but I hate it xD

And I can't get it to work on 64-bits...
[Optimus One, P500 Original Android Development] mDroidd:
New update is 7MB smaller :D

Completed AddGovernor, and I had tachtungang test it (hopefully)
[Optimus One, P500 Original Android Development] vlt96:
Lol it depends on your CPU:)

And windows 7 is awesome, I love that ALL games have at least double fps than on windows xp, on double details:)

I have 8 gigs of ram, and I did a mini rpg (5 levels, only 1 monster for now, not yet magic, no advanced leveling system...)

I made it in python, maybe you add it as mini game while waiting (command line rpg tho, text based)

You are pc dev, I have a tiny question... do you how to use something like def is on python, but in c++? I use def miniblah() to make a mini program inside another, and launch it at any time, do you know how to do that in C++?

I mean, to do like:

Def something():
(Tab)some stuff here
Something() #it does the "some stuff here" whenever I want, I use this to make clear screen on cls() for both linux (and mac same command) and windows

How to do this in C++? I have big problems with variables when doing that... ended up making the program only of if's and while's (and a loooooong stat system)

Sent from my LG-P500
[Optimus One, P500 Original Android Development] mDroidd:
Making games already? Cool :D

My daddy says:

void(functionname)

{

Code

}

I don't know about spacings and stuff, I'll look at it later ;)
[Optimus One, P500 Original Android Development] vlt96:
Thanks, you are a big help to me!

My game is not graphical, it is command line, round based, it tells your damage etc... I am stuck on C++ because I don't know how to make a random number there:( I need it to make the game thrilling:)

One more little question, I have the:

Def stats():

and code here

But whatever I do, the variables won't go global, either forgotten (if given a value in _main_, or getting an error if I declare them global in stats()

Help me decide:(these are problems I am facing)

C++

- no random numbers (actually random numbers in rpg's are crucial

- variables are not as dynamic as in C++ (turn into string, then integrer, then string again, they also can't be deleted easily in C++)

Python

- can't realise how to make a variable for all mini programs (I have some little idea)

Java

- only problem with the variables like c++

- I hate it

Sent from my LG-P500
[Optimus One, P500 Original Android Development] mDroidd:
Def stats():

global auch

auch = "damn"

def test():

print(auch)

But using global is messy (like me)

class data():

Placeholder=""

Def stats():

data.auch = "damn"

def test():

print(data.auch)

I still do not understand classes, third solution:

Def stats():

auch = "damn"

test(auch)

def test(auch):

print(auch)

I hope that helps :)

Send me a beta ;)
[Optimus One, P500 Original Android Development] vlt96:
So basically you put the squence name (thing after def) before the variable?

I will send you a beta when I manage to make that work, a pre-alpha is done

Sent from my LG-P500
[Optimus One, P500 Original Android Development] mDroidd:
You know what, send me the files now and I'll look what you did and what needs to be fixed ;)
[Optimus One, P500 Original Android Development] vlt96:
I have no errors atm, I managed to make it without using def function, I will put it again and if I can't fix it I will send, I think I found a solution
[Optimus One, P500 Original Android Development] mDroidd:
Updated!

==Alpha17==

Updates:

AddGovernor completed (?) for 6 governors

Please test if you are building a kernel, with and without my tool please!

Permissions now really fixed

Upgraded BakSmali with a filechooser
[Optimus One, P500 Original Android Development] mDroidd:
GUI is now the only version ;D

The bugs are minimised to a few, and the only important one is recompiling on windows.

I hope I still get as many supporters as first :o:o:o

Thanks @all who support me!
[Optimus One, P500 Original Android Development] myawan:
Bug Report:

I am using Windows Vista
[Optimus One, P500 Original Android Development] mDroidd:
Thanks for the report.

I am waiting for Rookie to compile my tool..
[Optimus One, P500 Original Android Development] KeitIG:
You could be more active with your twitter account ;) (for example)
[Optimus One, P500 Original Android Development] mDroidd:
I don't use Twitter :P

But I'll create one for StudioAndroid :)

Follow me then :P

Btw, you received my PM? Or did I forgot to send you?

I included SA.po under fr_FR. Open it with PoEdit and you can translate without ubuntu. Newest update please
[Optimus One, P500 Original Android Development] mDroidd:
Twitter account made:

Azblankin, popdog123, and KeitG will get access to this account also.
[Optimus One, P500 Original Android Development] mDroidd:
Updated

Biggest change:

7za removed

That means all windows bugs related to that are now FIXED

I use zipfile.ZipFile module from now on.
[Optimus One, P500 Original Android Development] KeitIG:
What's your twitter id ?
[Optimus One, P500 Original Android Development] mDroidd:
Check my signature xD

Or

Twitter.com/StudioAndroid
[Optimus One, P500 Original Android Development] williamcharles:
Congrats..since you are recognized contributor now..:)

Studio Android is making very much progress..kp updating..:)
[Optimus One, P500 Original Android Development] KeitIG:
followed ! :D

i'm translating the po files on your github ;)
[Optimus One, P500 Original Android Development] mDroidd:
Thanks ;)

Send me the SA.po when ready.

I also updated the Dutch translation :)

Did you get the Windows version working also or not? I mean the Python version, not the exe.

@william: what language do you speak?
[Optimus One, P500 Original Android Development] williamcharles:
English @mdroid
[Optimus One, P500 Original Android Development] mDroidd:
Okay, thanks anyway
[Optimus One, P500 Original Android Development] KeitIG:
I didn't try to build anything, but the programm seemed to work ;)

edit: check your github, i submitted changes ;)
[Optimus One, P500 Original Android Development] mDroidd:
I added you as collaborator, you can now update without permission :)

But please don't use

"

In your translation anymore, it will give error.

I Compiled it and updated, translation tested and working.

Thanks a ton!

Windows version is working? Could you update it to the newest version and then Compile it via Advanced > Compile > Start (don't choose any option)

Please send me the new file in your StudioAndroid directory!

THANK YOU!
[Optimus One, P500 Original Android Development] tonyp:
You're doing an amazing work!

I just notice that the SHOW CONTENT button at features in post #1 doesn't show anything (at least for me).

At instructions are no windows/linux/mac pictures anymore.

I think an image host of yours is down or somethin like that :D

And may I do a suggestion?

I think the first post could show what exactly your tool is, without the need to click on a button first.

Maybe include the picture of post #17 or something like that?
[Optimus One, P500 Original Android Development] mDroidd:
Just wiped cookies, still showing...

Try again?

And thanks, I'll look at it.

hang on

EDIT: Post #17 is an old version! pre-historical!!

The new version has a nice GUI and stuff!

I'm sorry you couldn't enjoy my new version :P