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 = new File("/storage/sdcard0/pic_app/ubgthyghu.com2013923.png"); bitmap2 = decodeFile(imgFile); //this just brings back a resized bitmap, it works.. i tested it try { Log.d(tag,"********************* picture is going to be updated..."); int returnvalue = adapter.uploadImage("fred", "ubgthyghu.com2013923.png", bitmap2, 3