I have tried to do it with the normal HttpClient and now I have done
it with the apache commons HttpClient:
On Apr 30, 6:25 am, Jon Colverson jjc1...@gmail.com wrote:
On Apr 29, 6:06 pm, Wouter wouterg...@gmail.com wrote:
I cannot access my page! How can I do this?
Can you post your code?
On Apr 30, 6:25 am, Jon Colverson jjc1...@gmail.com wrote:
On Apr 29, 6:06 pm, Wouter wouterg...@gmail.com wrote:
I cannot access my page! How can I do this?
Can you post your code?
--
Jon
I have tried to do it with the normal HttpClient and now I have done
it with the apache commons
Wouter wrote:
On Apr 30, 6:25 am, Jon Colverson jjc1...@gmail.com wrote:
On Apr 29, 6:06 pm, Wouter wouterg...@gmail.com wrote:
I cannot access my page! How can I do this?
Can you post your code?
--
Jon
I have tried to do it with the normal HttpClient and now I have done
it with
No this doesn't work..
I have tried to access my page with curl (curl http://192.168.1.66:3000/me
--basic -u wouter:test) and I got a successfull xml response!
So how can I do this in Android? The code you give didn't work..
On Apr 29, 1:01 am, Jon Colverson jjc1...@gmail.com wrote:
On Apr
I cannot access my page! How can I do this?
On Apr 29, 10:43 am, Wouter wouterg...@gmail.com wrote:
No this doesn't work..
I have tried to access my page with curl (curlhttp://192.168.1.66:3000/me
--basic -u wouter:test) and I got a successfull xml response!
So how can I do this in
On Apr 29, 6:06 pm, Wouter wouterg...@gmail.com wrote:
I cannot access my page! How can I do this?
Can you post your code?
--
Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
On Apr 28, 11:26 pm, Wouter wouterg...@gmail.com wrote:
How can i do the authentication? i have tried with a authscope and
BasicCredentialsProvider but i think i am not doing it good!
I think this is all you need:
DefaultHttpClient client = new DefaultHttpClient();
code_android_festival_way wrote:
Hello guys!
I'm trying to achieve a basic HTTP authentication. After hours of try
and error I'd like to ask you what is the right way at the moment to
achieve that.
Here is my source code at the moment:
http://rafb.net/p/ii4mMi16.html
This approach
Thank you for your response.
You are right with line 42 it is wrong.
But that's not the main error for me. In line 43 I get The method
setCredentials(AuthScope, Credentials) in the type HttpState is
not applicable for the arguments (AuthScope, Credentials) in
Eclipse. And thats the reason why
So I tried to work close to the API right now. Here is my result:
http://nopaste.info/f1b5b7ee24.html
The only thing I don't understand is how to execute the GET method
with my client. Could you help me out if you understand how to achieve
the execution of the GET method? Would be really nice.
code_android_festival_way wrote:
So I tried to work close to the API right now. Here is my result:
http://nopaste.info/f1b5b7ee24.html
The only thing I don't understand is how to execute the GET method
with my client. Could you help me out if you understand how to achieve
the execution
Thanks for your response. I've made it now using the API to do a basic
authentication with the classes offered in the API.
Here it is:
http://rafb.net/p/ho7n5a34.html
It works fine for me now.
The other clients I found were based on the outdated M3 SDK and on
original apache libraries
After having recognized how to do the basic HTTP authentication I get
an error with the HTTPS authentication. I know that there might be
some problems with the HTTPS connection of the HttpClient after
reading through the groups here. Could someone tell me what I have to
change in here?
13 matches
Mail list logo