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

218
Vistas
How to launch an android app from browser without knowing schema?

I'm currently working on an application which should launch application from a browser on Android. I also researched a bit about the intent anchors and tried a few things.

window.open("https://www.youtube.com/"); // works - opens youtube as it is a registered URL for the app
window.open("vnd.youtube:WATCH_ID"); // works - opens youtube with Watchid - schema found in the webs
window.open(
  "intent://#Intent;package=com.google.android.youtube;end"
); // Does not work
<a href="intent://#Intent;package=com.google.android.youtube;end">
  TestLink
</a>
<!-- This also does not work -->

  1. Am I missing something?
  2. Is there a way to check for the registered schemas on an Android phone?

Edit: For my purposes I needed to have the package name (which you can find on the Google Play Store) and the scheme. To find the scheme on your phone for an already installed app you can run

adb shell "dumpsys package com.package.any.id | grep -i scheme'"

and by running

adb shell "dumpsys package com.package.any.id"

you can also check the intents for the package.

Many thanks

about 4 years ago · Juan Pablo Isaza
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