Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

108
Visualizações
Force android camera resolution to lower resolution from browser when user try to upload file

So in my application, I am allowing users to upload files. So after clicking on input he gets options like pick up the video from the gallery or open camera to take video and upload it. And this is something that androids give by themselves. If the user opens its camera and record video in HD so even a small video like 10sec videos goes to 100MB. I want to restrict the user camera to the least resolution. So that the video or photo that he takes, the size won't be much. Thank you in advance.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You cannot set the resolution or any other camera setting when you are launching the camera app by Intent. So there are two solutions to your problem.

  1. Integrate Camera2API in your app and create a custom camera with all controls in your hand.(complex to implement but fast to use)
  2. Post process the video to lower the resolution after the video has been recorded(easy to implement but needs post processing time)
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda