public class TestButton extends Activity { /** Called when the activity is first created. */ ImageButton imgBtn; @Override public void onCreate(Bundl
One more solution is using FlushedInputStream http://code.google.com/p/android/issues/detail?id=6066