Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

214
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda