Re: [android-developers] how to decompose .apk file

2011-11-22 Thread Mohd Arshi Khan
yes I want to extract java files from .apk but when i use Win Rar or 7zip
its extract only folowing files:

   - META-INF
   - res
   - AndroidManifest.xml
   - classes.dex
   - resources.arsc

i think java files are in classes.dex file but how to extract it and get
main coding file?

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

Re: [android-developers] how to decompose .apk file

2011-11-22 Thread Ratheesh Valamchuzhy
procedure to decoding .apk files---step wise method--

step 1:
=

make a new folder and put .apk file (which you want to decode) now rename
this .apk file with
extension .zip (eg:rename from filename.apk to filename.apk.zip) and save
it..now you get
classes.dex files etc...at this stage you are able to see drawable but not
xml and java file...
so cont...

step 2:
===

now extract this zip apk file in the same folder(in this eg or case NEW
FOLDER). now dowmload
dex2jar from this link http://code.google.com/p/dex2jar/ and extract it to
the same folder
(in this case NEW FOLDER).now open command prompt and reach to that
folder (in this case
NEW FOLDER)after reaching write dex2jar classes.dex and press
enter.now you get
classes.dex.dex2jar file in the same folder..now download java
decompiler from
http://java.decompiler.free.fr/?q=jdgui and now double click on jd-gui and
click on open
 file then open classes.dex.dex2jar file from that folder...now you get
class file...save all
 these class file (click on file then click save all sources in
jd-gui)..by src nameat
this stage you get source...but xml files are still unreadable...so cont...

step 3:
=


now open another new folder and put these files

put .apk file which you want to decode

download apktool using google and put in the same folder

download framework-res.apk file using google and put in the same folder

Open a command window

Navigate to the root directory of APKtool and type the following
command:

apktoolif framework-res.apk

apktool d fname.apk (fname denotes filename which you want to
decode)

now you get a file folder in that folder and now you can easily read xml
files also.

step 4:
=


it's not any step just copy contents of both folder(in this case both new
folder)to the single one

and now enjoy wid source code...

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

Re: [android-developers] how to decompose .apk file

2011-11-22 Thread Mohd Arshi Khan
nice site
http://apkdecompile.com/

Thank u all friends...:)

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

Re: [android-developers] how to decompose .apk file

2011-11-22 Thread Mohd Arshi Khan
cmd prompt command
dex2jar classes.dex  or dex2jar classes.dex
show error:  *java is not recognized as an internal or external command,
operable program or batch file.* 

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

[android-developers] how to decompose .apk file

2011-11-21 Thread arshi
dear friends please tell me how to decompose .apk file. i want to
read .java or class file from apk

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


Re: [android-developers] how to decompose .apk file

2011-11-21 Thread Raghav Sood
To decompose an apk, do the following:

Open it in notepad or any other plain, basic text editor. Print out all of
the weird characters on several sheets of paper. Bury all the paper. Check
back in 2 weeks and Voila! You have a decomposed apk.

Seriously, I think you want to decompile it, which is usually done for
not-very-honorable things. So before I go any further, why do you want to
access someone else's code?

Thanks

On Mon, Nov 21, 2011 at 4:38 PM, arshi arshikha...@gmail.com wrote:

 dear friends please tell me how to decompose .apk file. i want to
 read .java or class file from apk

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




-- 
Raghav Sood
http://www.androidactivist.org/ - Author
http://www.appaholics.in/ - Founder

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

Re: [android-developers] how to decompose .apk file

2011-11-21 Thread s.rawat
I think you meant *extracting *it so that you could see its contents,Unzip
or unrar it using Win Zip , you will be on your way then  ; !

Cheers
!!
Saurabh

..pain is temporary.quitting lasts forever..



On Mon, Nov 21, 2011 at 4:46 PM, Raghav Sood raghavs...@androidactivist.org
 wrote:

 To decompose an apk, do the following:

 Open it in notepad or any other plain, basic text editor. Print out all of
 the weird characters on several sheets of paper. Bury all the paper. Check
 back in 2 weeks and Voila! You have a decomposed apk.

 Seriously, I think you want to decompile it, which is usually done for
 not-very-honorable things. So before I go any further, why do you want to
 access someone else's code?

 Thanks


 On Mon, Nov 21, 2011 at 4:38 PM, arshi arshikha...@gmail.com wrote:

 dear friends please tell me how to decompose .apk file. i want to
 read .java or class file from apk

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




 --
 Raghav Sood
 http://www.androidactivist.org/ - Author
 http://www.appaholics.in/ - Founder

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


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

Re: [android-developers] how to decompose .apk file

2011-11-21 Thread Jovish P
Try this link  ::

http://apkdecompile.com/

On Mon, Nov 21, 2011 at 4:50 PM, s.rawat imsaurabhra...@gmail.com wrote:

 I think you meant *extracting *it so that you could see its
 contents,Unzip or unrar it using Win Zip , you will be on your way then  ; !

 Cheers
 !!
 Saurabh

 ..pain is temporary.quitting lasts forever..




 On Mon, Nov 21, 2011 at 4:46 PM, Raghav Sood 
 raghavs...@androidactivist.org wrote:

 To decompose an apk, do the following:

 Open it in notepad or any other plain, basic text editor. Print out all
 of the weird characters on several sheets of paper. Bury all the paper.
 Check back in 2 weeks and Voila! You have a decomposed apk.

 Seriously, I think you want to decompile it, which is usually done for
 not-very-honorable things. So before I go any further, why do you want to
 access someone else's code?

 Thanks


 On Mon, Nov 21, 2011 at 4:38 PM, arshi arshikha...@gmail.com wrote:

 dear friends please tell me how to decompose .apk file. i want to
 read .java or class file from apk

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




 --
 Raghav Sood
 http://www.androidactivist.org/ - Author
 http://www.appaholics.in/ - Founder

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


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


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

Re: [android-developers] how to decompose .apk file

2011-11-21 Thread lbendlin
Sure.  Smells very phishy.

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