Android Question url encode problem

tufanv

Expert
Licensed User
Longtime User
Hello

I need to load a webpage like this :

webview1.loadurl("http://www.test.com/" & message.txt)

message.text contains spaces as it is a customizable textbox. This gave an error. Later I learned that i need to encode the url with string utils

I used it to encode with utf-8 but when i click on navigate nothing happens. How can i fix it ?

ty
 
Top