Hi, here is an example to running "iptables" command inside an Android app: http://cmwrap.googlecode.com/svn/trunk/src/net/biaji/android/cmwrap/services/WrapService.java
If useful to you, I am very happy. On 11月13日, 下午1时32分, Mohsin Yasin <[email protected]> wrote: > hi > i have copied a file named hello(compiled form hello.c) in android \data > folder > and using command like "adb shell \data\hello" in android machine terminal. > and it give fine output > > Actual Question is that > is there is any way that > in button click listener, i initiate the same command like "adb shell > \data\hello" (or any other appropriate way to execute adb shell commands) > and gets its output in TextView. > > i am very thankful to all of u, bcoz when ever i put question i got the > answer > thanks in advance > > -- > ----------------------------- > Mohsin Yaseen > Android Developer, EASIP IMSciences > Consultant Software, Qurtuba Education > Systemhttp://www.linkedin.com/in/rmyasinhttp://mohsinyasin.blogspot.com/http://groups.yahoo.com/group/bPakistani/ > +923349069919 > +923129069919 > [email protected] > [email protected] -- 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

