Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7446913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:27:45+00:00 2026-05-29T12:27:45+00:00

I am attempting to use the MediaStore.ACTION_VIDEO_CAPTURE in my app, see code below. However,

  • 0

I am attempting to use the MediaStore.ACTION_VIDEO_CAPTURE in my app, see code below.
However, there seems to be an issue with it on the HTC desire.
When the video capture intent launches, everything is fine, but as soon as the round button for record is pressed, or any of the UI interacted with in fact, the intent hangs. Logcat doesn’t throw any errors, but whenever I attempt to interact with the phone it posts ” UI Block”.
I am able to quit the application with the home button, but after this the camera is unaccessable, the app cannot rund on the phone again -untill the device has been reset. Ive tried the app on a HTC sensation where it worked without problems. I think it might be an issue with the HTC Sense UI, but I am not sure. Code as follows:

case R.id.VCF_Btn_record:
Intent captureVideoIntent = new Intent(android.provider.MediaStore.ACTION_VIDEO_CAPTURE);
startActivityForResult(captureVideoIntent, VIDEO_CAPTURED);

MediaStore is API level 1, and ACTION_VIDEO_CAPTURE API lvl 3, so it should work on this device, has anyone else experienced anything similar?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T12:27:46+00:00Added an answer on May 29, 2026 at 12:27 pm

    Here is the code that I’m using in my app, which works perfectly fine on my Desire:

    private void captureVideo() {
        Intent i = new Intent("android.media.action.VIDEO_CAPTURE");
        try {
            startActivityForResult(i, CAPTURE_VIDEO);
        } catch (ActivityNotFoundException ex) {
            Toast.makeText(this, "Your device does not contain an application to run this action", Toast.LENGTH_LONG).show();
        }
    }
    

    I know that android.provider.MediaStore.ACTION_VIDEO_CAPTURE resolves to “android.media.action.VIDEO_CAPTURE”, but if I recall when developing my app, using it didn’t work for me.

    See if that works for you

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Attempting to use XStream's JavaBeanConverter and running into an issue. Most likely I'm missng
I am attempting to use the following code to search a database using words
I'm attempting to use TPH mapping for the following classes. Ignore that there's only
I'm attempting use the REST API in my rails (version 3.2.9) app. I am
I am attempting to use PHP to edit the DOM document tree. However, I
I'm attempting to use the code from http://www.codeproject.com/Articles/20165/CheckBox-Header-Column-For-DataGridView in order to add a CheckBox
I'm attempting to use the SDK.REST method to update a record, however it isn't
So I'm attempting to use libopus on my native code for an Android application.
In attempting to use scipy's quad method to integrate a gaussian (lets say there's
I am attempting to use client certificates for an SSL connection using MonoTouch. There

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.