Decompiling APK

Ok, I’m working on a game for both android and iOS, and I enabled multitouch, it was working fine in both iOS and Android, so I continued changing code and continued testing but only on my iPhone 4 everything was fine so (stupid me) I assumed it would work on Android too, since everything was fine on my iPhone, turns out I was wrong…Multitouch no longer works on the android version of my game and I tried going back changing code to get it to work and I can’t…I have the APK compiled where everything was working, but no code…

is there a way I could decompile the apk and get my lua code back…or no?

Thanks in advance for any help! [import]uid: 14940 topic_id: 12778 reply_id: 312778[/import]

uh?

multitouch does work on android… we have not made any changes to it. some devices do not provide multitouch support.

did you look at system.activate( “multitouch” )

c. [import]uid: 24 topic_id: 12778 reply_id: 46853[/import]

Hello Carlos,

I did Check the system.activate(“multitouch”) code and I know the error is not on your side, it’s on mine, I have a compiled apk that has multitouch working on my LG Optimus T, but I changed my code since then and now it no longer works, only on the iPhone I have for testing and my code has changed a lot since then so I don’t know what I changed that made it incompatible with my LG Optimus, so I was wondering if there was anyway I could decompile the APK I have to get the original lua file back so multitouch begins working again,

Thanks. [import]uid: 14940 topic_id: 12778 reply_id: 46878[/import]

actually - we can’t even do that here. yikes.

c. [import]uid: 24 topic_id: 12778 reply_id: 46880[/import]

@hiphopsded,
Have you tried to use something called SVN? This will save you from those embarrassing “changed code beyond stage to revert” moments

If you have upgraded to Lion, you should have revisions anyways now onwards

if you are with SnowLeopard or Leopard then try a wonderful utility called ForeverSave, a review and details can be found here
cheers,

Decompilation of the app to source code… if that would be made possible, then people will stop using Corona as compiled code is what one feels comfortable about to protect their IP.

?:slight_smile: [import]uid: 3826 topic_id: 12778 reply_id: 46902[/import]

If you aren’t into using software, please, for your own sake - ALWAYS have at least TWO back up copies of your app while you work on it. [import]uid: 52491 topic_id: 12778 reply_id: 46942[/import]

Thanks for all the suggestions, after spending all night I located the problem and it’s fixed, I have multitouch working on the android version of my app again.

@Jayantv I downloaded Versions for Mac, would you recommend any other SVN program?
@peachpellen I know! I had several copies of my app saved to my dropbox but for some reason none of them had the working code [import]uid: 14940 topic_id: 12778 reply_id: 46977[/import]