Post Reply

[TOOL] RenameAPK - batch-rename bizarrely-named APKs

OP primetechv2

2nd November 2011, 11:41 PM   |  #1  
primetechv2's Avatar
OP Senior Member
Flag Wisconsin
Thanks Meter: 143
 
375 posts
Join Date:Joined: Nov 2010
If you have a slough of apk files with weird names like I do, this DOS tool is for you. It uses AAPT (included) to check an APK file's name and version, and renames your APK in a more human-readable format.

Example:
pp170.apk --> PhotoShake Pro_1.7.0.apk

Installation
Just unzip the file (RenameAPK.zip) to anywhere you like. All the required files are included.


Instructions: GUI
I made RenameApkGUI in an attempt to create a nice tool that can be pinned to the start bar. (Right click on it, choose Pin To Taskbar.) Just like regular RenameAPK, you can drag multiple files to it. You can also open it and drag multiple files into it (this makes for an easier listing of the files you want to convert).

There are a couple caveats to it, however:
  • When pinned to the Taskbar, you can only drag one file at a time onto its icon.
  • When pinned to the Taskbar, and you wish to drag a file onto its icon, you must hold the Shift key.
  • Really, you might as well just open RenameAPK from the Start bar instead of trying to drag/drop to it.

Instructions: Command-line Tool
You can run this tool through the command line, or by dragging one (or multiple!) .apk files to it.

To rename multiple files (just in case )
  • Select the FIRST file you want renamed (e.g. clicking on it)
  • Hold down the shift key
  • Use the mouse or arrow keys to define the END of your selection
  • Drag one of the selected files to renameapk-min.

To rename multiple files (just in case )
  • Select the FIRST file you want renamed (e.g. clicking on it)
  • Hold down the shift key
  • Use the mouse or arrow keys to define the END of your selection
  • Drag one of the selected files to renameapk-min.


Instructions: Developers
If you want to borrow/change the code, feel free to do so. But also please remember to
  • Give credit to this me/this project (it's free, you don't even need to give me cookies)
  • Let me know what you did (it's cool to know)


Updates
  • RenameAPK v2: Added a GUI wrapper. Keep it in the same folder as the batch files and utilities, and everything should be all right.
  • Moved the excessive sourcecode files to a source folder.
Attached Files
File Type: zip RenameAPK.zip - [Click for QR Code] (1.89 MB, 5966 views)
File Type: zip RenameAPKv2.zip - [Click for QR Code] (2.13 MB, 1258 views)
Last edited by primetechv2; 2nd April 2013 at 05:58 PM.
The Following 68 Users Say Thank You to primetechv2 For This Useful Post: [ View ]
4th November 2011, 03:51 PM   |  #2  
mingolianbeef's Avatar
Senior Member
Thanks Meter: 1,137
 
1,931 posts
Join Date:Joined: Apr 2011
More
Just wondering, does this change the name of the app itself, or is this the same as right clicking and renaming on the computer?

Sent from my PG86100 using XDA App
The Following 2 Users Say Thank You to mingolianbeef For This Useful Post: [ View ]
4th November 2011, 11:46 PM   |  #3  
Senior Member
Thanks Meter: 17
 
115 posts
Join Date:Joined: Dec 2010
This is excellent for renaming and keeping track of the Amazon AppStore APKs!

I ran this without a problem in Android\data\com.amazon.venezia\cache on my SD card.

Thanks much!
5th November 2011, 03:11 AM   |  #4  
Senior Member
Flag Vancouver, BC
Thanks Meter: 19
 
293 posts
Join Date:Joined: Jun 2006
More
This is the MOST useful app ever! Thanks!
5th November 2011, 03:23 AM   |  #5  
LCopJunior's Avatar
Junior Member
Thanks Meter: 2
 
26 posts
Join Date:Joined: Apr 2011
Thumbs up
Very great looking tool. Can't wait to install this to see what is what!
5th November 2011, 05:50 AM   |  #6  
Account currently disabled
Flag City of Sharks
Thanks Meter: 601
 
3,496 posts
Join Date:Joined: Mar 2011
More
This is awesome. Thanks for this!
9th November 2011, 07:28 PM   |  #7  
PacerguyDon's Avatar
Senior Member
Flag Boise
Thanks Meter: 219
 
684 posts
Join Date:Joined: Mar 2011
Donate to Me
More
This is a great tool!!! Thank you very much for sharing!
11th November 2011, 06:12 AM   |  #8  
Senior Member
Singapore
Thanks Meter: 24
 
158 posts
Join Date:Joined: Nov 2010
More
Thumbs up Great job!
I agree with all the above!

This is the most useful tool I've ever used!

Great job!!
11th November 2011, 11:21 PM   |  #9  
Junior Member
Thanks Meter: 4
 
12 posts
Join Date:Joined: Jan 2006
this could help a lot thx
14th November 2011, 07:06 AM   |  #10  
TRusselo's Avatar
Retired Forum Moderator / Recognized Developer
Flag Edmonton
Thanks Meter: 2,774
 
4,682 posts
Join Date:Joined: Jan 2011
Donate to Me
More
heres a nice how-to for the non dos/bat script savvy.


The Following 7 Users Say Thank You to TRusselo For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Software Development by ThreadRank