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
Regards
Hariram

-- 



Other Threads

1. C/C++ Compiler on Android

hi,
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
thanks

--~--~---------~--~----~------------~-------~--~----~

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

Hello,

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/
files/samplefile.txt"

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("www.asdf.com");
                        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",
                                        Context.MODE_WORLD_WRITEABLE);
                        byte buf[] = new byte[32768];
                        int len;
                        while ((len = is.read(buf)) > 0) {
                                fos.write(buf, 0, len);
                        }
                        fos.close();
                        is.close();

// 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
                        e1.printStackTrace();
                }

-----------------------------------------------------------------------------------




--~--~---------~--~----~------------~-------~--~----~

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