Ever wanted to know how you can use low-res (176*220) titles on your QVGA phone? - HTC Monet

If you have a QVGA Smartphone like the HTC Vox / s710, you know well enough that most existing games and other graphics-based Smartphone apps (Windows Mobile 6 Standard) out there only use a postage-stamp sized screen area. An example of this is PDAMill’s Flux Challenge, which, being designed for the traditional low-res (176*220) Smartphone resolution, only uses part of the available QVGA screen estate:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There were no widely known solutions for the problem. Some developers announced support for QVGA devices (for example, that of Cell Doom – see announcement HERE), but the most (including PDAMill) didn’t.
Fortunately, an excellent White Russian coder has come up with a generic solution, which not only makes it possible to run MANY (but not all!) games at full screen, but, in cases, also lets for using real (!) QVGA resolution with some titles (for example, emulators).
Downloading, installing
Go to this MoDaCo thread and download the ZIP file attached to the first post. You’ll need to register as a forum user if you aren’t able to access it. If you don’t want to bother with it, I’ve also uploaded the file to my database back-end; it’s HERE.
After this, just unZIP it and start GxQvga Patcher.exe. Should you encounter an error message complaining about the lack of the .NET Framework 2, you will need to download it HERE (note that some stated it only requires 1.1. I haven’t checked whether they’re right. The latter is accessible HERE.)
Using
This patcher app runs on the desktop, NOT on the Smartphone. This means you must transfer the main EXE file of the game / emulator / app you’d like to make use of the QVGA screen to your desktop computer first. To do this, use for example Total Commander with the CE file system patch (see THIS for an explanation of installing it) or, if you don’t want to bother, just the “Explore” button of ActiveSync.
Transfer the main EXE files (but nothing else) of the apps / games you’d like to patch to the directory of where the above-mentioned, just decompressed GxQvga Patcher.exe resides.
Now, start GxQvga Patcher.exe. It will present you a dialog:
In there, click “Select exe file to patch...". Now, select the EXE file you’d like to patch:
After letting it go on, you’ll be presented a message telling you the patching was successful:
Now, all you need to do is:
Copy the patched EXE file back to your MS Smartphone, making sure you overwrite the original EXE file
Go to the QVGA subdirectory on your desktop (just under the directory where GxQvga Patcher.exe resides), and copy XG.dll to the same directory on your smartphone
Start the game / app to see whether it worked; answer Yes to the message.
If the game / app still only uses 176*220 (and not the full screen), exit it and go to the SCALE (NOT the previous QVGA!) subdirectory on your desktop, and copy XG.dll to the same directory on your smartphone and copy XG.dll to the smartphone, making sure you overwrite the previously copied QVGA XG.dll. Now, start the game on your Smartphone. Hope it’ll use the full screen. If it still doesn’t do this, then, nothing can help, I’m afraid.
Examples of the before-after cases
PocketHobbitSP2003 (as of the current, Alpha 11 version) doesn’t support QVGA devices. As can be seen in the following screenshot, without patching, it only uses a stamp-size screen area in Portrait mode on QVGA devices:
http://www.winmobiletech.com/062007C64Emus/c64EmuDefaultStamp.bmp.png
After the patch and using the QVGA DLL, it becomes much bigger and, what is even more important, makes use of the full horizontal screen reoslution – that is, 240 pixels, resulting in MUCH more readable text:
http://www.winmobiletech.com/062007C64Emus/PatchedSEQVGAP.bmp.png
Incidentally, with the SCALE DLL, it also fills in the entire screen horizontally, BUT only upscaling the original, 176*132 rendition resulting in a MUCH inferiour real resolution & readability:
http://www.winmobiletech.com/062007C64Emus/PatchedSPVersionScaleDLLQVGAPortrait.bmp.png
This is why I’ve emphasized you MUST give a try to the QVGA DLL first and only give a try to the SCALE one when the former doesn’t deliver any results.
Recommended link
This MoDaCo thread discusses the converter at length. A MUST!

Related

Ever wanted to know how you can use low-res (176*220) titles on your QVGA phone?

If you have a QVGA Smartphone like the HTC Vox / s710, you know well enough that most existing games and other graphics-based Smartphone apps (Windows Mobile 6 Standard) out there only use a postage-stamp sized screen area. An example of this is PDAMill’s Flux Challenge, which, being designed for the traditional low-res (176*220) Smartphone resolution, only uses part of the available QVGA screen estate:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There were no widely known solutions for the problem. Some developers announced support for QVGA devices (for example, that of Cell Doom – see announcement HERE), but the most (including PDAMill) didn’t.
Fortunately, an excellent White Russian coder has come up with a generic solution, which not only makes it possible to run MANY (but not all!) games at full screen, but, in cases, also lets for using real (!) QVGA resolution with some titles (for example, emulators).
Downloading, installing
Go to this MoDaCo thread and download the ZIP file attached to the first post. You’ll need to register as a forum user if you aren’t able to access it. If you don’t want to bother with it, I’ve also uploaded the file to my database back-end; it’s HERE.
After this, just unZIP it and start GxQvga Patcher.exe. Should you encounter an error message complaining about the lack of the .NET Framework 2, you will need to download it HERE (note that some stated it only requires 1.1. I haven’t checked whether they’re right. The latter is accessible HERE.)
Using
This patcher app runs on the desktop, NOT on the Smartphone. This means you must transfer the main EXE file of the game / emulator / app you’d like to make use of the QVGA screen to your desktop computer first. To do this, use for example Total Commander with the CE file system patch (see THIS for an explanation of installing it) or, if you don’t want to bother, just the “Explore” button of ActiveSync.
Transfer the main EXE files (but nothing else) of the apps / games you’d like to patch to the directory of where the above-mentioned, just decompressed GxQvga Patcher.exe resides.
Now, start GxQvga Patcher.exe. It will present you a dialog:
In there, click “Select exe file to patch...". Now, select the EXE file you’d like to patch:
After letting it go on, you’ll be presented a message telling you the patching was successful:
Now, all you need to do is:
Copy the patched EXE file back to your MS Smartphone, making sure you overwrite the original EXE file
Go to the QVGA subdirectory on your desktop (just under the directory where GxQvga Patcher.exe resides), and copy XG.dll to the same directory on your smartphone
Start the game / app to see whether it worked; answer Yes to the message.
If the game / app still only uses 176*220 (and not the full screen), exit it and go to the SCALE (NOT the previous QVGA!) subdirectory on your desktop, and copy XG.dll to the same directory on your smartphone and copy XG.dll to the smartphone, making sure you overwrite the previously copied QVGA XG.dll. Now, start the game on your Smartphone. Hope it’ll use the full screen. If it still doesn’t do this, then, nothing can help, I’m afraid.
Examples of the before-after cases
PocketHobbitSP2003 (as of the current, Alpha 11 version) doesn’t support QVGA devices. As can be seen in the following screenshot, without patching, it only uses a stamp-size screen area in Portrait mode on QVGA devices:
http://www.winmobiletech.com/062007C64Emus/c64EmuDefaultStamp.bmp.png
After the patch and using the QVGA DLL, it becomes much bigger and, what is even more important, makes use of the full horizontal screen reoslution – that is, 240 pixels, resulting in MUCH more readable text:
http://www.winmobiletech.com/062007C64Emus/PatchedSEQVGAP.bmp.png
Incidentally, with the SCALE DLL, it also fills in the entire screen horizontally, BUT only upscaling the original, 176*132 rendition resulting in a MUCH inferiour real resolution & readability:
http://www.winmobiletech.com/062007C64Emus/PatchedSPVersionScaleDLLQVGAPortrait.bmp.png
This is why I’ve emphasized you MUST give a try to the QVGA DLL first and only give a try to the SCALE one when the former doesn’t deliver any results.
Recommended link
This MoDaCo thread discusses the converter at length. A MUST!

Ever wanted to know how you can use low-res (176*220) titles on your QVGA phone?

If you have a QVGA Smartphone like the HTC Vox / s710, you know well enough that most existing games and other graphics-based Smartphone apps (Windows Mobile 6 Standard) out there only use a postage-stamp sized screen area. An example of this is PDAMill’s Flux Challenge, which, being designed for the traditional low-res (176*220) Smartphone resolution, only uses part of the available QVGA screen estate:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There were no widely known solutions for the problem. Some developers announced support for QVGA devices (for example, that of Cell Doom – see announcement HERE), but the most (including PDAMill) didn’t.
Fortunately, an excellent White Russian coder has come up with a generic solution, which not only makes it possible to run MANY (but not all!) games at full screen, but, in cases, also lets for using real (!) QVGA resolution with some titles (for example, emulators).
Downloading, installing
Go to this MoDaCo thread and download the ZIP file attached to the first post. You’ll need to register as a forum user if you aren’t able to access it. If you don’t want to bother with it, I’ve also uploaded the file to my database back-end; it’s HERE.
After this, just unZIP it and start GxQvga Patcher.exe. Should you encounter an error message complaining about the lack of the .NET Framework 2, you will need to download it HERE (note that some stated it only requires 1.1. I haven’t checked whether they’re right. The latter is accessible HERE.)
Using
This patcher app runs on the desktop, NOT on the Smartphone. This means you must transfer the main EXE file of the game / emulator / app you’d like to make use of the QVGA screen to your desktop computer first. To do this, use for example Total Commander with the CE file system patch (see THIS for an explanation of installing it) or, if you don’t want to bother, just the “Explore” button of ActiveSync.
Transfer the main EXE files (but nothing else) of the apps / games you’d like to patch to the directory of where the above-mentioned, just decompressed GxQvga Patcher.exe resides.
Now, start GxQvga Patcher.exe. It will present you a dialog:
In there, click “Select exe file to patch...". Now, select the EXE file you’d like to patch:
After letting it go on, you’ll be presented a message telling you the patching was successful:
Now, all you need to do is:
Copy the patched EXE file back to your MS Smartphone, making sure you overwrite the original EXE file
Go to the QVGA subdirectory on your desktop (just under the directory where GxQvga Patcher.exe resides), and copy XG.dll to the same directory on your smartphone
Start the game / app to see whether it worked; answer Yes to the message.
If the game / app still only uses 176*220 (and not the full screen), exit it and go to the SCALE (NOT the previous QVGA!) subdirectory on your desktop, and copy XG.dll to the same directory on your smartphone and copy XG.dll to the smartphone, making sure you overwrite the previously copied QVGA XG.dll. Now, start the game on your Smartphone. Hope it’ll use the full screen. If it still doesn’t do this, then, nothing can help, I’m afraid.
Examples of the before-after cases
PocketHobbitSP2003 (as of the current, Alpha 11 version) doesn’t support QVGA devices. As can be seen in the following screenshot, without patching, it only uses a stamp-size screen area in Portrait mode on QVGA devices:
http://www.winmobiletech.com/062007C64Emus/c64EmuDefaultStamp.bmp.png
After the patch and using the QVGA DLL, it becomes much bigger and, what is even more important, makes use of the full horizontal screen reoslution – that is, 240 pixels, resulting in MUCH more readable text:
http://www.winmobiletech.com/062007C64Emus/PatchedSEQVGAP.bmp.png
Incidentally, with the SCALE DLL, it also fills in the entire screen horizontally, BUT only upscaling the original, 176*132 rendition resulting in a MUCH inferiour real resolution & readability:
http://www.winmobiletech.com/062007C64Emus/PatchedSPVersionScaleDLLQVGAPortrait.bmp.png
This is why I’ve emphasized you MUST give a try to the QVGA DLL first and only give a try to the SCALE one when the former doesn’t deliver any results.
Recommended link
This MoDaCo thread discusses the converter at length. A MUST!

IMAG to Date - Camera Utility

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
IMAG to Date renames image files, JPG, GIF, and BMP to Date Formatted filenames, MMddyyyyHHmm_RID (R.I.D. Random ID). The dates are based on the Date when the file is created.
You’ll probably hate the way Camera application saves the image file, which was “IMAG####.jpg”. This kind of naming will cause a problem when backing up the image files in your PC/MAC specially when the file already exists in your backup drive but different picture, the only thing you could do is to rename the file in your mobile device. For example, you have “IMAG0050.jpg” in your mobile phone and you want to move that in your PC/MAC but a file “IMAG0050.jpg” already exists but has different picture? Probably the first thing you’ll do is to rename “IMAG0050.jpg” in your mobile device into something different.
Now to make things easier, IMAG to Date is created to help from that problem.
New Version Released for NETCF 3.5
IMAG to Date 2.5
Sep. 13, 2005
ADDED
- Can customize supported extension
- File list sorted
- Enable/Disable Notifications
UPDATE
- Checked items, shown first in file list.
FIXED
- error occuring on a file with no extension
visit my blog post for more information and more screen shots!
http://bit.ly/IMAGtoDate
alternative link
http://bit.ly/IMAGtoDate2
if you found anything. please let me know ..
If you found my work useful, please consider donating
and the complete Gratitude Lists
update: June 26, 2010
moved the installer here.
Really useful!
But is it possible to customize the renaming pattern? For example yyyy-MM-dd_HH-mm-ss
alexirsi said:
Really useful!
But is it possible to customize the renaming pattern? For example yyyy-MM-dd_HH-mm-ss
Click to expand...
Click to collapse
yes, possible! but for the next release.
thanks for the feedback!
this is cool! thanks Nullstring!
btw: i'm also using your JSPA Program Manager.
Mabuhay ang Pinoy!
oist! glad to know! maraming salamat!
very usefull, thanks a lot.
another user interested in a yymmdd pattern (my way to classify files), even more if the pattern can be customized
anyway thanks for this very first solution
i just tried it... is there a way to change the default folder (open)?
@solrac_
currently I'm designing a way to make things easier ..
You can format it in any way you like.
@TheRem
yes, click Menu>Select Folder
i mean when starting the program, it automatically opens My Documents folder but i like it to open the DCIM folder as the startup folder.
@TheRem
Actually, I based the location in registry "HKCU\Software\Microsoft\Pictures\StorageCardPath" thought it was the default Camera path but it turns out that the value set in StorageCardPath is the last location of the Pictures and Videos application path.
I have to look deeper in registry. I'll ask Resco Registry tool
Nullstring said:
@solrac_
currently I'm designing a way to make things easier ..
You can format it in any way you like.
Click to expand...
Click to collapse
Nice program, really usefull.
I'm waiting for the version with flexible format (need yyyymmdd).
But then it's one of the must-have-tools for everybody!
@agvdberg thank you
I appreciate all your feedbacks!
thanks for downloading!
Sweet! I will have to try this. Thanks.
please do S.V.I
and don't forget to write your feedback
IMAG to Date is available in freewarepocketpc.com
http://www.freewarepocketpc.net/ppc-download-imagtodate.html
and it's been downloaded 150 times in first release. Man I hope they'll be updated in the next release.
Great idea !
BUT
I can't seem to install it...
it's an .exe file... what to do with it ?
@Tourist
Microsoft Windows 101
.EXE (EXEcutable Application) is basically a program that you can launch in Microsoft Windows platform.
You can actually find hundreds of .EXE files in your Windows Desktop/Mobile (thousands in Desktop) so don't be shocked if you found them and DO NOT delete!
good idea
Nullstring said:
IMAG to Date renames image files, JPG, GIF, and BMP to Date Formatted filenames, MMddyyyyHHmm_RID (R.I.D. Random ID). The dates are based on the Date when the file is created.
You’ll probably hate the way Camera application saves the image file, which was “IMAG####.jpg”. This kind of naming will cause a problem when backing up the image files in your PC/MAC specially when the file already exists in your backup drive but different picture, the only thing you could do is to rename the file in your mobile device. For example, you have “IMAG0050.jpg” in your mobile phone and you want to move that in your PC/MAC but a file “IMAG0050.jpg” already exists but has different picture? Probably the first thing you’ll do is to rename “IMAG0050.jpg” in your mobile device into something different.
Now to make things easier, IMAG to Date is created to help from that problem.
visit my blog post for more information
http://bit.ly/IMAGtoDate
Click to expand...
Click to collapse
May i ask how do i get it to work? Can you instruct me with steps?
thank you so much
Nullstring said:
@Tourist
Microsoft Windows 101
.EXE (EXEcutable Application) is basically a program that you can launch in Microsoft Windows platform.
You can actually find hundreds of .EXE files in your Windows Desktop/Mobile (thousands in Desktop) so don't be shocked if you found them and DO NOT delete!
Click to expand...
Click to collapse
that's a very nice little poem you wrote there.
I know what an .exe file is.
what I meant (just like the next post after yours) is that I have no idea how to install or launch the app.

[UTILITY][10-18-2011] APK Manager for Mac OS X, Intel only, v1.2.1

[UTILITY][10-18-2011] APK Manager for Mac OS X, Intel only, v1.2.1
This is from the more general Android Development section of XDA. I thought that some of you here may like it to work on mods for our NOTE's apps.
Original Thread: http://forum.xda-developers.com/showthread.php?t=1285130
s0niqu3 said:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So almost everyone here should be pretty familiar with android, and that means you've probably heard of (and maybe even used yourself) the windows tool APK Manager by fellow XDA member Daneshm90.
Earlier this year I started to port the current windows 4.9 version to mac using the outdated linux script for a base. And I had some early success at the time with simply using macports to install sox, optipng, etc. And then my computer crashed (double drive failure back in July) and I gave up for the time being. Recently though I was excited to find that someone else tried to do the same thing, XDA member MAD Industries released a very basic port for mac.
Sadly though, a quick diff of his script and the outdated linux version shows that its not much of a port at all. In fact there were only 9 changes, purely for MAD Industries to add his credit lines, and disable the options to optimize png images, and ogg files.
And so a couple of weeks ago I started working (once again) on my own port of APK Manager for Mac OS X.
Since I used the MAD Industries version originally for my base, I have kept his credit in the readme.txt, though to be honest, I've undone every single change he made, and changed virtually every line in the original linux script. And on top of that, I've written over 1700 new lines of code to not only bring this current to the windows feature set, but exceed it in many ways.
I've built in 32/64-bit architecture checking, and compiled and include the required missing binaries to re-enable optimizing png images and ogg files. I'm also including a .terminal file for easily configuring the default display, and a copy of my NEW favorite fixed-width font, Bitstream Vera Sans Mono.
And now some notes, and requests:
PLEASE note: this is currently INTEL only, but it supports both 32-bit and 64-bit all-in-one with architecture checking built-in to the script.
PLEASE note: if your computer is running OS X 10.7.X, "Lion" then it does not include a java runtime by default, please download it here first: http://support.apple.com/kb/DL1421
PLEASE note: due to the length of some of the strings used in the menus, etc., in order to not need to scroll your terminal window, you must adjust your default columns and rows settings. You can set this automatically by using the include "JocelynCustom.terminal" file, and you can also find simple instructions to set this yourself in the README.txt
PLEASE read the included readme for installation and very basic (for right now) usage instructions. I welcome any and all feedback on improvements for the readme file.
PLEASE report any and all bugs or generally wonky behavior, preferrably by posting here in this thread, or by posting a comment back on my blog.
LASTLY, please if you re-post this anywhere else, including blogs, other forums, etc. I would greatly appreciate if you would at least give me credit, and link back to my blog (http://girlintroverted.wordpress.com/) or at the very least, link back here to this post.
IMPORTANT: Starting with v0.9.7/RC1 I'm including an applescript setup applet. I've also changed some directory names, removed some old files, added new files and changed location of some files. Please backup your existing APKManager directory, then unzip and setup the new version. Once you verify that it works, then you can copy the CONTENTS of the following old directories, to the new ones.
place-apk-here-for-modding -> place-here-for-modding
place-apk-here-for-signing -> place-here-for-signing
place-here-to-batch-optimize -> place-here-to-batch-optimize
place-ogg-here -> place-ogg-here
projects -> projects
DO NOT COPY OVER THE CONTENTS OF THE "other" directory or the root directory unless you absolutely know what you're doing.
Download current version v1.2.1 here: http://www.mediafire.com/?29bosvufiiv66vl
Click to expand...
Click to collapse

[GUIDE] Re-Sizing .9.PNGs using Draw9Patch and xUltimate 9PatchCompiler

Hello Guys,
I was just getting bored so decided to share some of my knowledge regarding compiling and editing .9.PNGs using draw9patch tool from Android SDK and xUltimate 9PatchCompiler. This is based on what I learnt when I created my Ice Cream Sandwich Theme.. This is not for N00BS. It's just for people who are willing to learn new things.. There are easy methods to do this but I like this one.
I am not responsible for any damages caused due to following this guide.
WHAT YOU NEED -
Click to expand...
Click to collapse
1. The Android SDK ( It contains Draw9Patch Tool ) (requires JDK for installation)
2. xUltimate 9PatchCompiler
3. Photoshop/GIMP (For Resize)
4. APK Manager (For Decompiling APKs)
5. Common Sense
6. Lots of Patience and some experience in de-compiling APKs
HOW TO -
Click to expand...
Click to collapse
1. De-compile the APK whose .9.PNG you want to re-size using APK Manager (you need to decompile as you need Raw APK for resize otherwise it will look weird). Browse to that decompiled .9.PNG. You will notice Black LINES/DOTS are in border of that .9.PNG (see the example Pic Below)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Now carefully observe these lines and remember how it looks. You need to remember the pattern on how these lines are drawn. Every Line/Dot is important and if you fail to realize you will end up with an error during last few steps.
3. Suppose you need to re-size the APK to a x b px resolution then open up Photoshop/GIMP or any editor and re-size the image to a+2 x b+2 px resolution.
4. You will notice some Lines/Dots will disappear. It's all fine.
5. Now browse to directory where you have installed Android SDK and go to TOOLS folder in it and fire up the file named draw9patch, when you are done it will open like image below.
6. Now go to File and click Open 9Patch and then open the .9.PNG you just resized to a+2 x b+2 px , it will look something like
7. Now construct the missing lines on basis on the pattern you memorized before re-sizing image. Be careful, and draw cautiously. To draw you just need to drag mouse while left-clicking. You can delete lines by pressing shift button and and left clicking and dragging.
8. When done, go to file again and save the image.
9. Go to directory where you image was there and copy it.
10. Navigate to directory where you have extracted 9Patch Compiler ZIP and paste the .9.PNG to GO-INSIDE/res/drawable-mdpi.
11. Go back to main folder and click xUltimate-COMPILER this will generate a folder done in same directory if you have drawn lines properly.
12. Go to /done/GO-INSIDE/res/drawable-mdpi and you will find there is your .9.PNG compiled with no black Lines/Dots.
YOUR 9.PNG is ready for use.
reserved for something i forgot..
a good video for the 9.png is found here:
http://www.youtube.com/watch?v=IfrXE2R2nqM&feature=related
it´s a bit long with a lot of text, but it is worth to view and to get a good start with this guide.
A better example would be one a picture with a letter or a pattern in it, a uni color png is not very good for a graphical explanation for what the black lines are good for and what the effect will be.
No offense bro, just a tick to improve this topic.
cheers
qaysed
As much as I appreciate your work, but there's already a more detailed tutorial available here:
[TUTO] Create your 9.png !
you have done a good work friend but there are optimizer software's better and makes easy just suggestion
venkat kamesh said:
you have done a good work friend but there are optimizer software's better and makes easy just suggestion
Click to expand...
Click to collapse
Yeah, I know.. Just in case somebody wanted to learn I made this coz I had to struggle a lot to learn this coz there werren't good tutorials..

Categories

Resources