2 ms·
AndroidHttpClient has a executor method, which take your HttpGet object and a transformator and the default one will give you a string, which is the body of the
by tomjen3 13y ago
AndroidHttpClient has a executor method, which take your HttpGet object and a transformator and the default one will give you a string, which is the body of the request.
That is about 4 lines, and a try finally statement around that and a try catch statement around that again and that is all that is required. 15 lines maybe, a bit more if you want to move it of the main thread (but then you are, IMHO no longer just doing a get request).