Skip to content Skip to sidebar Skip to footer

New To Android - How To Use The 'uploadimage' Method Found In Socialauthadapter Class

I am trying to upload an image to twitter. SocialAuthAdapter class contains an 'uploadImage' method which should do it. Here is my code: public void post_image(){ File imgFile = n

Solution 1:

Use adapter.uploadImageAsync You are implicity performing a http action on the main ui threat. Android doesnt like that


Post a Comment for "New To Android - How To Use The 'uploadimage' Method Found In Socialauthadapter Class"