Comments (5)
I was having the same problem on Ice Cream Sandwich.
Turns out, you can't access the network on the IU Thread anymore (by default
with the new StrictMode).
I put the code in AsyncTask and it's now working on my Galaxy Nexus ;)
Original comment by mathieu.mea
on 8 Jan 2012 at 9:28
from oauth-signpost.
I can confirm that the above solution works.
Original comment by [email protected]
on 14 Jan 2012 at 1:54
from oauth-signpost.
I was already doing this call in a thread (ASyncTask) and I still get the error
on the Asus Transformer Prime. Would appreciate someone looking in to this. As
a note this ONLY happens on Android 4.0
Original comment by [email protected]
on 19 Feb 2012 at 5:10
from oauth-signpost.
I can confirm that using AsyncTask fixed the issue for me on all Android
devices running Android 4.0 and higher (including the Asus Transformer Prime).
Here is my source code if you want to check it out:
http://code.google.com/p/montrealtransit-for-android/source/browse/trunk/MonTran
sit/src/org/montrealtransit/android/TwitterUtils.java
Original comment by mathieu.mea
on 19 Feb 2012 at 5:49
from oauth-signpost.
First of all... THANK YOU, but i dont know how to make my code work...
http://pastebin.com/JfJ9a6q4
Could anyone help me? I am all new to Android... This is fir my final project
at University... after sweating a lot I made it work in android 2.33 but now in
4.2... i get this error.
Any good documentation or blog post about asyncTasks as well? I have no idea
about how to make them work... as you can see in the code (...)
The idea is, after clicking the button, it takes you to twitter authorization
area and it comes back once you finished...
Thank you in advance for your possible help
Original comment by [email protected]
on 16 Apr 2013 at 2:39
from oauth-signpost.
Related Issues (20)
- Request: RSA-SHA1 Signing HOT 4
- retrieveRequestToken(consumer, null) fails with signpost 1.2.1.1 HOT 1
- retrieveRequestToken returns an error of 500 HOT 4
- POST support for DefaultOAuthConsumer HOT 1
- OAuthGoogleExample not executing HOT 2
- After Java upgrade: "Server returned HTTP response code: 411 for URL HOT 10
- For Android Twitter Usage HOT 3
- SignatureBaseString havent sort requestParameters
- Oauth java.lang.ClassNotFoundException: org.apache.http.HttpRequest
- Enhancement : adding license text in tarball
- didn't support HTTP GET method in this framework
- two-legged OAuth HOT 3
- Signing fails when multiple parameters with the same key are used HOT 1
- consumer key with special characters causes signpost to generate incorrect signature HOT 4
- Doesnt work on 3.2, tested on motorola xoom 3.2 HOT 5
- NULL exception after CommonsHttpOAuthProvider is de-serialized
- incorrect get signing when params include space
- URL query parameter without values causes failure HOT 1
- oauth-signpost don't include the license file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oauth-signpost.