|
Main /
HelloWorldhello.c
#include <stdio.h>
int main(int argc, char **argv)
{
printf("Hello, world!\n");
return 0;
}
Makefile all: arm-none-linux-gnueabi-gcc -static -o hello hello.c Commands: Emulator: emulator -avd myavd adb push hello /data/misc/hello #emulator adb shell chmod 777 /data/misc/hello adb shell /data/misc/hello Actual Device: adb push hello /sdcard/data/misc/hello adb push hello /sdcard/jake/ # Permission denied on actual device! |