Okay...now I understand what you are trying to do...sorry I can't be of much help...you may want to post your question the android-internals forum.
2008/10/3 vern <[EMAIL PROTECTED]> > > Hello, > > The code is simply and works perfectly: > > Geocoder g = new Geocoder(this); > List<Address> la = g.getFromLocation(-25.809 , -49.153, 1); > > When I run it with the Wireshark (or tcpdump) turned on, I can see an > HTTP Request to > > http://www.google.com/loc/m/api > > The Content Type is Binary, the method is POST, and the posted > parameter I've managed to understand, and now I can make requests to > that site OUTSIDE THE ANDROID ENVIROMENT, and that's my goal. > > But, the problem is, I don't know how Android.jar reads the Response. > If I knew how to decompile it, it would be easy. Here's a sample > decoded response: > > Cunene Angola AO -16.285444, 15.4088245 > (City, Coutry, Lat, Lng) > > But the binary Response was: > > 00 01 00 00 00 70 81 00 00 00 > 00 ... ..p..... > c8 00 01 67 00 00 00 65 1f 8b 08 00 00 00 00 00 ...g...e ........ > 00 00 e3 60 10 4a e4 60 10 8a e5 e2 e2 65 98 51 ...`.J.` .....e.Q > f6 4d 94 21 a3 93 53 cb 83 8b cd b9 34 2f 35 2f .M.!..S. ....4/5/ > 55 80 59 ca 00 c6 e6 62 73 cc 4b cf cf 49 14 e2 U.Y....b s.K..I.. > 82 b1 04 18 85 d8 b8 98 1c fd 05 98 40 62 30 1d ........ [EMAIL PROTECTED] > 5a 5c bc 37 38 bd bf 89 9a 1a eb 73 1a ec 78 d7 Z\.78... ...s..x. > f5 fe b0 32 00 5f e0 0f 0b 65 00 00 00 ...2._.. .e... > > From the beggining of the file, it seems to be a DEX file. But it > doesn't fits the following specs: > http://www.retrodev.com/android/dexformat.html > > Please, see if you can help me to decode it. > > By the way my blog is at > hourlyapps.blogspot.com > > > On 3 out, 17:25, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > > Could you post a link to your blog...and some code..so that I can get an > > idea of what you are doing :) > > > > 2008/10/3 vern <[EMAIL PROTECTED]> > > > > > > > > > As I posted at my blog, I'm trying to decode the Google site response > > > to an Android's reverse geocoding request. But as I don't know how to > > > decompile the Android libraries to see how it's done, I'm stuck. > > > Anyone can help me? > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---