LOST my CODE!

I built an app a few weeks ago when corona was not free to publish. So I had this trial message in the app. My hard disk crashed and I lost my code but as I had sent the apk to a few people, I still have the apk with the trial message. Now I want to remove the trial message. Is there any way I can get back my code or atleast remove the corona trial message? The app was made from my account so it would be great if corona team could get me my code.

I too have been stung with releasing an app, the stupidly changing code to 1.2 with no version or release backups.  my code became broken and I only had an apk.app.

You need to learn from this and… 

  1. Setup a SVN source control product (Win, Visual SVN or Cornerstone (Mac) and check in every 15 mins or 1 hr max.

  2. Sync backups via Dropbox

  3. Backup your computer with Crashplan.com (windows or mac)

  4. Do Manual Backups.

Never trust computers or yourself.

Corona Labs does not store your code nor copy your assets, so we can’t do anything to help you restore your code.  And while the .APK is just a .zip file, so you could rename it to .zip, and unzip it to get your assets back, the code would not be restored.

You can atleast tell me how to remove corona sdk trial message now that corona is free to publish!!!

Have you got the latest public release? Should be that easy.

I have it but I do not have the code. I only have the apk, read the 1st post.

I can appreciate the frustration of your situation, however I don’t appreciate the terse nature of your comments. I was replying to your last comment which was:

“You can atleast tell me how to remove corona sdk trial message now that corona is free to publish!!!”

I found myself in a similar situation (hard-drive crash), which prompted me to ensure I use Google Drive to store all of my code in the future - other such versioning software (SVN, GitHub) is the way to go. 

As Rob stated there is no way to extract the source code from the APK - unfortunately it is gone. There is a way to decompile an APK - however this would result in the Java code being extracted. Because Corona is based on Lua that is then interpreted, it would be highly unlikely (possibly impossible) to extract this code.

Put it down to a costly lesson learnt and move on - and perhaps try to be a little bit nicer, we’re only trying to help.

I appreciate all who are trying to help.

“I have it but I do not have the code. I only have the apk, read the 1st post.”

I don’t see where I may seem frustrated in that comment.

Anyways, I opened the apk and tried editing classes.dex and change the written part but it corrupts the apk and it won’t install. Any suggestions?

This won’t work - it is lost. 

As said before the only thing you’ll be able to get is assets (images, sounds, etc…). 

There is a way to decompile APK’s:

http://stackoverflow.com/questions/3593420/android-getting-source-code-from-an-apk-file

However this will only result in JAVA classes, not the interpreted Lua code that you’re after.

I too have been stung with releasing an app, the stupidly changing code to 1.2 with no version or release backups.  my code became broken and I only had an apk.app.

You need to learn from this and… 

  1. Setup a SVN source control product (Win, Visual SVN or Cornerstone (Mac) and check in every 15 mins or 1 hr max.

  2. Sync backups via Dropbox

  3. Backup your computer with Crashplan.com (windows or mac)

  4. Do Manual Backups.

Never trust computers or yourself.

Corona Labs does not store your code nor copy your assets, so we can’t do anything to help you restore your code.  And while the .APK is just a .zip file, so you could rename it to .zip, and unzip it to get your assets back, the code would not be restored.

You can atleast tell me how to remove corona sdk trial message now that corona is free to publish!!!

Have you got the latest public release? Should be that easy.

I have it but I do not have the code. I only have the apk, read the 1st post.

I can appreciate the frustration of your situation, however I don’t appreciate the terse nature of your comments. I was replying to your last comment which was:

“You can atleast tell me how to remove corona sdk trial message now that corona is free to publish!!!”

I found myself in a similar situation (hard-drive crash), which prompted me to ensure I use Google Drive to store all of my code in the future - other such versioning software (SVN, GitHub) is the way to go. 

As Rob stated there is no way to extract the source code from the APK - unfortunately it is gone. There is a way to decompile an APK - however this would result in the Java code being extracted. Because Corona is based on Lua that is then interpreted, it would be highly unlikely (possibly impossible) to extract this code.

Put it down to a costly lesson learnt and move on - and perhaps try to be a little bit nicer, we’re only trying to help.

I appreciate all who are trying to help.

“I have it but I do not have the code. I only have the apk, read the 1st post.”

I don’t see where I may seem frustrated in that comment.

Anyways, I opened the apk and tried editing classes.dex and change the written part but it corrupts the apk and it won’t install. Any suggestions?

This won’t work - it is lost. 

As said before the only thing you’ll be able to get is assets (images, sounds, etc…). 

There is a way to decompile APK’s:

http://stackoverflow.com/questions/3593420/android-getting-source-code-from-an-apk-file

However this will only result in JAVA classes, not the interpreted Lua code that you’re after.