Compile project code and then generate apk online - android

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

Related

Native android library compile

I want to compile these code to be android native library. I have tried many techniques and follow many online example and it doesn't work. I will provide the link to the code and explain which part I want to compile.
This the link https://github.com/zyq8709/DexHunter (I want to compile the code in folder called dalvik). If anyone knows how to compile it please help me. thank you
This code is a part of platform build. If you are lucky, you can compile libdex for device only, but you must ignore the host side. The easiest hack would be to run
ndk-build BUILD_HOST_STATIC_LIBRARY=/dev/null BUILD_HOST_EXECUTABLE=/dev/null
Final, I have found the solution to compile the above code. I downloaded whole android source by using Ubuntu 16.0.4 and then I modified the specific file which it was changed and replaced it. After I compile whole all the android source code. Finally, I could get a customized ROM which I could use it as I expected. If anyone interested how to download and compile whole the android source code you can follow this link https://source.android.com/setup/build/requirements. If you have any problem you can find the solution on google or you can post here so someone including me will respond.

How to convert all source code to dex file [Android Decomplie]

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!

Can't find a library project on the internet

A while ago I took over a fully developed project and it's my job now to keep it updated etc. Long story short, the project is using some library projects and one of those is now causing a small problem that I need to diagnose.
The library project is called "PortraitQR" and it's simply just a QR scanner.
I need to find the source of this library project so that I can read and learn more about it. I can't find anything about "PortraitQR" on google.
Any help will be greatly appreciated!
the package of that project should get you a long way here. Also check for readme files on the project.
PortraitQR seems to be an app on the Google Play Store: https://play.google.com/store/apps/details?id=vn.mobilepro.labs.qrcode

How to implement Authorize.net in android?

I would like to create a credit card app to take payments in Android using Authorize.net payment gateway.
I found some example code here from Authorize.net).
I followed the instructions however on step 2 I am not able to add its sdk as library with another project. When I create a new project as "ExampleActivity.java" & used this code as explained, I got red line errors on the AuthNet object & Environment.SANDBOX
Can anyone help me How to implement this code without errors?
Add the Authrized_net_lib project as a library project
Add jar file authorize_net_lib jar file in your project
Then Clean the project
Now copy and paste given sample code
It will not give error.

Obfuscate Android Source Code

Salam, I have a complete source code, but I want to make an obfuscated .apk. I have read all topics, but this didn't help me. Please help! I am using eclipse for development. Here is the details about my app.
Android SDK folder : C:\Android\android-sdk-windows<br>
Project Folder : C:\Android\workspace\HijriCalendar<br>
Ant Folder : C:\Android\ant<br>
proguard folder : C:\Android\proguard<br>
main activity : hussain.Musaji.HijriCalendarActivity.java<br>
Please anyone tell me step by step procedure to make obfucated .apk
Thanks in advance.
I'm developing an Android application using Eclipse. But for building an obfuscated apk, it was more helpful to use the ant build instead. Here is what I recommend:
Use the latest version of Proguard which may not be the one integrated in your Android SDK version. Install it wherever you want and add the following line to your local.properties file to use it: proguard.jar=C:/yourpath_to_pg/lib/proguard.jar.
This article gives a good overview on confugring proguard for Android applications.
If you are using LVL for managing your applications's licensing, please refer to
this article.
You may also use proguard when building your application in debug mode by invoking ant as follows:
> ant debug -Dproguard.enabled=true
As Nunonix already mentioned, it may be helpful to see your proguard.cfg file.
Hope, this helps you.

Categories

Resources