[android-developers] Running linux commands from java code

2009-08-12 Thread Jason Proctor

IMHO, much better to do this from Java with File.listFiles()

much fewer clock cycles die this way :-)


Runtime.getRuntime().exec(ls -a);


--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 11, 8:26 pm, human android vanquisher.sin...@gmail.com wrote:
  I am trying to execute ls -a from java code, any idea how to do so.


-- 
jason.software.particle

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



[android-developers] Running linux commands from java code

2009-08-11 Thread human android

I am trying to execute ls -a from java code, any idea how to do so.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---