java setrotation_Android开发: 通过修改数据库改变屏幕旋转方向screen rotation

whithin:|@|直接修改makefile,添加要编译的C文件和生成的可执行文件.|@|如要添加next.c 文件,生成next的可执行文件,直接在makefile后面添加:|@||@|LOCAL_PATH:= $(call my-dir)|@||@|include $(CLEAR_VARS)|@|LOCAL_STATIC_LIBRARIES := libcutils libc|@|LOCAL_MODULE :=test|@|LOCAL_MODULE_TAGS := eng|@||@|LOCAL_FORCE_STATIC_EXECUTABLE := true|@|LOCAL_SRC_FILES:= test.c|@||@|LOCAL_C_INCLUDES := bionic/libc/bionic|@||@|ifeq ($(HAVE_SELINUX),true)|@|LOCAL_CFLAGS += -DHAVE_SELINUX|@|LOCAL_SHARED_LIBRARIES += libselinux|@|LOCAL_C_INCLUDES += external/libselinux/include|@|endif|@||@|include $(BUILD_EXECUTABLE)|@||@|#======add another .c file into this make file |@||@|include $(CLEAR_VARS)|@|LOCAL_STATIC_LIBRARIES := libcutils libc|@|LOCAL_MODULE := next|@|LOCAL_MODULE_TAGS := eng|@||@|LOCAL_FORCE_STATIC_EXECUTABLE := true|@|LOCAL_SRC_FILES:= next.c|@||@|LOCAL_C_INCLUDES := bionic/libc/bionic|@||@|ifeq ($(HAVE_SELINUX),true)|@|LOCAL_CFLAGS += -DHAVE_SELINUX|@|LOCAL_SHARED_LIBRARIES += libselinux|@|LOCAL_C_INCLUDES += external/libselinux/include|@|endif|@||@|include $(BUILD_EXECUTABLE)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值