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

215
Visualizações
Android - How to get the list of Hardware Buttons of the smartphone device where my app is running

According to the fact that (of course) an app can run on different devices, I'm searching a way to list the hardware buttons available on the smartphone.

Usually Volume, Power are always there. Sometimes a button that launch camera is present, sometimes a button that launch "Google Now" is present, etc... How can my app knows which are available?

Final target for me is to use an hardware button to perform a precise action of my app. I implemented it with volume button, but it works only if screen is on and my app is in foreground, while I need to do that also when screen is off and my app is in background.

over 4 years ago · Santiago Trujillo
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