Want to execute arm compiled executable file on Android adb shell

by Tim » Thu, 18 Mar 2010 22:41:26 GMT

Sponsored Links

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


Want to execute arm compiled executable file on Android adb shell

by mah » Fri, 19 Mar 2010 03:00:23 GMT

 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.


Sponsored Links

Want to execute arm compiled executable file on Android adb shell

by Parse » Thu, 22 Apr 2010 12:15:53 GMT

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.....


Other Threads

1. 2D android game from java Swing desktop application


I developed a 2D game in Java Swing.  It's fairly simple and consists
of a number of levels in which the user controls the hero and avoids
monsters that walk around the level and try to kill the hero until the
hero completes the level.  The hero and the monsters and other
significant objects like jewels or rocks are JLabels that sit on top
of a background image map.  Each time the user presses the keyboard to
move the hero(JLabel) moves some number of pixels and the
monsters(JLables) move according to their own logic around the map.

My question is I know android does not support swing, so what would be
the best way to create this game in android.  Would I just have image
objects similar to JLabels moving around the screen?  What objects
would these be?  I am just learning android programming want to start
thinking about how to migrate my game over while I am doing the
tutorials and things like that.




2. how to get synchronization status on eclair

This has been killing me for over a day now...
Is there a way to subscribe to events about synchronization status of
a particular account on eclair?
What I'm trying to accomplish is to show/hide an indicator of sync
status for a particular account in my application.
The sync is started through ContentResolver.requestSync(...).

I've scanned through the sources of accounts & sync settings screen
and found this:


which would be great, except it's not available on eclair (in fact
it's not available on froyo either) and I need to support this
version :/

Another thing I found is ContentResolver.getCurrentSync() - same story
- not available in eclair.

So does anyone know how to determine the synchronization status for an


3. Live wireless display.

4. ApiDemos 1.6 does not build

5. Tracking problems of other apps

6. ExpandableListView: align selected groupheader after its expansion

7. Is GC.free releases texture