• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Opening Webview Url via intent

 
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi EveryOne,
I am trying to use webview in my android app in which URL of Webview I am handleing using INTENT but when Url is getting loaded .It get's loaded for few seconds and then webpage not found error comes.Any Solution for this.
This is my handle Intent function

This is my onCreate Function


Error is as follow


errorcode-10
description: net::ERR_UNKNOWN_URL_SCHEME

 
Master Rancher
Posts: 1988
15
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the value or url variable?
 
priyanshi bhardwaj
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Swastik Dey wrote:what is the value or url variable?

Thanks for replying it's solved now. Solution to my problem was I have enabled Javascript in web-view due to which it was redirecting it to new page .Disabling it ended up stoping of my redirection.
 
What are you doing? You are supposed to be reading this tiny ad!
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!