Software Archive
Read-only legacy content
17060 Discussions

publish native xdk from html5

ashraful_h_
Beginner
937 Views

Hi

I have created html5 app in other software. I have imported in intel XDK and publish to android. Its work fine. But problem is that anyone can unzip this apk and can see the source easily.

I want to make apk so that no one can see my codes. Can u help me ??

thnx

0 Kudos
4 Replies
John_H_Intel2
Employee
937 Views

You will need to find a 3rd party tool to obfuscate your code. Once you run your code through that, you can build your apk.

0 Kudos
ashraful_h_
Beginner
937 Views

JOHN H. (Intel) wrote:

You will need to find a 3rd party tool to obfuscate your code. Once you run your code through that, you can build your apk.


Thank you so much. This will help me lot. But code will be obfuscate, but still anyone can decompile apk and change media (images, video, etc) So I want protect like android program developed by android studio.

0 Kudos
John_H_Intel2
Employee
937 Views

If you want something that is compiled like android studio, you will need to use android studio to develop your app ;)

These links should give you some good reading on the subject.

http://stackoverflow.com/questions/22926085/how-to-make-a-phonegap-cordova-apk-secure-protecting-from-decompile

http://www.justbeck.com/three-ways-to-encrypt-phonegap-and-cordova-mobile-applications/

0 Kudos
ashraful_h_
Beginner
937 Views

Thnx JOHN :)

above link is very helpful. I wish future intel XDK will make such apk which will be as native as android studio. 

Something is better than nothing, So obfuscate is better than nothing :)

0 Kudos
Reply