1. Are you ready for the Galaxy S20? Here is everything we know so far!

How to get camera intent record automatically video when launched ?

Discussion in 'Android Development' started by Giouri Kilinkaridis, Apr 13, 2021.

  1. Giouri Kilinkaridis

    Thread Starter

    Hello everybody,
    I can't find anywhere information on how to get camera intent record automatically video when launched.
    This is what I use to get the intent but still user has to press the record button. Is it even possible to automate something like this using camera intent or I have to build my own version of camera app.

    findViewById(R.id.btn).setOnClickListener(new View.OnClickListener() {
    @override
    public void onClick(View v) {
    Intent recordVideo = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
    startActivity(recordVideo);
    }
    });
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...
Similar Threads - camera intent record
  1. ironass
    Replies:
    3
    Views:
    359
  2. ironass
    Replies:
    3
    Views:
    380
  3. ironass
    Replies:
    4
    Views:
    483
  4. OnGoGS7A
    Replies:
    1
    Views:
    196
  5. ironass
    Replies:
    2
    Views:
    705
  6. ironass
    Replies:
    2
    Views:
    443
  7. ironass
    Replies:
    2
    Views:
    583
  8. xvlaze
    Replies:
    8
    Views:
    420
  9. Frizzallen
    Replies:
    2
    Views:
    286
  10. consultant
    Replies:
    1
    Views:
    277

Share This Page

Loading...