You can use Authenticator with HttpUrlConnection:
http://java.sun.com/j2se/1.5.0/docs/api/java/net/Authenticator.html
Hope that helps,
- John
On Mar 24, 9:12 am, "nEx.Software" wrote:
> I am beating my head against a wall trying to figure out why I cannot
> get Authenticated on my server whilst
I saw that, but it adds so much unnecessary weight to my apk to
include additional jars.
I'll give the JTwitter thing a shot. Thanks.
On Mar 24, 7:10 am, Mark Murphy wrote:
> nEx.Software wrote:
> > Thanks for the lead Mark. I really appreciate it. I hope it gives me
> > some insight. So, is my
nEx.Software wrote:
> Thanks for the lead Mark. I really appreciate it. I hope it gives me
> some insight. So, is my assessment right in that the HttpPost/
> HttpClient route is not possible for this sort of thing currently?
If by "this sort of thing" you mean pre-emptive HTTP authentication, it
Thanks for the lead Mark. I really appreciate it. I hope it gives me
some insight. So, is my assessment right in that the HttpPost/
HttpClient route is not possible for this sort of thing currently? I
see there used to be a MultipartEntity class which was removed with
the 1.0 SDK. That looks like
nEx.Software wrote:
> I am beating my head against a wall trying to figure out why I cannot
> get Authenticated on my server whilst using HttpUrlConnection. I need
> to post a file in a post method and it seems I cannot do so with the
> DefaultHttpClient and a regular HttpPost (unless I am complet
5 matches
Mail list logo