08-27-2010 02:18 AM
hi
can one say me hw to append an URL address using Http Get method...
i need to pass the URL address and need to get the webpage in my simulator...
so please help me.........![]()
it ll be help full if u provide me with sme code samples too... so please guide me...
08-27-2010 04:35 AM
hi,
What kind of help are you looking for? if yo wanat to encode URL in Http Get method.The best way to do this on a BlackBerry is to use the URLEncodedPostData class to properly encode your URL parameters.
URLEncodedPostData data = new URLEncodedPostData(URLEncodedPostData.DEFAULT_CHARSET, true);
data.append("name",nameValue);
data.append("name",nameValue);
url = url + "?" + data.toString();