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. ADC2 [tools] Mezzofanti - Augmented reality through text recognition

Great work.
I previously had a similar idea for an application for ADC2 using OCR
engine but no one figured out how to incorporate the Tesseract engine.

Btw, is the apk available for download somewhere?

Cheers
Eric



--~--~---------~--~----~------------~-------~--~----~

2. Need help with MediaStore

Hi guys,

I am trying to make an application which will upload pictures to a
website. I need to let the user browse through the pictures they want
to upload and select them. However, when I try to use the MediaStore I
always get an empty cursor.

I created an SD CARD image and used that with the emulator. I know one
image exists in /sdcard/media. I copied it using an image manipulation
tool (winimage). And, I can see the image when I use the command "ls /
sdcard/media" in the terminal application of the phone.

The code I am using is this :

=============
                // Here we set up a string array of the thumbnail ID column we 
want
to get back
                String [] proj={MediaStore.Images.Thumbnails._ID};
                // Now we create the cursor pointing to the external thumbnail 
store
                cursor = managedQuery
( MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI,
                                proj, // Which columns to return
                                null,       // WHERE clause; which rows to 
return (all rows)
                                null,       // WHERE clause selection arguments 
(none)
                                null); // Order-by clause (ascending by name)
                // We now get the column index of the thumbnail id
                Log.i(tag, "size: ");
                Log.i(tag, "size: "+cursor.getCount());
==============

Am I missing something here?

Thanks in advance for the help,

Moazzam
--~--~---------~--~----~------------~-------~--~----~

3. Error generating final archive ... post Apple Software Update

4. SDCARD images/audio/video not reflected in gallery.

5. Problem in Listview with Checkbox

6. getting crash stack....

7. Activity.isForeground()