This kind of stuff isn't part of the SDK. If you are developing a device, you can ask these kinds of questions on android-porting. If you are writing an application, you should stick with the SDK.
2009/8/30 tstanly <tsai.sta...@gmail.com> > > thanks for your reply, > > > so if I have a script file now, > the script file content wants to "mount" a device or do some control > such as open wireless connection, > and wants app to execute script file, > > if it possiable? > > > thanks! > > On 8月29日, 上午1時42分, Dianne Hackborn <hack...@android.com> wrote: > > Keep in mind that shell commands are not part of the SDK. These commands > > will and do change between releases, with no predictability (for example > > different output, etc). And for all of the commands that are simple > enough > > that they are less likely to change (such as mkdir), it is much more > > efficient to use the appropriate Java APIs to do the same thing. > > > > > > > > > > > > On Fri, Aug 28, 2009 at 2:54 AM, tstanly <tsai.sta...@gmail.com> wrote: > > > > > hi all, > > > > > I want to use command like "ls","mkdir","cd","./"..etc, in the app, > > > somebody says use Runtime class, > > > > > Runtime.getRuntime().exec("ls"); > > > > > but there is nothing happen.. > > > I also use logcat to observe, but have the same result. > > > > > so could app use (linux) command? > > > > > thanks! > > > > -- > > Dianne Hackborn > > Android framework engineer > > hack...@android.com > > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see > and > > answer them.- 隱藏被引用文字 - > > > > - 顯示被引用文字 - > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---