Hi,
i made a android app, which works correctly.
now i put some parts of my application into a library and as a jar file.
now my code is not working
i read some values through this command:

suProcess = Runtime.getRuntime().exec("ls /sdcard/folder*'");
  
      DataOutputStream oStream = new 
DataOutputStream(suProcess.getOutputStream());
      DataInputStream osRes = new 
DataInputStream(suProcess.getInputStream());
      DataInputStream errStream = new 
DataInputStream(suProcess.getErrorStream());
      if (null != oStream && null != osRes && null!= errStream)
      {
          while (errStream.available()>0)
              errVal += errStream.readLine();
          while (osRes.available()>0)
              retval = osRes.readLine(); 
      }

but nothing would return as output.
why this happens just when i use jar file?
thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to