app Screen res edit - Sony Ericsson XPERIA X10 Mini

Guys i want to learn how to change the resolution of an apk file...till now i know that in the apk there is a folder RES/layout which there are in some categories like mdpi=for medium sized screens(don't remember resolution) and hdpi and qdpi(i think that's our category)so i need to know which sdk i need and and how edit and recompile the xml's...thnx in advance..
also if i learn i will make a site(cuz not warez is allowed here)with resized apps and games for the x10 mini/pro

Related

[Q] change status bar icons and frame work colors.

I'm hoping there is someone that can tell me how to decompile and recompile the frame work files.
I want to begin doing theme development.
I'm quite clued up, but i have no idea what programs to use to do this.
Some good stuff in themes section like all the stuff you nead to make themes just ask if you take some 1s theme to use
http://forum.xda-developers.com/showthread.php?t=849223
I feel like a blind bat.. XD
TY
Use APK Maneger 4.9 it is in xda just search for him and i think there is tut how to use it it is the easyest way to decompile, compile, sing and much more

[Q] Re-themeing Spotify?

Is it possible to use an APK decompiler and edit the UI of Spotify? I don't have an experience coding, but I'm sure I could figure it out.
Can anyone help?
Yes, the only problem is anytime you update the app, you will have to re apply any of the changes you make. Your simplest changes would be like any other app using the .png files, xml edits are a lot more complicated and more difficult to figure out with no/limited xml experience. I don't have that particular APK on hand at the movement, but open it up and look for the drawable folders in the res folder. These are going to be the simplest changes to make, you can swap or edit these .png files.

[Q] Spoofing DPI/Resolution for SystemUI.apk?

I'm trying to port this mod to the Touchpad but I am having problems with the thumbnail sizes.
I believe it is related to how SystemUI.apk detects the screen resolution and DPI, if I switch from 160dpi to 240dpi I get a larger thumbnail (still not big enough though), but at 160dpi the thumbnail size is unusable for the mod.
Because the Galaxy Nexus has a 1280x720 at 320dpi Android seems to render a larger thumbnail.
There are a bunch of smali files, the GlobalScreenshot ones look like the might have something do with with it.. But I really don't know what I'm doing in regard to editing smali files.
Example of my problem:
Any help would be appreciated!
My original post.
You could change it in the build prop but that would probably make your Android experience in all other apps awful.. What you could do is extract the app and swap out the two resolution files, the one you need and the one Android keeps using. For example, there may be an HDPI folder and an MDPI folder. You want HDPI, but Android keeps using MDPI. Switch the names or the images of the two (Trial and error is the key) and see the effect.. Now I'm pretty sure TouchPad doesn't use either HDPIor MDPI (those resolutions are 800x480 and 320x480), but find out what Android is using and swap it with the one youu want.
GazaIan said:
You could change it in the build prop but that would probably make your Android experience in all other apps awful.. What you could do is extract the app and swap out the two resolution files, the one you need and the one Android keeps using. For example, there may be an HDPI folder and an MDPI folder. You want HDPI, but Android keeps using MDPI. Switch the names or the images of the two (Trial and error is the key) and see the effect.. Now I'm pretty sure TouchPad doesn't use either HDPIor MDPI (those resolutions are 800x480 and 320x480), but find out what Android is using and swap it with the one youu want.
Click to expand...
Click to collapse
I don't think the actual thumbnail image is controlled by the xml files. I believe android detects the dpi/screen resolution and creates a thumbnail that fits properly using java.
The Touchpad seems to use something called sw600dp (not mdpi, hdpi or xdpi), I'm guessing that is for tablets.
I've been fiddling around with the smali files using overrides similar to how the market was modded to use a static DPI without luck.

Redesign apps without complex programming?

This question is to all the developers out there!
I am more of a graphics designer than a programmer.
I have very basic knowledge as far as programming and API's are concerned.
I know there are tools out there which can help you Compile and Recompile APKs, and I can do that without help,
but I was wondering if its possible to edit just the graphical elements of the app (say, change the app icon,or modify the typography, or color accents) without the need for changing a whole lot of the code?
If not, is it possible to learn how to do it in a short while?
I would love to modify to redesign a few open source apps and post it here for everyone else. ( Inspired by Android Design in Action )
shubhamsizzles said:
This question is to all the developers out there!
I am more of a graphics designer than a programmer.
I have very basic knowledge as far as programming and API's are concerned.
I know there are tools out there which can help you Compile and Recompile APKs, and I can do that without help,
but I was wondering if its possible to edit just the graphical elements of the app (say, change the app icon,or modify the typography, or color accents) without the need for changing a whole lot of the code?
If not, is it possible to learn how to do it in a short while?
I would love to modify to redesign a few open source apps and post it here for everyone else. ( Inspired by Android Design in Action )
Click to expand...
Click to collapse
Yes it is possible all you need this:
1 the app you wish to modify
2 an app called ninjamorph
A computer optional
And enough space on your phone to decompile on APK which isn't much
A way to save the app as an Apk on your phone ( ie titanium backup or the like)
Run ninjamorph I believe it has a tutorial with in and app if you need it very simple to use
It will decompile the APk of the app and then you can go into the product work space within ninjamorph and goto resources drawable depending on the app maybe drawable HPI just look through the folders then select the PNG you wish to modify and ninjamorph has ui to change right there on your phone or you can connect your phone to a computer and transfer the PNG file you wish to modify to the computer and modify it there then replace it and in the exact location you found it (with the same name names are I believe case sensitive) and use ninjamorph to recompile the apk, uninstall the old apk (if installed before hand) and install the new Apk and there you go should work
Sent from my SGH-I997 using xda premium
moving to q&a
if u only need to modify image files open apk from winrar, edit it and save.
Can I also change stuff like screen margins, fonts etc. this way? I'm guessing no. Right?
Sent from my One V using xda premium
Is it really that tough? Any suggestions?
shubhamsizzles said:
Is it really that tough? Any suggestions?
Click to expand...
Click to collapse
No you cant change the margins and fonts that way. You will have to edit the layout of the app by decompiling it and changing the XMLs and maybe some smali coding changes.

[Q] layout XML, fill_parent, app-specific screen-size spoofing

Hi all,
I have a Galaxy Tab 2 10.1 with a 1280x800 display and recently enabled floating multi-window capabilities using this mod: http://forum.xda-developers.com/showthread.php?t=2449094
Now that I can have floating windows, I wanted to try and edit some games I play to not take up the whole screen and make them think I'm running on a phone with a small screen size (which I know they can, since I've played the same exact APK on a smaller screen size).
So what do I do? I download apktool, decompile the APK, and check the res/layout XML files. In this particular app's case, there are 3 XML files, and all the views are defined at layout_width and layout_height of fill_parent. I change them to something silly like 400px and 640px (to, say, run 4 of these in landscape mode on my screen).
Of course this doesn't work. Some parts are actually 400/640, but some draw at full screen size. My guess is that there are some parts that are drawn pragmatically that bypass the layout settings set in the XMLs and use calls like GetDeviceScreenSize() for dimensions or whatever. I can't find any other layout rules in the XML so I assume this is embedded in the smali files somewhere (pardon my android development nubbery here).
Now that you know the background, my question is: is there a way I can fool a particular app into thinking that my screen is smaller? I know I can change the entire devices DPI but that won't help me. I want to do this on an app-specific basis, sandbox style. Have I missed something simple other than red/layout that I can change to get this app to behave like I want it to?
If the answer to these questions is no, will I be able to achieve my goal by digging into the smali files? If so, would anyone care to share some advice?
Thanks in advance!

Categories

Resources