+ Reply to Thread
Results 1 to 2 of 2

Thread: Permission denied for DocumentBuilder.parse()

  1. #1
    Junior Member
    Join Date
    Jan 2012

    Permission denied for DocumentBuilder.parse()

    I have a DocumentBuilder like that :
    DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance ();
    DocumentBuilder dBuilder = dbFactory.newDocumentBuilder ();
    Document doc = dBuilder.parse ("http://rss.somewebsite.com/articlex001?format=xml");
    doc.getDocumentElement ().normalize ();
    But i always get Permission denied near third line.
    Any ideas ?

  2. #2
    Oh yeah , you need to Add android.permission.INTERNET to your Manifest
    So that application could access the Internet

+ Reply to Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts