tags:

views:

24

answers:

0

Hi

i run the following program in my emulator and got my desired output.

MyHandler handler=new MyHandler();
        XMLReader xr = parser.getXMLReader();
        xr.setContentHandler(handler);
        xr.parse(new InputSource(XML_FILE_URL));


        tv.setText(handler.getParsedData());

But when i run it on my device (HTC my touch slide) i am getting error. I have added internet permission to my apps. Hear is the log cat out put

E/PackageInstallationReceiver( 244): Remove /data/local/tmp/com.dlp.apk Fail! W/System.err( 244): java.io.IOException: Error running exec(). Commands: [/syst em/xbin/su, 0, /system/bin/rm, /data/local/tmp/com.dlp.apk] Working Directory: n ull Environment: null W/System.err( 244): at java.lang.ProcessManager.exec(ProcessManager.java:196 ) W/System.err( 244): at java.lang.Runtime.exec(Runtime.java:225) W/System.err( 244): at java.lang.Runtime.exec(Runtime.java:313) W/System.err( 244): at java.lang.Runtime.exec(Runtime.java:246) W/System.err( 244): at com.htc.android.psclient.PackageInstallationReceiver. removeTempPackageFile(PackageInstallationReceiver.java:34) W/System.err( 244): at com.htc.android.psclient.PackageInstallationReceiver. access$000(PackageInstallationReceiver.java:8) W/System.err( 244): at com.htc.android.psclient.PackageInstallationReceiver$ 1.run(PackageInstallationReceiver.java:24) W/System.err( 244): Caused by: java.io.IOException: No such file or directory W/System.err( 244): at java.lang.ProcessManager.exec(Native Method) W/System.err( 244): at java.lang.ProcessManager.exec(ProcessManager.java:194 ) W/System.err( 244): ... 6 more D/RegisterService( 547): insert plugin size 1

any suggestion?

/minhaz