08-12-2008 07:21 AM
I tried to load a page using API "BrowserSession" with following code
net.rim.blackberry.api.browser.BrowserSession browserSession = net.rim.blackberry.api.browser.Browser.getDefaultS
It pops up an error message saying "200: Application can not accept the content [text/xml]"
I don't know how to fix this.
Please advice me on that.
08-12-2008 09:46 AM
08-12-2008 10:20 AM
08-12-2008 10:36 AM
I want to get just the XML response of the URL.
Is there any way to get the response, without creating any special mobile version of the website?
I don't have TCP settings, WAPGateWayIP, BES.
I have only BIS provided by AirTel.
Please let me know the way to get the URL's response.
08-12-2008 11:36 AM
08-12-2008 12:23 PM
I'm guessing you really want to 'read' the page into your BlackBerry application and process it.
I suggest you review the httpdemo supplied with the JDE, in fact I recommend that you get that working, and try it with the page you want to download.
Lots of applications do this sort of processing.