I have some problems with my project. I lost all source code yesterday, I have apk that signed and uploaded to google play. Now I need to decode apk file to get all source code back. After that, I want to change some feature in source code class. then I want to compile that source code to apk and send to my customer.I have try some tool to get my source code , I decoded I gotten 70% source code ( Thank God !) . I need to stay and type rest of it then compile. It's hard to do this. So I continute researching.. I read about that Apktool can help me in get source code then decompile to apk. But I can not find out way to get source, apktool just get xml for me. So I stuck with this.
I need some help for me, for my project.
Thank inadvance!
Related
I recently read about the concept of reverse engineering and wanted to try it.
So I downloaded an apk and extracted it source code by using
apktool, dex2jar and jd-gui
Every thing went on smoothly and I extracted the resource as well as java files successfully. However the problem arose when I tried to import this project in android studio.
Initially it was showing a number resource files related errors which I corrected by changing the dependencies of the project but now I am getting all these weird errors in java files.
The errors include "not a statement', 'variable not initialized' etc.
Kindly Help. Thanks in Advance!
I have extracted code from apk before myself, and the results I got were similar to yours. I got most of the code, but not all of it and not with all of the formatting. Numerical constants were missing and the the "if, while, for" instructions were faulty. I don't know if this always happens, I did it only once, but I managed to figure out the rest of the code by what this processes gave me in the begging.
hello,i want to put my project code and Sdk ,and so on to internet,.then someone can get my project apk by using the code. i want to some advice and some clue. because many people can get my new apk,and i donot want to directly give apk to people。
Use www.github.com for Source Code and www.travis-ci.org for Continuos Integrations
I have referred many related links but i was not successful yet .
I have an app with 615 mb , so i have optimized such that my main .apk has 24 mb and rest in the extension file as .zip . Now i could not find where to upload my extension .zip file in the Play Store .
I have referred :
http://docs.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/part_2_-_publishing_an_application_on_google_play
http://developer.android.com/google/play/expansion-files.html
can you please suggest me where to upload this extension file . It would be helpful if any tutorial or step by step process is explained .
Thanks in advance .
Sometimes the extension file upload simple don't appear. I have solved it by switching to advanced mode, unpublish the current version, and when I upload the new version it ask for extension file.
Does anyone know how to play .mp4 video as live wallpaper?
I searched a lot, but couldn't find the solution. I just found this one but I am not getting any idea from it.
Please help me if you have any idea regarding this concept.
After spending 3 days finally I run this project in eclipse.
I am sharing the steps as it may help others:
Firstly, the most important thing is that Your project path and ndk path should not contain spaces else you will have problems following these steps. I also faced problems with it so please remove the spaces, if any.
For example :-
android ndk/Live wallpaper
replace it with
androidndk/Livewallpaper
Following are steps :-
1) Install NDK from Android NDK page
(I used Ubuntu OS)
2) Install plugins for NDK ( https://dl-sl.google.com/android/eclipse/ )
3) Open your terminal and go to your project directory path
For Example :- /yourprojectname$
4) Now from your project directory path write Your Android NDk path
For Example :-
/home/rainc/android_setup/android-ndk-r8d/ndk-build
And Press Enter. This will give you a .so file which means the library file has been generated..
You have done it successfully. If you are getting error(s) here then the installation and the other steps might be having error(s).
Following links helped me in my research:
First
Second
Third
And also thanks to Lazy Ninja for helping me.
You are up on a good challenge, unless you are familiar with android ndk. There is the library ffmpeg which will save you some time.
A tutorial on Video Live Wallpaper here.Go through part 1 -4.
And here is a link of the project code.
Hope it will help you get started.
First of all, I would like to mention my requirements:
I have been working on an ANDROID Application since a couple of months. I need the code of OCR (Optical Character Recognition) in order to link that to my app through CYGWIN, JNI, NDK. I found that TESSERACT OCR is the only open source code available. I have downloaded the code of Tesseract OCR-3.00 from the following link:
http://code.google.com/p/tesseract-ocr/wiki/ReadMe
I successfully compiled the code in CYGWIN environment as per the steps mentioned in the "INSTALL" file present in the downloaded file. Finally all the MAKE files are generated. In order to use this code in my app, I need the ".so" file, which will be generated through CYGWIN..
Now, the problem am facing is:
I have imported the complete code Tesseract OCR into my Android app code in ECLIPSE as per the steps mentioned in the following link:
http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/
I had followed the procedure as mentioned in the above link..but importing the code of TESSERACT OCR is as tough as a hell when compared to the example given in the above link.
The final step where the ".so" is to be created is not working in the case of OCR..The error as shown in the following image![enter image description here][1]
SUGGESTIONS:
Plz suggest me the clear explaination on how to proceed with the next steps....plz plz..someone, plz do take some time to give clear explaination..
Thanks & Regards
when I tried working with Tesseract, I was not able to get it working with Windows and Cygwin. Even I used the same references as you did. Then after I tried compiling the 'tesseract-android-tools'. And it was not working either. After that I used a MAC with the native C environment for compilation and it worked. Maybe you Google after 'tesseract-android-tools' and you'll get a lot of help.
Hope it helps a bit for further progress.
Regards