트위터에 사진올리는 Twitpic API를 보니 Twitpic4J라는 라이브러리를 쓰라고 하더군요.
// Create file 
File picture = new File("images/somepic.jpg"); 
 
// Create TwitPic object and allocate TwitPicResponse object 
TwitPic tpRequest = new TwitPic("username", "password"); 
TwitPicResponse tpResponse = null; 
 
// Make request and handle exceptions                            
try { 
        tpResponse = tpRequest.uploadAndPost(picture, "Hello World!!!"); 
} catch (IOException e) { 
        e.printStackTrace(); 
} catch (TwitPicException e) { 
        e.printStackTrace(); 
} 
 
// If we got a response back, print out response variables                               
if(tpResponse != null) 
        tpResponse.dumpVars();

라이브러리 제공사이트에서는 이렇게 쓰라길래 한번 해봤는데 동작을 안하네요.

package twitpic.teamkuma.org;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;

import android.app.Activity;
import android.content.res.AssetManager;
import android.content.res.Resources;
import android.os.Bundle;
import android.util.Log;
import android.widget.Toast;

import com.harrison.lee.twitpic4j.TwitPic;
import com.harrison.lee.twitpic4j.TwitPicResponse;
import com.harrison.lee.twitpic4j.exception.TwitPicException;

public class Twitpic4jTest extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
     // Create file 
        File picture = new File("/data/data/twitpic.teamkuma.org/gumi.jpg"); 
        
        AssetManager assetManager = this.getResources().getAssets();
  try {
   InputStream is = assetManager.open("gumi.jpg", AssetManager.ACCESS_BUFFER);
   long filesize = is.available();
   byte [] tempdata = new byte[(int)filesize];
   is.read(tempdata); 
   is.close();
   
   picture.createNewFile();
   FileOutputStream fo = new FileOutputStream(picture);
   fo.write(tempdata);
   fo.close();
  } catch (IOException e) {
   e.printStackTrace();
   Toast.makeText(this, "파일불러오기 실패.", Toast.LENGTH_LONG).show();
   
   return;
  }
        
        
        // Create TwitPic object and allocate TwitPicResponse object 
        TwitPic tpRequest = new TwitPic("유저아이디", "비밀번호"); 
        TwitPicResponse tpResponse = null; 
         
        // Make request and handle exceptions                            
        try { 
                tpResponse = tpRequest.uploadAndPost(picture, "Hello World!!!"); 
                Toast.makeText(this, "성공~", Toast.LENGTH_LONG).show();
        } catch (IOException e) { 
                e.printStackTrace(); 
        } catch (TwitPicException e) { 
                e.printStackTrace(); 
        } 
         
        // If we got a response back, print out response variables                               
        if(tpResponse != null) 
                tpResponse.dumpVars();
    }
}

File 불러오는게 잘못되어서 그런건지 인증이 없이 되는거라 그런지 모르겠습니다. 혹시 Twitpic4J 써보신분 있으시면 한수 가르침 부탁드립니다.