[android-beginners] Re: Problem calling openStream() FileNotFoundException

2009-06-30 Thread Mat
Hi, I have a similary problem. I have an URL with parameters, when the 2 parameters are correct, I have an XML response. If the parameters are bad I have an other XML response with a code. If i test with good parameters, it's ok, but if I test with wrong parameters, I have a FileNotFoundException

[android-beginners] Re: Problem calling openStream() FileNotFoundException

2009-06-12 Thread xinit
Hi Mark, Thanks for respose ! I run some tests and its a bit more confusing: 1) If I set the URL to another site for example "http:// newsrss.bbc.co.uk/rss/newsonline_uk_edition/uk/rss.xml" then it works. So I think the setup of my Emulator and network is good. 2)So I put the Google News RSS U

[android-beginners] Re: Problem calling openStream() FileNotFoundException

2009-06-12 Thread Mark Murphy
xinit wrote: > Hello > > I am starting Android and am using SDK 1.5 r2 and hope someone can > suggest to me where problem could lie. > > The following code does two simple things, Create URL object and then > return InputStream by using openStream(). > > When I call openStream() I get a io.File