aspose file tools*
The moose likes Android and the fly likes can we get a code from APK file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "can we get a code from APK file" Watch "can we get a code from APK file" New topic
Author

can we get a code from APK file

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1032
I need to know if we have apk file,can we get the code from it ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
The question is generally moot, since if you don't have the source code for said APK to begin with, you most likely wouldn't have the rights to use it. What prompted this question?


Ping & DNS - updated with new look and Ping home screen widget
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1032
one of my friend ask he need my apk file.So i just need to know whether he can get the code from my apk file ?
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2885
    
  13

sameera liyanage wrote:whether he can get the code from my apk file ?

Yes he can.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
My Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1032
I need more details.
1)can he get full code from the ap k file?
2)how to create a ap k file which prevent getting code ?
3)how to get a code from ap k file ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
Using ProGuard as part of the build (like you would do for a release build) helps.

As to #3, we're not going to discuss potentially breaking the law in these forums.

By the way, are you sure this person is really a "friend" of yours, if you suspect him of attempting to steal your intellectual property?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can we get a code from APK file
 
Similar Threads
what are the ways to install application into phone
I plan to buy the dev phone
xml, imgs, java are around 7MB but apk is over 25MB
Why Android language instead of Java ME?
Android - Java - VM