• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Changing android apk's

andsa

Member
Hi.

Is there any way to "convert" tegra 2 games that are ment for tablents to be used for phones?

Cause there is the trainz simulator game i have been waited for a long time, but when it finally comes out i found out its only for tablets.

Is there any way to edit the apk's or converting them to be installed on a phone?

I have optimus 2x
 
If you're rooted, you can try to install Chainfire3D driver, it can emulate Tegra instructions. Pro version can also force phone properties, then Market will think you have Tegra and should alow installation of this game.
https://market.android.com/details?id=eu.chainfire.cf3d&feature=more_from_developer
https://market.android.com/details?id=eu.chainfire.cf3d.pro&feature=more_from_developer

I this doesn't work, you can grab the apk (don't ask me where, it's illegal), extract it, decompile the program and adjust it, but this needs lot of experience (especially java programming, but creating of new apk and signing it is also tricky) :
http://androidforums.com/htc-hero/83773-modifying-editing-apk-files.html
Decompile Android’s DEX File Web Age Dev Zone

You also need ARMv7 phone, because game libraries are ARMv7.
 
But my phone has the nvidia tegra 2 chip, but the game i want are for tablets and when i try to download the apk from the web to my phone i just get either "game.htm" instead of "game.apk" and when i finally got the .apk i clicked it, and where its suposed to show info of the app, all are just blank, and i cannot install it.
 
Even I can install the app on my phone, if I install it from apk (of course, doesn't run then due to non-Tegra and just ARMv6).
It looks like web script problem, which downloads just html (named .apk) and not the apk itself, can you try it on PC? I don't remember exactly, but when I downloaded it, it was definitely over 10 MB and later downloaded some more data to SDcard.
 
Sounds like the APK is corrupt or hasn't been downloaded correctly... which is not much of a surprise if you download from the places I expect you are downloading from. Bottom line: Ask the developer to mark other Tegra devices as compatible and BUY it, then you won't have these problems. The APKs themselves aren't really handheld/tablet specific unless they use APIs not available in pre-3.0 Android (in which case there's nothing you can do about it, since that's not part of the APK manifest, but of the actual code)... that however wouldn't keep the application from displaying an install dialog.
 
Sounds like the APK is corrupt or hasn't been downloaded correctly... which is not much of a surprise if you download from the places I expect you are downloading from. Bottom line: Ask the developer to mark other Tegra devices as compatible and BUY it, then you won't have these problems. The APKs themselves aren't really handheld/tablet specific unless they use APIs not available in pre-3.0 Android (in which case there's nothing you can do about it, since that's not part of the APK manifest, but of the actual code)... that however wouldn't keep the application from displaying an install dialog.

I would buy it if it was in the market;)
 
The poblem is that i cant buy it from the market, cause its a tablet game.

But i know that my phone can use tablet games, it has done it before, but it wont even open and install on the current game i really want.
 
A name would still be very helpful. But, the real problem is that you're a bit confused about what "Tablet games" are. Tablet games are generally no different than smartphone applications, however they may still not work on smartphones because they require a higher OS version or higher resolution. There is no magic "this is tablet-game" switch, because these games, while optimized for and tested on tablets, are really no different from smartphone games.
 
The game are Trainz simulator, and when i downloaded vendetta online it worked like a charm when i used hdmi to my 1080p screen, it was supposly buildt for tegra2 tablets, since it was a big res game but it worked.

So i tried to buy it from market, but no trainz to see, so i tried to download the few versions of the game i found on google but none of them would install on my phone.
 
Have you seen anyone run this game on a phone? They may not have even created the graphics for it.

Basically Android has 4 "setups/buckets" for screen sizes that developers can use to create graphics.

1) drawable-small
2) drawable
3) drawable-large
4) drawable-xlarge.

Tablets fall into the xlarge "bucket", your phone likely falls under the "regular" drawable bucket.

If your phone reports that it falls under a regular screen size, there may be code in the app that just wont let it display.

Sorry for the downer, but just trying to explain a bit how it works. There are even more issues related to screen density and resolution, but I figured explaining the screen size one is enough to make the point.

If you'd like advanced (developer) info on this you can read here:
Android Developers Blog: New Tools For Managing Screen Sizes
 
Have you seen anyone run this game on a phone? They may not have even created the graphics for it.

Basically Android has 4 "setups/buckets" for screen sizes that developers can use to create graphics.

1) drawable-small
2) drawable
3) drawable-large
4) drawable-xlarge.

Tablets fall into the xlarge "bucket", your phone likely falls under the "regular" drawable bucket.

If your phone reports that it falls under a regular screen size, there may be code in the app that just wont let it display.

Sorry for the downer, but just trying to explain a bit how it works. There are even more issues related to screen density and resolution, but I figured explaining the screen size one is enough to make the point.

If you'd like advanced (developer) info on this you can read here:
Android Developers Blog: New Tools For Managing Screen Sizes


I get it now:) ill just wait untill i get either ipad or a tegra 2 tablet later this or early next year:P
 
Back
Top Bottom