> -(new InputSource(url.toString)); was with another message "InputSource needs either stream or reader"
On Sep 24, 10:09 am, kiro <cih.exe...@gmail.com> wrote: > Hi! > i'm trying to execute next code: > > [code] > //URL url comming from input > > Document doc; > > DocumentBuilderFactory docBuilderFactory = > DocumentBuilderFactory.newInstance(); > DocumentBuilder docBuilder = > docBuilderFactory.newDocumentBuilder(); > > doc = docBuilder.parse(new InputSource(url.openStream())); > [/code] > > and have an exception with message : > > "Permission denied (maybe missed INTERNET permission)" > > As i understand, android doesn't give access to Internet for my app? > or something else i must know? > > note : > -android emulator have connection to internet (tested at browser) > -(new InputSource(url.toString)); was with another message, but under > win-console-compilation it works --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---