summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoCamera.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/VideoCamera.java')
-rw-r--r--src/com/android/camera/VideoCamera.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java
index 234fcff..ca53219 100644
--- a/src/com/android/camera/VideoCamera.java
+++ b/src/com/android/camera/VideoCamera.java
@@ -331,20 +331,6 @@ public class VideoCamera extends NoSearchActivity implements View.OnClickListene
}
}
- private void startShareVideoActivity() {
- Intent intent = new Intent();
- intent.setAction(Intent.ACTION_SEND);
- intent.setType("video/3gpp");
- intent.putExtra(Intent.EXTRA_STREAM, mCurrentVideoUri);
- try {
- startActivity(Intent.createChooser(intent,
- getText(R.string.sendVideo)));
- } catch (android.content.ActivityNotFoundException ex) {
- Toast.makeText(VideoCamera.this, R.string.no_way_to_share_video,
- Toast.LENGTH_SHORT).show();
- }
- }
-
private void startPlayVideoActivity() {
Intent intent = new Intent(Intent.ACTION_VIEW, mCurrentVideoUri);
try {
@@ -354,7 +340,6 @@ public class VideoCamera extends NoSearchActivity implements View.OnClickListene
}
}
-
public void onClick(View v) {
switch (v.getId()) {
case R.id.btn_retake:
@@ -379,14 +364,6 @@ public class VideoCamera extends NoSearchActivity implements View.OnClickListene
MenuHelper.deleteVideo(this, deleteCallback);
break;
}
- case R.id.share: {
- startShareVideoActivity();
- break;
- }
- case R.id.play: {
- doPlayCurrentVideo();
- break;
- }
case R.id.review_thumbnail: {
stopVideoRecordingAndShowReview();
initializeRecorder();
@@ -420,16 +397,6 @@ public class VideoCamera extends NoSearchActivity implements View.OnClickListene
}
}
- private void doPlayCurrentVideo() {
- Log.v(TAG, "Playing current video: " + mCurrentVideoUri);
- Intent intent = new Intent(Intent.ACTION_VIEW, mCurrentVideoUri);
- try {
- startActivity(intent);
- } catch (android.content.ActivityNotFoundException ex) {
- Log.e(TAG, "Couldn't view video " + mCurrentVideoUri, ex);
- }
- }
-
private void discardCurrentVideoAndInitRecorder() {
deleteCurrentVideo();
hideAlertAndInitializeRecorder();