This is my code to upload the video:
Intent shareIntent =new Intent();
shareIntent.setAction(Intent.ACTION_SEND);
shareIntent.putExtra(Intent.EXTRA_SUBJECT, "Share");
String photoURL="sdcard/DCIM/Camera/20120518_165039.mp4";
File file = new File(photoURL);
shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file));
shareIntent.setType("video/*");
startActivity(Intent.createChooser(shareIntent, "Share"));
When I run it, I choose YouTube to upload and then it will show a error Dialog:
The application My Uploads(process com.google.android.apps.uploader) has stop unexpectedly. Please try aging.
This is log:

Who know how to solve it?
Go to
settings> applications> manage applications> all apps> scroll down list to>my uploads (if you can't find> com.google.Android.apps.uploader) clear dataThat’s all you have to do for any uploads that get stuck on sending but don’t finish sending msgs.I founds this answer on Android Forum. The app is called: “my uploads” in my Droid phone settings.