How to get class file from APK.

by HariRam » Fri, 20 May 2011 09:42:22 GMT

Sponsored Links
 Hi guys:

Is it possible to get class file from APK.??

Thanks and


Other Threads

1. C/C++ Compiler on Android

i was wondering if there is a C or C++ compiler which could be run ON
the android which would let us compile codes on the phone itself


2. Why is my file not accesible at data/data ?


I am trying to store an xml file.

When searching for solutions everyone suggests, that the just created
file has to be located at "/data/data/your_project_package_structure/

Unfortunately neither on my emulator nor on the real device I can find
my file at this location....

Here is my code:

try {

                        URL u;

                        u = new URL("");
                        HttpClient httpClient = new DefaultHttpClient();
                        HttpGet httpGet = new HttpGet(u.toString());
                        HttpResponse response = null;
                        response = httpClient.execute(httpGet);
                        HttpEntity entity = null;
                        if (response != null)
                                entity = response.getEntity();

                        InputStream is = entity.getContent();

                        FileOutputStream fos = openFileOutput("test.xml",
                        byte buf[] = new byte[32768];
                        int len;
                        while ((len = > 0) {
                                fos.write(buf, 0, len);

// I can read the file here and put it in a textview, so the file
actually exists......

                } catch (Exception e1) {
                        // TODO Auto-generated catch block



3. App upgrade (with zipalign) causes force closes/disappearing of app icon

4. MapView Overlays

5. Is there a way for inter task communication

6. protected member variable mScrollX not accessible to subclasses of ViewGroup

7. Android 1.6 on ADP1 Force close