APK Batch Rename Tool (for Windows and Linux) - Android Apps and Games

Hi guys!
This is a quick tool I jotted together for myself in the past couple days and found it very useful. So I decided to clean it up and share it. Hope you will like it! Do comment and ask!
APK Batch Rename Tool
* for Windows and Linux for now.
APK Batch Rename Tool recursively crawls input folder and all of its subfolders looking for Android Package files (.apk's). It reads Label and Version info from apk's found and creates a copy for each apk under the output folder but using the Label and Version info acquired.
For example a com.example.hw.apk will make Hello World! 1.21.apk provided that the label inside the package was set to Hello World! and version is 1.21.
The old and the new apk files are 100% the same in terms of content and are unchanged. Only the new copies are given new filenames. Input files are left completely intact.
Why?
Have you ever wondered what are your 1500+ apk files with wierd names nested to different wierd folders on your harddrive? Have you ever wanted to find an app but you were unable to because it had some undescriptive javaish name that made no sense reflected no version and your apps were swept across a hundred junk folders anyway? Then APK Batch Rename is the tool for you! And me!
APK Batch Rename will set a human readable name for all your Android apps, and drop such a copy into a folder. You will finally be able to browse them, sort them alphabetically and be able to pick from versions available.
How?
1. Copy all your apk files (or folders with apk files in them) into the input folder. You may copy folders of any depth. APK Batch Rename Tool will recurse all subfolders of the input folder anyway.
2. Hit or click ApkBatchRename.bat . (For Linux users it's: apkbatchrename, or on a terminal enter: ./apkbatchrename ) Wait until it finishes the job.
3. Find your freshly named files in the output folder.
Simple as that!
Have fun! & Comment!
phsorx

great work, just like reading mp3 tag then rename to "song - artist.mp3"
thanks!

Cool. I use to do it manually. Time saver app.
Thanks.

This is awesome! Thank you very much, situation you described in first post is just like mine, I find your tool very useful!

Folks,
Let me join you crediting phsorx's job, that app is just great!
Thanks and congrats!

Very cool, Works well. Always wanted to do this but was too lazy to try aapt.
I just checked:
aapt said:
badging Print the label and icon for the app declared in APK.
Click to expand...
Click to collapse
Code:
> aapt d badging Talk.apk
[B]package: name='com.google.android.talk' [/B]versionCode='130' [B]versionName[/B]='1.3'
sdkVersion:'8'
targetSdkVersion:'8'
uses-permission: **truncated***
application: [B]label='Talk'[/B] icon='res/drawable-hdpi/ic_launcher_google_talk.png'
uses-feature:'android.hardware.touchscreen'
main
other-activities
search
other-receivers
supports-screens: 'small' 'normal' 'large'
locales: '--_--' 'es' 'es_US'
densities: '160' '240'
I'll definitely use your script but with a small change to show the package name as well as its valuable for when you need to uninstall the package.
i.e label_packagename(version).apk -> Talk_com.google.android.talk(1.3).apk
Attached a slightly modified batch file and screenshot
For single file one-off renames (right-click->open with->rename single) you can use the script here.

De jo! Honfitars. Hajra Magyarok!

Customizable naming planned in future version
britoso said:
Very cool, Works well. Always wanted to do this but was too lazy to try appt.
i.e label_packagename(version).apk -> Talk_com.google.android.talk(1.3).apk
Click to expand...
Click to collapse
Hi Britoso,
Yeah! That's a neat way to do it too!
Eventually I want to make naming and spacing fully customizable! Including what attributes to pick (name, label, versionName) to constitute the filename, and what separators (_,-,(,),space) should go where.
In the howto.txt I have a little road-map for the project. Will add customizable naming too.
Will keep you guys posted.
EOF
phsorx
Ps: Anyone who has another naming suggestion drop a post! I'd be interested.

great job...bravo..
thanks

Very nice tool, thanks for sharing this .
Using it with britoso's edited script.
Edit: I would appreciate it if a log of the conversion would be saved in a \logs\ subfolder, so I can check which files were not converted properly and see if I have to do those manually.

Handy ! Thanks...

deleted

For one-off renames you can use the below batch file.
1) create the below batch file in the same folder as apkrename.bat (its attached too)
Name: rename-single.bat (change this if you want)
content:
Code:
cd "C:\change_me\ApkRename\"
apkrename.bat %1 %~dp1
Change the path(change_me) as needed.
2)Associate it with apks by right clicking on the apk and choosing "choose default program", browse and select the batch file "rename-single.bat".
Uncheck "make this the default operation"
Screenshot and batch file attached. Enjoy.
update:
-12/8 uploaded a new version that fixed a bug involving long path names with spaces.
Also added a check for success and then delete the original apk. (backup your apks just in case).
Remember to set the path to the ApkRename folder in rename_single.bat once before using it.

Really gd job )

APK Batch Rename Tool for Linux is on the way
luvgirl12345 said:
would like a linux version...
Click to expand...
Click to collapse
Hi luvgirl12345,
The Linux port is on the way & will be posted here soon!
Actually, the Windows release is running on win32 ports of a few common Linux tools. And that's so, because I am lazy. Having Linux's much better support for shell scripting plus the same tool set always at hand, porting is a breeze.
Ciao,
phsorx

Sounds very useful, thank you!

Looks nice for massive apk renaming.
Found a similar tool called APKInfo some month ago which i am using for single apk files for a while now.
But finally something for batch renaming.
Thanks

your the man!, works like a charm. Thanks!

Any plans for making an Android version of this to run on our devices?

Future plans for an on-phone version of the APK Rename Tool
del4 said:
Any plans for making an Android version of this to run on our devices?
Click to expand...
Click to collapse
Yes! Certainly. Its in the plans.
But firstly there are a few things to be fixed on the desktop version first. See road map section of the howto.txt file in the archive. The most burning issue is the so called overwrite issue that I want to be sorted out next. Say you have two copies of the same app (same name, label, versionName) but one of them has a patch against it (because its been modded by a reverser) than one of the copies will overwrite the other (ApkRename 1.10).
Secondly on a mobile device's SD card there is usually less space than on a desktop's hard drive. This implies that APK Renamer will actually have to rename the files in place instead of creating a copy of each in a separate folder. Or at least it will need to figure out the empty space left on the device, and if its not enough to hold the copies, it should offer in-place renaming instead. Not a lot of logic to add but still...
Having all the outstanding questions be figured out on the desktop still, will allow me to implement a more established version for the phone right from start. But hold still its not going to take very long
Bests,
phsorx

Related

Disabling Access To Games

Hi - is there any way on PocketPC 2003 to disable access to Solitaire and Jawbreaker. I'm pretty sure I can't remove them all together as they're in the ROM - but some registry hack to prevent access to them would be sufficient.
Try this...
You don't list what device or WM versions you are using, but here are two possible solutions you could try:
1) Read through the forums specific to your device, and learn how to cook your own ROM, removing the offending software.
2) Any file in your ROM can be "overwritten" by syncing to your pc and draggin a file with the same name to the folder containing the file you wish to replace. IE. I have a small, written for the pda application, which when run, displays a pop-up saying "This software has been removed because I do not wish for anyone using this device to have fun doing so!" or similar. I then name it solitare.exe and drag it into the Windows directory from my PC. It asks me am I sure I wish to overwrite the file, I click yes and bam! the file is "replaced". (I believe what actually happens is the OS delinks the file and places the new file in the old ones placeholder on the filesystem, it is still in the ROM as that is unwritable unless flashing, but it is no longer accessable, which is what you want to happen.
tried & failed...
I've created a solitare.exe as you suggested and placed it in the Windows directory - it doesn't seem to get run when executed however - The original game still gets run - I fear I may be doing something stupid.
Re: tried & failed...
gremlin said:
I've created a solitare.exe as you suggested and placed it in the Windows directory - it doesn't seem to get run when executed however - The original game still gets run - I fear I may be doing something stupid.
Click to expand...
Click to collapse
Why do you want to block them?
Re: Try this...
pneuma said:
You don't list what device or WM versions you are using, but here are two possible solutions you could try:
1) Read through the forums specific to your device, and learn how to cook your own ROM, removing the offending software.
2) Any file in your ROM can be "overwritten" by syncing to your pc and draggin a file with the same name to the folder containing the file you wish to replace. IE. I have a small, written for the pda application, which when run, displays a pop-up saying "This software has been removed because I do not wish for anyone using this device to have fun doing so!" or similar. I then name it solitare.exe and drag it into the Windows directory from my PC. It asks me am I sure I wish to overwrite the file, I click yes and bam! the file is "replaced". (I believe what actually happens is the OS delinks the file and places the new file in the old ones placeholder on the filesystem, it is still in the ROM as that is unwritable unless flashing, but it is no longer accessable, which is what you want to happen.
Click to expand...
Click to collapse
Hey pneuma.
2) Isn't working for me either. I thought gremlin was doing something wrong, but I just tried it myself, and, although my "fake" solitaire.exe (a renamed app) file is there, so is the original solitaire.exe. Tapping on the Solitaire icon under games runs the game as if nothing happened, although just opening the Games folder would tell you that it didn't work (the Solitaire icon is still the cards)
What did you do that we didn't? I'm using a Universal.
Peculiar...
Personally I haven't tried this specific to the games, but there was a nasty spash screen in the new WM5 for my Himalaya that I replaced in the method detailed above. It would appear however that solitaire might be a system program, as the following files:
\windows\solitaire.lnk
\windows\start menu\solitaire.lnk
have the following Target: ":MSSOLITAIRE"
but don't despair!
If you have resco explorer or some similar mobile based explorer replacement, try edit the links to point to the replacement exe, or even delete the links altogether, as well as the Games directory under "\windows\start menu\" (might not work deleting them though).
If the deletion or edits don't work you may well have to do the same trick, replacing these .lnk files with something else.
--Marc
Thanks to pneuma I think I've got a workable solution without having to hack into the ROM!
I've created two programs (using PocketBuilder) called Solitare.exe and Jawbreaker.exe which just pop up a response window saying "This Application Has Been Disabled"
I've also created two .lnk files - solitare.lnk and jawbreaker.lnk which contain:
22#"\Windows\Solitare.exe"
and
23#"\Windows\Jawbreaker.exe"
respectively
In my boot process I copy the executables and .lnk files to the \Windows directory and also copy the .lnk files to the
\Windows\Start Menu\Program\Games\
directory.
I don't think our users (sorry to diss them) are bright enough to figure out they have to remove all of these files to get the games working again.
Thanks for all your help.
Gremlin.
gremlin said:
(sorry to diss them)
Click to expand...
Click to collapse
But you're dissing them all the way by treating them like this.
Why shouldn't they be able to play Solitair or JawBreaker every now and then during a coffee of lunch break. A bit of light releif never did anyone any harm.
I'm glad I don't work with you. (Bah Humbug)
I have no say in how the users are treated - I am merely a developer - I get told what needs to be done and I do it. I can offer my suggestions at design time but ultimately it is not my decision how the users are treated on the shop floor.
If I was in management it would be a different story.
I'm lovely to work with - I make the tea and everything
gremlin said:
If I was in management it would be a different story.
Click to expand...
Click to collapse
Point taken. :wink:
I would argue that it's hardly worth the effort just to piss people off.
I'll have my tea with milk and no sugar.

..................................

..................................
bengalih said:
Hey all,
I thing UC is great, but I have gotten to prefer the Tiered Autoinstaller that allows me to pick and choose my CABs to install.
I have taken Tiermann's cool app and packaged it for a non-cooked in audience. Add it to your favorite ROMs to quickly pick and choose all your CABs to install.
Find out more about it and grab it here
Click to expand...
Click to collapse
Thank you kindly
bengalih said:
Hey all,
I thing UC is great, but I have gotten to prefer the Tiered Autoinstaller that allows me to pick and choose my CABs to install.
I have taken Tiermann's cool app and packaged it for a non-cooked in audience. Add it to your favorite ROMs to quickly pick and choose all your CABs to install.
Find out more about it and grab it here
Click to expand...
Click to collapse
OK so THIS is a big step forward for the crazy flasher that lies in us.
Time saving, simple, perfect.
Very convenient to use (especially because I already have my CAB collection on my storage card in a folder named CAB...)
Thanks
Choice between Device and SD Card
Hello Bengalih,
is it possible that when i use the TierAutomatic Installer that i have the choise between the Telefon Memory or the Storage Card where the Programm has to be installed ?
I like to install the most of my Programms to the storage card to keep the Memory of the Phone free for the running Programms.
Or doesn´t this make sense ?
Greetings from germany
Jürgen
oooh great!
Awesome THANK YOU!
but 1 question/request
I have my cab directory sorted by different directories, is there a way to checkbox an entire directory? instead of adding each cab in config.sys?
i have directories like
\Storage Card\Games
\Storage Card\Tweaking
\Storage Card\System Tools
\Storage Card\Multimedia
etc. so it would be awesome to just check the entire directory to save overview
Awesome work dude - been looking for an installer like this that runs perfectly on non-UC compliant ROMs! This works flawlessly - thanks!!!!
Is it also possible to install the cabs on the storage card? i dont want my games on my device but on my storage card...
Imperium said:
Is it also possible to install the cabs on the storage card? i dont want my games on my device but on my storage card...
Click to expand...
Click to collapse
I would like to know that too.
Imperium said:
Is it also possible to install the cabs on the storage card? i dont want my games on my device but on my storage card...
Click to expand...
Click to collapse
change the default installation directory to your storage card using WinCE cab manager.
JuWarth said:
Hello Bengalih,
is it possible that when i use the TierAutomatic Installer that i have the choise between the Telefon Memory or the Storage Card where the Programm has to be installed ?
I like to install the most of my Programms to the storage card to keep the Memory of the Phone free for the running Programms.
Or doesn´t this make sense ?
Greetings from germany
Jürgen
Click to expand...
Click to collapse
The Tiered Auto Installer works by using a built-in copy of Autorun. Since Autorun doesn't allow any user interaction, it is not possible to "choose" what location you want to install.
However, you can use a CAB editor tool to open up your .CAB, and change the default installation directory to "\Storage Card".
WinCE CAB Manager can do it with the trial version.
Thx for the answer
Thx for the answer. I will try the WinCE cab manager
Imperium said:
Awesome THANK YOU!
but 1 question/request
I have my cab directory sorted by different directories, is there a way to checkbox an entire directory? instead of adding each cab in config.sys?
i have directories like
\Storage Card\Games
\Storage Card\Tweaking
\Storage Card\System Tools
\Storage Card\Multimedia
etc. so it would be awesome to just check the entire directory to save overview
Click to expand...
Click to collapse
Yes you can do this...with a little elbow grease:
From the TAutoInstall page...
It will find all cab files referenced in the config.txt as well as those found in \Windows, \Storage Card\Boot, \Storage Card, \Extended_ROM, and \Extended_ROM2.
Click to expand...
Click to collapse
Note that the config.txt should be located in the same directory as TAutoInstall, which in my package is \Windows. I have found that if TAutoInstall is installed in another location with a space in the name (e.g. \Storage Card or \Program Files) that it won't function properly).
In addition the following quote:
Note: The default search directories can be overridden by a command line.
TAutoinstall.exe "\SomePath\folder1" "\SomeOtherPath\Folder2"
You can have up to 10 search paths.
Click to expand...
Click to collapse
In fact, this is the magic of how my packager is working. I have created a shortcut to run TAutoInstall with specific search directories, in this case \Storage Card\Cabs.
NOTE: When you specify directories on the command line it no longer checks the default directories listed above, but it will still check the config.txt file.
Unfortunately it doesn't check recursively, but you can have up to 10 paths. So, to do what you ask you will need to edit my .lnk file:
You need to open the .lnk file in a text editor.
You can copy the \Program Files\TAInstall\TAInstall.lnk to your PC via activesync.
Open it in WORDPAD, not NOTEPAD as it doesn't save them properly.
You will see my syntax:
47#"\Windows\TAutoinstall.exe" "Storage Card\Cabs"
Note the format, specifically the quotes and the number at the beginning. The number is the number of characters in the string minus anything before and including the #. So in the above link there are 50 characters minus 3 (47#). You can modify the shortcut for up to 10 paths, like so:
122#"\Windows\TAutoinstall.exe" "Storage Card\Cabs" "Storage Card\Cabs\Sub1" "Storage Card\Cabs\Sub2" "Storage Card\Cabs\Sub3"
Note that I updated the number to reflect the number of characters in the string minus 4 (122#).
I have not tested it with more than one path, but it should work. I also don't know if there are any limitations as to the maximum length of a shortcut, perhaps a developer would know.
Once you've edited it, copy TAInstall.lnk back to \Program Files\TAInstall\ and you should be good to go. If you have a problem, make sure that the shortcut is being save properly by your text editor. Remove everything you added and re-save and see if the .lnk file still works. If not, then you're text editor probably mangled it.
I would then make a backup copy of the lnk so you won't need to do it all over again.
simple 3-row Mortscript
another "solution" without UC could be a simple mortscript in the cab-directory:
It's not "unattended", but it will do the the job...and you can select the install directory....
ForEach CAB in files (Systempath("ScriptPath")&"\*.cab")
RunWait (%CAB%)
EndForEach
petervbeck said:
another "solution" without UC could be a simple mortscript in the cab-directory:
It's not "unattended", but it will do the the job...and you can select the install directory....
ForEach CAB in files (Systempath("ScriptPath")&"\*.cab")
RunWait (%CAB%)
EndForEach
Click to expand...
Click to collapse
Peter, could you be a bit more step by step with that, maybe putting it into a code box?
I get it, I can read it, I don't know what a "mort-script" in the "cab-directory" would look like (text file?) and where exactly it would go.
Thanks for this thread, guys!
rush242 said:
Peter, could you be a bit more step by step with that, maybe putting it into a code box?
I get it, I can read it, I don't know what a "mort-script" in the "cab-directory" would look like (text file?) and where exactly it would go.
Click to expand...
Click to collapse
just create a text file on your desktop computer and save it with the .mscr file-extension.
then copy this file including the mortscript.exe to your "cab" directory on your mobile machine. that's it
the "cab directory" is just the directory where you save these two files and all your cabs....
but as i said - this script will just call all setups, all necessary informations are manually - it's just like you click each
cab file seperately in file explorer...
attached you'll find my installer (sorry, the language is in german (NO, i'm NOT german, i'm from South-Liechtenstein )
and it'll write a registry key how many times you've started this script....the first time there is no message, if you run this
script more than once, there is a counter and it will remind you how many times you've started this script... (yeah, i like such things....)
i like the fact that i absolutely know what this script is doing, i can easily choose between storage and memory and if i want to
cancel a setup it's no problem
edit: english script (including mortscript exe is uploaded...hope that helps)
rush242 said:
Peter, could you be a bit more step by step with that, maybe putting it into a code box?
I get it, I can read it, I don't know what a "mort-script" in the "cab-directory" would look like (text file?) and where exactly it would go.
Thanks for this thread, guys!
Click to expand...
Click to collapse
I have a feature-rich MortScript that I will be uploading shortly...you may like it better than the Tiered Installer....
petervbeck said:
i like the fact that i absolutely know what this script is doing, i can easily choose between storage and memory and if i want to
cancel a setup it's no problem
edit: english script (including mortscript exe is uploaded...hope that helps
Click to expand...
Click to collapse
Thanks Peter!! That should really help.
UC is good, but there are so many differences between ROMs that you're always editing the text file and thus prone to making it error out. Not to mention, the Lock/Unlock BS.
I've been using Tier Autoinstall in my ROMs for awhile. Even have a cab for non-cooked installation that puts a shortcut in the same place you do?!? funny how great minds think alike . I'll update this post to put in the link to the wiki about it (once the wiki is back up).
_Alex_ said:
I've been using Tier Autoinstall in my ROMs for awhile. Even have a cab for non-cooked installation that puts a shortcut in the same place you do?!? funny how great minds think alike . I'll update this post to put in the link to the wiki about it (once the wiki is back up).
Click to expand...
Click to collapse
Hey welcome back _Alex_, I thought you were movin' on.
Yes, I actually discovered the Tiered AutoInstall first in your ROM I believe. I know you have a stand-alone UC (which I link on the front page), but never saw a stand-alone Tiered from you.
Although I like the check-box effect to install cabs, the current version of Tiered AutoInstaller (and thus my stand-alone version) is a little too limited for all but automated installs.
If you guys like, please check out my new VIP+bengalih RAW AutoInstaller. Fully MortScript based with quite a few more features!

[Shell Extension] Right-click adb install (v1.0)

I'm sure people have done this already but I just added the registry key to make my life easier and didn't see one posted here so I figured I'd make it available. A very simple shell extension to allow right-click->Install of .apk files.
It assumes the adb.exe binary to be located in the default location at c:\android-sdk-windows\tools\adb.exe so modify the .reg file as needed if you've installed to a different location or are still using an older version of the SDK. The install is always done with the -r flag, so it will work on first installs as well as on "update" installs.
Will release another version with uninstall capability as well when I get time, but that will probably require an additional .dll file to be included since it'll need to read the package name from inside the apkfile. (If anyone would like to take a crack at that in the meantime feel free!)
For what it's worth, enjoy
EDIT: If it's the only registered action it will also be the default action, so you can just double-click too.
Yeahh Thx a lot
Benn looking for something like this for a long time.
Very handy - thanks!
Sweet, thanks.
Thanks, works perfectly !

Tutotrial: How to add Category Folder Quick Links to your Home Tab.

I have been wanting to add folders for some time to my quicklinks. I researched and researched.
I came across this thread:
http://forum.xda-developers.com/showthread.php?t=576232
However it only dealt with a few categories.
So I have created new .lnk files and asscociated them with .png folder icons and created the necessary registry files.
This will work if you have 9, 12 or 16 Quick Links. For 20 Quick Links I think it will still work but you have to assign the Quick Links yourself.
Just unzip the attached file, read the read me and copy the Programs Folder to your phone and inport the enclosed registry entry too. Reset.
great idea! i wondered why 20 quicklinks are enough for all people here. i just have installed a few apps and games and my quicklink bar is full!
are you going to make the quicklinks for the 20 icon bar?
Great work, thanks.
fruchtfliege said:
great idea! i wondered why 20 quicklinks are enough for all people here. i just have installed a few apps and games and my quicklink bar is full!
are you going to make the quicklinks for the 20 icon bar?
Click to expand...
Click to collapse
If 25 links is enough for you? See this thread, from the same guy who created the 20 links on Home tab.
thanks, i've already seen the 25 link thread! i think it will be more flexible with folder links to group games etc. but maybe i'm going to use both tweaks:
normal links for most important apps and folder links for games, system information and so on...
tboy2000 said:
I have been wanting to add folders for some time to my quicklinks. I researched and researched.
I came across this thread:
http://forum.xda-developers.com/showthread.php?t=576232
However it only dealt with a few categories.
So I have created new .lnk files and asscociated them with .png folder icons and created the necessary registry files.
This will work if you have 9, 12 or 16 Quick Links. For 20 Quick Links I think it will still work but you have to assign the Quick Links yourself.
Just unzip the attached file, read the read me and copy the Programs Folder to your phone and inport the enclosed registry entry too. Reset.
Click to expand...
Click to collapse
Bit of a noob question but why can't you just create links to the default folders and then run these. I tried this but it always says fails to open "games application".
tboy2000 said:
I have been wanting to add folders for some time to my quicklinks. I researched and researched.
I came across this thread:
http://forum.xda-developers.com/showthread.php?t=576232
However it only dealt with a few categories.
So I have created new .lnk files and asscociated them with .png folder icons and created the necessary registry files.
This will work if you have 9, 12 or 16 Quick Links. For 20 Quick Links I think it will still work but you have to assign the Quick Links yourself.
Just unzip the attached file, read the read me and copy the Programs Folder to your phone and inport the enclosed registry entry too. Reset.
Click to expand...
Click to collapse
Just to add to my last, I have an HD with 2.5.1922011 Nrgz ROM but can't seem to import the registry settings. Have used TRE and it states that registry import was successful but to no avail. I have tried hand modifying the entries but still not working. Am I missing something???
Not working
Changed the registry to my portuguese ROM and nothing!
Maybe this only works on WWE roms because of the registry names. If importing the registry does not work for you, try just adding the folders manually to your quick links in the normal way you would add apps. just look fit the folder.link file in the list. let me know.
tboy2000 said:
Maybe this only works on WWE roms because of the registry names. If importing the registry does not work for you, try just adding the folders manually to your quick links in the normal way you would add apps. just look fit the folder.link file in the list. let me know.
Click to expand...
Click to collapse
Hi, in attach is an export of my regfile.
I have put in "sistema" the system.lnk and system.png and renamed it to Portuguese: sistema.lnk and sistema.png
Even so when i click in the home tab in icon (that shows your png file) it says,
" Its not possible to open the file "sistema". Or is not signed with a certificate or cannot find the components.
Thnaks
toyjeep said:
Hi, in attach is an export of my regfile.
I have put in "sistema" the system.lnk and system.png and renamed it to Portuguese: sistema.lnk and sistema.png
Even so when i click in the home tab in icon (that shows your png file) it says,
" Its not possible to open the file "sistema". Or is not signed with a certificate or cannot find the components.
Thnaks
Click to expand...
Click to collapse
This is exactly what happens to me and my ROM is WWE. I can link the folder but it will not open. Tried manually editing the registry but without success. There must be another step but for the life of me I can't figure it out and it's driving me crazy!! This should be simple but HTC make it extremely difficult.
sandymac said:
This is exactly what happens to me and my ROM is WWE. I can link the folder but it will not open. Tried manually editing the registry but without success. There must be another step but for the life of me I can't figure it out and it's driving me crazy!! This should be simple but HTC make it extremely difficult.
Click to expand...
Click to collapse
Bump. Has anyone actually succeeded in doing as instructed and managed to create quick links with folders?
16 Shortcuts...for 25!!
Hi,
i am newbie with my HD2. I did the steps for 16 Short cuts, but it didn't worked out as it should because i have 25 Quick links. Now i have nice folder icons in my Quick links but they don't work!!
Could some one help me with a more detailed how to!!!!
Thanks in adv.
foka
another approach
Hi!
I had the very same problem.
The recommendations given here, I use too, but I remembered a small program usually used for maintaining a directory organisation with PortableApps on the PC. It just uses its own name (like 'games.exe') extracts the '.exe' out of it and opens the reaining 'games' as a directory. I found this was a brute, but very useful solution to the problem. So finally I did that app for mobile devices on my own. It is written in C#. Prerequisites are compact framework 3.5.
In my opinion its only drawback is, that it uses the file-explorer as a platform to view the directory. I would like the HTC view with icons more, but I don't know, how to call the required code to do so.
Personally I have installed 4 instances of the program (240kb) on the storage-card and created the links to them in the startmenu-folder. This works fine with directlinks.
Note: Only subfolders in /windows/startmenu/programs are opened! For other needs the source code is easily changeable.
Here comes a short description:
----------------------------------------------------------------
Prerequisites: Microsoft Compact Framework 3.5.
Install and usage description:
MobDir.Cab installs the file MobDir.exe into your 'prorams' directory.
Since MobDir reads in its very own name to function, it is of utmost importance to RENAME MobDir.exe to a directory name, that fits for your environment!
MobDir starts a File-Explorer directly in a directory that resides in your /windows/start menu/programs
directory.
e.g.: There is a dir called 'games' in your 'programs' directory of 'start menu', that contains all the links to your games on the device. Rename MobDir.Exe accordingly into 'games.exe'. If the program is already installed in your 'start menu/programs' directory, there is not much more to do for you. Simply select games.exe in your directlinks. There you have a directory-icon labeled 'games' then which, when clicked, opens the file-explorer in your games directory. If games.exe resides on your starage card, you have to create a games.lnk into the 'start menu/programs' directory first.
Of course, if you have more subdirectories in your 'start menu/programs' folder, which is most likely the case ('apps', 'tools' for instance), just copy the file MobDir.Exe under these names to your device. In this example as apps.exe and tools.exe. The rest is the same as written beforehand.
Sounds more complicated as it is, just try it, it's simple.
Note: The way it works can be followed by watching the source code. It first reads in its own filename (e.g.: 'games.exe'). Then it extracts the '.exe' out of the name (leaving a 'games'). Right after it looks for your current localized '/windows/start menu/programs/' path and adds the string to it, which we extracted beforehand. So we have a path 'windows/start menu/programs/games'. Finally the file-explorer is called with that path as a parameter.
-----------------------------------------------------------
Here is the source-code:
Code:
using System;
namespace MobDir
{
static class Program
{
[MTAThread]
static void Main()
{
string cFileNameSelf="Use this Base-Code as a sample. Written in '2010 bei D.Bos";
try
{
//read out own filename and strip out ".EXE"
cFileNameSelf = AppDomain.CurrentDomain.FriendlyName.ToUpper().Replace(".EXE", "");
//start File-Explorer, given the path to /windows/startmenu/programs/ + <NameSelf>
System.Diagnostics.Process p = System.Diagnostics.Process.Start("fexplore.exe", ReadSpecialFolder("Programs") + "\\" + cFileNameSelf + "\\");
p.WaitForExit();
}
catch (System.Exception e)
{
System.Windows.Forms.MessageBox.Show("Problem with <" + cFileNameSelf + ">!\n" + e.Message);
}
}
public static string ReadSpecialFolder(string cVarName)
{
return Environment.GetFolderPath((Environment.SpecialFolder)Enum.Parse(typeof(Environment.SpecialFolder), cVarName, true));
}
}
}
-----------------------------------------------------------
And finally: The file MobDir.Cab is attached to this posting.
Hopefully you can make some use of it.
Dietmar

[MOD] Custom S Note template

Hi folks.
I don't quite like any of the provided templates in S notes. And frankly I think Samsung should allow us to create templates. Anyways...
I have been searching quite a while for this but could not find a suitable solution. Hence, I decided to check it out myself.
Basically, it's pretty simple, replacing files within an apk. Not sure if this has been explored before though..
Requirement:
1) Rooted device with any file explorer to read/write system files
2) WinRAR
Steps:
1) Create a template.
Simple create a blank note "blank.snb" that you would like to use as a template. You can have your required background, pattern, color, etc. Save it.
2) Copy out this "blank.snb" into your PC. Notes location on device is "\sdcard\S Note" internal storage.
3) Copy out S notes APK into your PC. Location: "\system\app\Snote_wxga.apk"
IMPORTANT: Make extra copies of this apk, in case the one you're editing screws up!
4) Rename the "Snote_wxga.apk" to "Snote_wxga.rar" and open it with winRAR.
5) In winRAR, browse to "\assets\templates" and delete "magazine.snb" - more info on this below
6) Rename the "blank.snb" from step (2) into "magazine.snb"
7) Drag this new "magazine.snb" into winRAR location "\assets\templates" of "Snote_wxga.rar". Close winRAR.
Your file "Snote_wxga.rar" should now be updated.
8) Rename back "Snote_wxga.rar" to "Snote_wxga.apk"
9) Copy this "Snote_wxga.apk" back into "\system\app\" of your device.
NOTE: Your device may restart in this process.
10) Restart your device if it already hasn't.
11) Open your Snotes. Your "Magazine" template will now be your custom template that you created.
Notes:
i) I tried adding a new snb into the APK but that was not registered as a new template. This is why I had to replace an existing template with my custom one. I happen to choose "Magazine". I believe others should work also. I did not experiment replacing more files.
ii) The thumbnail does not change though. It still has the magazine thumbnail. Not a major issue for me as I always pre-select my template when I create new notes. For those who have any ideas to change this, pls do share.
iii) This little mod worked for me and I didn't find time to explore further as this meet my needs. I do not take responsibility if your device decides to misbehave. So do remember to backup the "Snote_wxga.apk", or better still, perform a nandroid backup.
Cheers! :good:
Thank you for this tip. I'll try later when I'm at my computer. Could you upload some templates you made?
dsp0704 said:
Thank you for this tip. I'll try later when I'm at my computer. Could you upload some templates you made?
Click to expand...
Click to collapse
I have attached the one which I'm using, renamed to "magazine.snb".
It's a simple blank note, white background with faint lines across.
Ok.. there seems to be a problem. When I add pages, it goes back to an empty memo template.
So now I have notes with different cover pages.. Hmmmm
Alright! With a little bit of trial-and-error, I finally got the right template that behaves correctly on every page.
The trick was first to take a "golden template", which would say is "memo", since it's the simplest and every page is constant. I opened it up (renaming the snb file to rar) and I replaced it with my background images (already generated from my template I created above).
So basically, this is still a "memo" template, but with a different background.
This time, I replaced the birthday template with this one. I've attached the template and a thumbnail as well. Now, every page has my background and color!
As an alternative: it is also possible to modify downloaded note templates, instead of modifying the apk - I've put the description here: http://forum.xda-developers.com/showthread.php?t=2330470
Is it possible to get *. snb files from Note 3's ,,s note" apk and put them inside original Note 8,0's apk file?
If yes, can anyone having Note 3 attach apk file here so we can extract templates and put them into our apk's?
MasK said:
Hi folks.
I don't quite like any of the provided templates in S notes. And frankly I think Samsung should allow us to create templates.
Click to expand...
Click to collapse
HI MasK,
But i personaly love if you share the proper image size
i think it's posible to change the custom background without rooting.
:laugh:
ok,. i have your birthdays gift,.. and i found thats images is 800X1108 pxl

Categories

Resources