olboss Posted February 6, 2011 Share Posted February 6, 2011 Bonjour, J'ai créé une WebView qui ouvre une URL, mais le problème c'est que lorsque je clique sur un lien de la page le navigateur s'ouvre alors que je voulais que la nouvelle page s'ouvre dans mon appplication. Comment faire? Merci! Link to comment Share on other sites More sharing options...
peKKa Posted February 7, 2011 Share Posted February 7, 2011 Tu ajoute un textView clickable dans ton UI, tu implémentes l'action onClick et tu appel l'url que veux : webview.loadUrl("http://mapage.com/test.html"); Link to comment Share on other sites More sharing options...
olboss Posted February 7, 2011 Author Share Posted February 7, 2011 J'ai pas de textview j'ai une webview, je peux pas inclure la webview dans le textview si? Link to comment Share on other sites More sharing options...
peKKa Posted February 8, 2011 Share Posted February 8, 2011 Ah ok, t'as la réponse ici alors : Link to comment Share on other sites More sharing options...
olboss Posted February 8, 2011 Author Share Posted February 8, 2011 Merci, j'ai trouvé mon bonheur! J'ai encore un problème ma Webview ne prend pas toute la taille de l'ecran il y a des bandes noires a gauche et à droite. Mon application utilise des onglets (tab) Je n'arrive pas a la mettre en plein ecran une idée ? Merci d'avance Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.