Say I have a URL
http://example.com/query?q=
and I have a query entered by the user such as:
random word £500 bank
In android I would use this code:
Uri myUI = Uri.parse ("http://example.com/query").buildUpon().appendQueryParameter("q","random word A3500 bank 24").build();
Where Uri is a android.net.Uri
Uri
android.net.Uri