Quote:
Originally Posted by Dellaster
ChrisF,
This will work on the majority of Android apps. However, occasionally the manifest.xml needs to be further changed for screen size. Here's the problem line from an app I recently altered (Droid Comic Viewer):
Code:
<supports-screens android:smallScreens="true" android:largeScreens="false" anyDensity="false" />
The "false" entries needed to be changed to "true" before it would run full screen. Perhaps the program could either look for and change such lines, or it could optionally pause and allow manual manifest.xml editing between decoding and the rest of the process.
|
Thank you for the feedback.
I made the HTA a three click process so that the source files could be changed manually if need be. After you click decode, all source and resources will be in a folder created at \Apps\<AppName>. You can then open and edit the AndroidManifest.xml file there. (Side note: The APKtool author suggested I add the -s (skip sources) switch to the decode to increase performance, I omitted this so that the source files do appear and can be edited.)
I will look into searching for largeScreen and anyDensity to automatically change them, luckily this should be a simple XML node attribute query. Does anyone know of any other manifest items I should look for?
The problem with converting apps that I have run into is that there are no 9patch images or layouts are defined in actual pixels and not dips. Correcting these issues is currently beyond the scope of this file.