While you are using HTTP Get, you have nothing to do with the HTTP packet that is sent to the server. But while you are doing POST, then the body part in the request is very important. If you've seen the code, the problem is, say, I want to ready a file - do base64 encode - send the packet to the server. Assume the file size is >= 5 MB. You'll see the HTTP classes are not adequete to match this requirement or even if it is I do not know. But the problem is, like Windows Mobile/Blackberry - How can we know the network services (DATA/VOICE/ DATA+VOICE/Emergency etc.) available at the time of connection - I do not want to add a listner for that! Is there any concept of Access Point in Android? What other network parameters are very much Android specific those one should take care of?
On Aug 3, 4:22 am, Michael Leung <[email protected]> wrote: > there is already a http API in the SDK. > I am using HTTP_GET there seems to be for me > > > > > > On Sun, Aug 2, 2009 at 12:47 AM, Kausik Das <[email protected]> wrote: > > > Hi all, > > I am just a beginner in the Android and was experimenting with > > HTTP. I have published the result of my experimentation through the > > followinf link > >http://kausikdas.webs.com/apps/blog/show/1489440-http-in-android. > > I am yet to get a device but working with the Simulator. I need > > feedbacks on the possible network problems I should handle. e.g.: > > 1. Do I need to discover the access points and dial one before > > connecting? > > 2. How can I know which services (Data/Data & Voice/Voice/No/Emergency > > etc.) current network is supporting? > > 3. Anything more to take care of? > > -- > Regards, > Michael Leunghttp://www.itblogs.infohttp://www.michaelleung.info- Hide quoted > text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

