I have Device on which i installed Android Gingerbread 2.3.4 Here i want to
run C executable file on android device

I am able to run android NDK application on Device and its run perfect But
i want to run only onehello.c executable file on Device.

/* #includes #defines ... */

int main(){

    // Do something when this is executed

    return 0;
}

Is there any way to compile this file with Android NDK tool chain and we
can run this file's executable

I found one thing
here<http://my.opera.com/otaku_2r/blog/build-and-run-c-application-on-android>
but
this is not working for me i am using Android NDK, Revision 7b of linux
There is no directory structure like this.

I got Output like this

cd /data/local

# ./hello

/system/bin/sh: ./hello: not found

I also used this /system/bin/hello but cant able to run this.

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to