Hey......... Tim and mah..... Thanks for your replies... @Tim: I've used native library using NDK and it's working nice...
Thanks for your replies again..... On Mar 19, 12:00 am, mah <m...@heilpern.com> wrote: > I believe you're right. On a Nexus One, if I "adb shell" in and issue > the "mount" command, it shows that /sdcard does indeed include the > noexec flag. It also includes nosuid (is that necessary considering > there's noexec?) and nodev. > > On Mar 18, 10:41 am, Tim <tdh...@gmail.com> wrote: > > > On Mar 17, 11:20 am, Parse <paritosh6...@gmail.com> wrote: > > > > I stuck in a problem. > > > > I want a chmreader executable file to be used in android application. > > > Now whenever I tried to execute it from adb shell, it gives error > > > "permission denied" > > > "# su /sdcard/extract_chmLib /sdcard/docs/HArdcore.chm" > > > I may be wrong, but I think the sdcard is mounted with the NOEXEC > > flag, so you can't run programs from there. The best way is to > > integrate the executable into your app as a native library using the > > NDK. -- 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