Problem to write a web application in android development
I find out that while i write url with http:// (example - http://google.com )the browser open the page. But when i write without http:// (ex google.com ) it creates exception.
But as a human behaviour most of time people write url as (ex www.google.com or google.com)except (ex http://google.com )in browser. Is there any program to solve 开发者_运维知识库this problem in android application development.
Check if the url starts with http:// or https://, if not append it in the code and use it.
精彩评论