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

87
Vistas
Access remote JSON file through WebView

I have prepared HTML/CSS/JS page which reads a simple JSON file from a server using fetch. It works perfectly.

Then I use Webview in Android Studio to make an app of the page. It compiles perfectly and on the simulator I can see the data of the remote JSON file. I suppose this means that everything works OK.

However when I compile and install the APK , the data is not there.

Does anybody suspects why the App installed on the phone does not connect to the server and fetch the JSON file ?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I think I found out. https should be used instead of http !

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