December 9, 2012

Is there a way to resize android app ?

Q. Is there a way to resize android app ?
From one res to another ? Say from quarter HD to a smaller resolution ? (Not a developer , What I mean is to resize apps meant for quarter high definition to smallers)

I will choose a best answer.

A. Its just like changing resolution of a PC game. ;)

Now Tools you need.....

Latest version of JDK (Java Development Kit) (Search Google)

Apk Manager. (Search Google)

Now extract Apk Manager. Folder will be created (Apk_Manager_5.0)

Now In that folder you can see (place-apk-here-for-modding)

Put the apk you want to port in that. Now open Script.bat.

You will get messege ADB was not found ( Maybe). Press enter... x)

Type 22 and press enter for selecting your project. Now select which project you want to work by typing its number and enter.

OK now type 9 (Decompile apk) and press enter. It will take some time.

Now When work is done minize apk manager.

Example you are porting N.O.V.A (So your project is ready in folder (Apk-Manager-5.0 \ projects \ and NOVA.apk)

Go to Apk-Manager-5.0 \ projects \ and NOVA.apk \ Smali \ com \ gameloft \ android keep opening till you reach some txt files.

Now find Gamerenderer.smali or NOVArenderer.smali

Now scroll down deep and find (getWidth()I and getHeight()I)

Now First lets do work on Width (There is a line after Landroid/view/Display;->getWidth()I)

Something like const/4 v1, 0x1 , Change this to const/4 v1, 0x320 (Just change 0x1 to 0x320)

Now lets work on Height (There is a line after Landroid/view/Display;->getHeight()I)

Something like const/2 v2, 0x1 , Change this to const/2 v2, 0x1E0 (Just Change 0x1 to 0x1E0)

Save it.

Now open the Apk Manager Window you minimized. Type 11 and press enter to compile apk.

Now an apk will be created in project folder. Move it to (place-apk-here-for-signing) folder.

Type 12 and press entre to Sign Apk.

There is no need to change cache.

Voilaaaa.......

Game resolution is changed to HVGA .......... Hahahahahahahaha

(Note : It will only change resolution of ARM V6 optimized games)

There is a program called (IDA pro) which could optimize V7 games to V6 processors. (But it costs hell of money)

Also it will only change resolution of games not RAM usage.

All games which were playable on Samsung Galaxy Ace are already ported.

No further Gameloft Games are playable on Ace because of RAM usage.

I tried so many games but all uses too much RAM and two vibrates and force close.

I hope you get the IDEA of how developers port Games to HVGA.

I made these steps Damn simple that a small KID can understand.


How to install apps to Android SDK?
Q. Is there a way to install apps to this android emulator?

A. it's actually very simple
1) note the location of the app (.apk file)
2) in a cmd console - go to the directory where you have extracted the android SDK to (if you do not have the sdk, download it from http://developer.android.com/sdk/1.5_r1/index.html and extract it)
3) go to the tools directory
4) type 'adb install app.apk' where app.apk is the name of the application you want to install
for more helpful hints you can visit my blog at http://developreality.blogspot.com/
Good luck
Elad Katz


How to install ADB for my Windows computer/ Metro Pcs LG Esteem Android?
Q. I have an app on my phone that requires me to have ADB. I have the debugging setting changed like it told me to do and now i don't know how to actually install ADB to either my phone or my computer. Help please!?

A. http://developer.android.com/sdk/index.html
download here. Adb is not easy, just a warning. once you install you gotta do a bunch of junk to get it integrated with command prompt. sorry can't help with that part cause I had too look up instructions myself. after that you actually access adb through command prompt (windows key + r » type cmd » enter). so yeah. best of luck cause it's complicated stuff. I have a hard time with it unless there's explicit instructions. I'm wondering what app you're using that requires it?


Will using ADB shell on Xperia play Void Warranty?
Q. I found a way on some website for installing more applications on SD card through ADB shell. I don't want to root it just use the 3-4 commands. Will this void my warranty?

A. you will have to read your warranty
it looks like you have to have the developer toolkit to get it to work, this may or may not void it

you do know, android 2.3 already allows you to install apps on the SD card.





Powered by Yahoo! Answers

No comments:

Post a Comment