Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,558 Members 45,845 Now Online
XDA Developers Android and Mobile Development Forum

[TOOL][AIO] StudioAndroid # Automize everything! [GUI]

Tip us?
 
mDroidd
Old
(Last edited by mDroidd; 23rd October 2012 at 08:34 PM.)
#1  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: Aug 2011

 
DONATE TO ME
Default [TOOL][AIO] StudioAndroid # Automize everything! [GUI]



Quote:
Originally Posted by vlt96 View Post
You shouldn't try it out when you have free time, it will give you free time

Features

Quote:
Quote:
FEATURES LIST
Image
Install Image Tools: Install ImageMagick and/or PIL to use my Image Tools
Convert Image: Convert any image in given directory to given extension
Resize: Batch-resizes files found in given directory with given percent or given DPIs, or resizes an APK with given DPIs
Batch Theme: Applies a theme overlay (caclulated with luminosity values) to all images found in a given directory (e.g. THEME!)
Batch Rename: Batch renames all files found in a directory with a given pattern, and renames them to given out (for porting Themes)
CopyFrom: Copies images present in directory 1 FROM directory 2 (if present in dir 2) - for themers!
OptimizeImage: Optimizes Image, so that size will be smaller
Development
Prepare Building: Installs necessary build tools
Build from Source: Builds one from many sources and even choose a device (if available)
Add Governor: Add a governor to a kernel
Install Android SDK
Install Java JDK
APK
(De)Compile
Extract/Repackage APK
Sign APK with different keys
Zipalign APK
Install APK
Optimize Images INSIDE APK
Advanced
(Bak)Smali: Lets you edit the code inside classes.dex and compile back
ODEX: ODEX a ROM
DE-ODEX: DE-ODEX a ROM
Compile to an Exe: lets you compile Python scripts to an executable for your OS
Android
Configure ADB: Connect to devices over IP, enable/disable Network ADB on connected device
Logcat
Build.Prop: Pulls Build.prop from device and let you edit it
Backup / Restore: full backup of (all optional) apps, system apps, data, shared storage
ADB File Explorer
StudioAndroid options
Clean workspace and go back to before you used this tool the first time!
Debug: Includes printing the used commands before executing and testing the latest changes
Check the log in a scrollable window with selectable text
Report a bug: Opens a reply on this XDA thread with the content of your log in it
Changelog: See what's changed!
Update: Update StudioAndroid and choose between Stable en Nightly
Restart
About: shows information about the developer, contact info, profile image, twitter etc




Instructions

Quote:

 
Quote:
Download the latest update OR one of the stable updates
Extract in your home directory
double-click StudioUnix



 
Preparation:
Quote:
Download one of the stable updates
Extract in a path without spaces (e.g. NOT in "Documents and Settings")
Double-click StudioWindows.exe
OR

Quote:
Download and run Python
Download and run PYGTK - 32-bits
Download the latest update OR one of the stable updates
Extract in a path without spaces (e.g. NOT in "Documents and Settings")
Right-click Studio.py > Open with > Python


 
Quote:
Preparation:
install python2.7: 64-bit/32-bit x86-64/i386 / 32-bit i386/PPC
Install this (GTK+ and PyGTK)
Download THIS
Run StudioUnix


Attached Thumbnails
Click image for larger version

Name:	Preview.jpg
Views:	20353
Size:	53.2 KB
ID:	1319257  
The Following 132 Users Say Thank You to mDroidd For This Useful Post: [ Click to Expand ]
 
mDroidd
Old
(Last edited by mDroidd; 23rd October 2012 at 05:46 PM.)
#2  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: Aug 2011

 
DONATE TO ME
Default [Cross-Platform] StudioAndroid [GUI]



Quote:
Originally Posted by vlt96 View Post
You shouldn't try it out when you have free time, it will give you free time

Translate?

 
Quote:
LINUX
 

First navigate to StudioAndroid directory.
Then

Quote:
xgettext -k_ -kN_ -o messages.pot Studio.py
msginit
A new file will be created (***.po)

Open that file with PoEdit and translate the right-column
When finished, save it and rename ***.po to Studio.po and put it in StudioAndroid/lang/yourlang_YOURLANG/LC_MESSAGES

afterwards, compile it:
Quote:
msgfmt Studio.po -o yourlang_YOURLANG/LC_MESSAGES/Studio.mo
When I update it, merge the changes using:

Quote:
xgettext -k_ -kN_ -o messages.pot Studio.py
msgmerge -U Studio.po messages.pot
and translate the new strings in PoEdit

The file I need is yourlang_YOURLANG/LC_MESSAGES/Studio.mo, but it's handy for you and me if you also include yourlang_YOURLANG/LC_MESSAGES/Studio.po


WINDOWS
 

Open lang/LanguageFiles/en_US.po in a text editor
msgid indicates the original string
msgstr indicates the string you need to translate.

So translate the msgstr strings.
Afterwards, send me en_US.po renamed to yourlanguage_YOURCOUNTRY.po
Thanks!


If you cant upload files anywhere, then past the content of SA.po in Pastebin and send me the link

THanks in advance

FULL CREDITS WILL BE GIVEN


Info

 
Quote:
All info is now available at Github:
Git Source
Changelog
Bugs & Feature requests
BitLy Stats


Credits

 
Quote:
Ablankzin : Contributor to StudioAndroid
Popdog123: He took the MAC side of the project
vlt96: Making a game to play while waiting
KeitlG: Compiled for windows!!!
KeitlG: Helped me testing the long-awaited ReCompile Fix!

Rookie407 : He compiled this tool for windows! AWESOME! You don't have to install Python and GTK anymore!!!
Lithid-CM : He was my messias on Python in general and GTK specific. Go and give him a "THANKS!"
KeitG: Gettext translation
WilliamCharles & Lycan: Windows testers - AWESOME, THANK THE GUYS!!
The Following 39 Users Say Thank You to mDroidd For This Useful Post: [ Click to Expand ]
 
Waddle
Old
#3  
Waddle's Avatar
Senior Member
Thanks Meter 161
Posts: 466
Join Date: Dec 2011
Location: Somewhere...
Hey, I looked through your post, but I don't see what this tool is supposed to do. could you maybe write a description in the op?

Sent from my SGH-I777 using Tapatalk
If I helped, press thanks...
UnNamed Orange Theme http://forum.xda-developers.com/show....php?t=1457742
Battery Mods for UnNamed, CM7, ICScrewD, and ShoStock http://forum.xda-developers.com/show....php?t=1446170
The Following 2 Users Say Thank You to Waddle For This Useful Post: [ Click to Expand ]
 
mDroidd
Old
(Last edited by mDroidd; 12th February 2012 at 10:40 AM.)
#4  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: Aug 2011

 
DONATE TO ME
Quote:
Originally Posted by Waddle View Post
Hey, I looked through your post, but I don't see what this tool is supposed to do. could you maybe write a description in the op?

Sent from my SGH-I777 using Tapatalk
Hmmn I'll make a screenshot

EDIT: OK NOW?

Greets!
The Following 4 Users Say Thank You to mDroidd For This Useful Post: [ Click to Expand ]
 
mDroidd
Old
#5  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: Aug 2011

 
DONATE TO ME
Incoming:

Batch APK de- recompile
Change Animation speed
Text color
IMPORTANT: Porting APK MULTI-TOOL - Wich is for Windows only ATM.
I'll include it in my tool and ask the dev to pay $10 for it :P (joke ofcourse)
IMPORTANT: FINISHING the "build from source option
The Following 3 Users Say Thank You to mDroidd For This Useful Post: [ Click to Expand ]
 
Southern_mind
Old
#6  
Southern_mind's Avatar
Senior Member
Thanks Meter 224
Posts: 1,229
Join Date: Mar 2011
Location: Charlotte, NC

 
DONATE TO ME
Quote:
Originally Posted by mDroidd View Post
Incoming:

Batch APK de- recompile
Change Animation speed
Text color
IMPORTANT: Porting APK MULTI-TOOL - Wich is for Windows only ATM.
I'll include it in my tool and ask the dev to pay $10 for it :P (joke ofcourse)
IMPORTANT: FINISHING the "build from source option
So is this for windows or linux?

Sent From My Mecha
The Following User Says Thank You to Southern_mind For This Useful Post: [ Click to Expand ]
 
mDroidd
Old
#7  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: Aug 2011

 
DONATE TO ME
Quote:
Originally Posted by nativi View Post
So is this for windows or linux?

Sent From My Mecha
This tool will stay for linux.

APK MULTI-TOOL is a great tool, but for windows only, so I am gonna port it
The Following User Says Thank You to mDroidd For This Useful Post: [ Click to Expand ]
 
mDroidd
Old
#8  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: Aug 2011

 
DONATE TO ME
APK MUlti Tool:

888 Lines in ONLY the Start script.

But I AM porting it.

Updated this tool first, V1C2A

Changelog V1C2 & V1C1

#v1c1:
[^]Added copyright
[^]Updated Animation
[^]Added second section; looks better
[^]OOPS! I added CopieFrom under the option "c" wich is already changelog!
[^]Improved other than home directory - was not working
[^]ICS Blue characters <3
[^]Added BUILD FROM SOURCE option
[^]Custom animation speed
[>]To try if this works, please go into terminal and type:
cat --help
if it tells you the manual for "cat", then you are fine.
Option D from the main menu.

#v1c2:
[^] Added more comments
[^] Newer CM source - not MIK_OS but now stock CM, wich includes newest adfad
[^] Custom WaitTime
[^] New script version
[^] Fixed some bugs
The Following 2 Users Say Thank You to mDroidd For This Useful Post: [ Click to Expand ]
 
bhaviksatra87
Old
#9  
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Nov 2011
Default Will it work on windows

Hey! will this app work on windows? How to batch resize using this? Can this handle transperency? And will it perfectly fit to MDPI from HDPI or it will have FC's???
 
mDroidd
Old
#10  
mDroidd's Avatar
Recognized Contributor - OP
Thanks Meter 1382
Posts: 1,833
Join Date: Aug 2011

 
DONATE TO ME
Quote:
Originally Posted by bhaviksatra87 View Post
Hey! will this app work on windows? How to batch resize using this? Can this handle transperency? And will it perfectly fit to MDPI from HDPI or it will have FC's???
fc has nothing to do with size, I think...

windows, not yet. How to resize: option resize and follow on screen notifications.can handle transparency.

But no windows yet

Greets!

The Following User Says Thank You to mDroidd For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes