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

217
Visualizações
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 à 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