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. Strange out of memory on bitmap but there is free heap space

2010/8/10 Streets Of Boston <flyingdutc...@gmail.com>:


Many thanks for the response. You explaination is the same as:

http://stackoverflow.com/questions/2131947/android-memory-allocation

So i will try to download the bytes of the image and save they on the
external memory. Then when necessary I convert it on the fly in bitmap
and set on the image view!

But was is strange is that I have copied the code from internet.
My starting problem was to lazy loading images in a listview.
Examples in internet use ArrayList of Bitmaps!

Where can I write the downloaded images to be quickly readed after?
I think sd card i slow ... or?


-- 
 _| _.  o _| _
(_| (_| \/ | (_| (/_

-- 

2. AsyncTask and UI activity

Hi all,

I know this is not how an async task should behave but my question is
how to "block" the user while executing it.

My need is the following:
I have my own backup/restore process and I have an async task to run
these two actions.
The backup is fine, I can warn the user when the backup is done and
that's just fine!
But my problem is about the restore process. When the user click on
restore he shouldn't be able to make any change in the application
(and anyway don't want to because he would lose all his changes).
I understand that having the user blocked while restoring (or maybe
with a progress bar) is not a best pratice but I do not see any other
possibility in this context.

I need your advices about it.

Thanks in advance,

Regards,
Kim


-- 

3. ERROR/LicenseValidator(4883): Signature verification failed.

4. How do I know current run Activity name?

5. About external Storage

6. Content Encoding and decoding

7. Getting list of all resources or assets in my APK