Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache HttpClient 4 and Android 1.0 #50

Closed
GoogleCodeExporter opened this issue Apr 11, 2016 · 7 comments
Closed

Apache HttpClient 4 and Android 1.0 #50

GoogleCodeExporter opened this issue Apr 11, 2016 · 7 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. install Google Android SDK 1.0 R1
2. install oauth-1.3.jar

I want to use the oauth-1.3 jar within my Android application. As far as I
can tell, oauth-1.3 is dependent upon Apache HttpClient 3.1

Unfortunately for me, the Android platform uses the Apache HttpClient 4 API.

Is the OAuth 1.3 Java library compatible with Apache HttpClient 4.x ?  

Note:  the HttpClient 4 API is not compatible with the HttpClient 3.x API

Original issue reported on code.google.com by sean%sea...@gtempaccount.com on 12 Oct 2008 at 5:57

@GoogleCodeExporter
Copy link
Author


I created a new package that allows the use of OAuth with Apache HttpClient 4.0

Package name:   net.oauth.client.httpclient4

The package contains three classes:  HttpClientPool, HttpMethodResponse, 
OAuthHttpClient

I am attaching the 3 source files.    

I'm not a committer on the OAuth project so I can't make any changes to SVN.    
Are
the OAuth committers interested in adding this code to the OAuth library?


Original comment by sean%sea...@gtempaccount.com on 12 Oct 2008 at 9:47

Attachments:

@GoogleCodeExporter
Copy link
Author


I'm using OAuth with HttpClient 4 in the jfireeagle project:

   http://code.google.com/p/jfireeagle/

My latest OAuth classes are in SVN:

http://code.google.com/p/jfireeagle/source/browse/#svn/trunk/jfireeagle/src/main
/jfireeagle/oauth/httpclient4

These classes would be more useful if they were included in the OAuth Java 
library.
Are the OAuth committers interested in adding this code to the OAuth library?

Original comment by sean%sea...@gtempaccount.com on 21 Oct 2008 at 11:30

@GoogleCodeExporter
Copy link
Author

Thanks for the code.  I'll integrate it into 
http://oauth.googlecode.com/svn/code/java

Original comment by jmkrist...@gmail.com on 22 Oct 2008 at 4:00

@GoogleCodeExporter
Copy link
Author

Original comment by jmkrist...@gmail.com on 22 Oct 2008 at 4:01

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

I got a copy of Sean's latest code from 
http://code.google.com/p/jfireeagle/source/browse/#svn/trunk/jfireeagle/src/main
/jfir
eeagle/oauth/httpclient4

Original comment by jmkrist...@gmail.com on 22 Oct 2008 at 4:44

@GoogleCodeExporter
Copy link
Author

I added an Apache license, made some other cosmetic changes and committed -r687.

Original comment by jmkrist...@gmail.com on 22 Oct 2008 at 6:17

  • Changed title: *Apache HttpClient 4 and Android 1.0 *
  • Changed state: Fixed
  • Added labels: Lib-Java

@GoogleCodeExporter
Copy link
Author

Thanks John! I just pulled the latest code from OAuth SVN.   The code is working
great in my Android application. I am using the OAuth Java library to connect to
Yahoo Fire Eagle.


Original comment by sean%sea...@gtempaccount.com on 25 Oct 2008 at 11:25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant