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

--



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


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






--



Other Threads

1. Selecting text in a WebView?

The browser does this by calling `public void emulateShiftHeld()`
method on the WebView which is hidden in the SDK.
Any other options?
TIA.
--~--~---------~--~----~------------~-------~--~----~

2. UI changing layouts

Hi,

I have created multiple UI layout files and placed them in res/layout
folder. The layouts designed are similar to a forms. Each layout has
some buttons to transition to an alternate layout. Let me elaborate
how my files look like:

main.xml
linearlayout with button b1

s1.xml
linearlayout with button b2

s2.xml
linearlayout with button b3

s3.xml

In the main Activity, for OnClickListener of b1, i modify to

{
runOnUiThread(new Runnable()
{
public void run()
{
// with some processing
setContentView(R.layout.s1);
}
});
}

for OnClickListener of b2, i modify to
{
runOnUiThread(new Runnable()
{
public void run()
{
// with some processing
setContentView(R.layout.s2);
}
});
}

for OnClickListener of b3, i modify to
{
runOnUiThread(new Runnable()
{
public void run()
{
// with some processing
setContentView(R.layout.s3);
}});
}

I get a force close when I try to perform the same. Could you please
point what mistake I am making? Any suggestions of a better UI design?

Cheers
Bobby
--~--~---------~--~----~------------~-------~--~----~

3. Can adb shell trigger onLowMemory

4. USB data acquisition

5. Unable to read camera input buffer

6. Can't delete emails?

7. Announcement: InsideMobile conference for those interested in all things mobile