While working on Android I have faced lots of problems, I used android forums and that helps me lot
Now I am active user on Android forums and lots of users individually mail me and asking for solutions.
I got some mails for asking Dom parser Error ” XML Dom parser throws error input source needs either stream or reader”
Its not possible to reply every one so here, i am writing solution for above problem.
Basically this problems occurs because of “accessing file in wrong way”.
Some important steps to Access the specific XML file or some other resource.
1) Your file should be in Assets folder or res/xml folder or res/row folder.
2) I prefer Assets to put resources,
3) Then access that file by using AssetManager
Recent Comments