Well, I can agree that the most obvious reasons to want to decompile
an APK involve things that are at least a little bit 'shady', but
let's be careful: there ARE legitimate motives for this.

One example comes to mind: for several days, I was getting a Force
Close out of Google's own Map application on my phone. If I had really
wanted to figure out why, decompiling the dex would probably have been
the best way to get the info, since Google can be SO uninformative
when it comes to such issues. But I didn't do this, I decided to wait
a few days for updates: sure enough, after about THREE updates, they
finally fixed it.

Decompiling has long been a legitimate engineering technique for
figuring out how an application completes an operation that SHOULD
have had documentation for it, but does not. And we all know that
happens a LOT with Android.

On Aug 11, 7:16 pm, Kristopher Micinski <[email protected]>
wrote:
> On Thu, Aug 11, 2011 at 9:58 PM, RAJU V <[email protected]> wrote:
> > Hi friends please help me......
> >               Please tell me how to decompiler the apk file to source code
> > files....
>
> Read about how .apk's work.  The format is dex, but it's pretty different
> than a .jar.  Google "dex to class"  (I see good results) to find out how to
> get a class out of a dex, then you can use a "traditional" java
> dissassembler if you really want Java.
>
> Disclaimer:
>
> Since you want to know how to disassemble something and don't already know
> how, you *probably* want to do something malicious with it ;-).  Obviously
> this is kind of shady, and I can't think of too many situations where
> anything you really needed to know couldn't be obtained by asking the person
> who wrote the app your question.  Therefore, if you want the information,
> perhaps you should just ask the person who wrote it instead.
>
> Kris

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to