![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
安卓基础
lockyblog
coding...路漫漫,其乐无穷?自觉点,可以创造不少价值的。
展开
-
【安卓】旋屏跟随
1.设置属性 manifest.xmlMainActivity" android:label="@string/app_name" android:screenOrientation="landscape" android:theme="@android:style/Theme.N原创 2016-03-09 09:50:55 · 321 阅读 · 0 评论 -
cocos2d 安卓编译 cpp Android.mk
方便脚本编译,修改Android.mk#把对应路径下的所有CPP(也可以是其它文件,修改.cpp为如.c)文件包括进来LOCAL_PATH :=$(call my-dir)...include_all_cpp_files = \$(eval src_files = $(wildcard $1/*.cpp)) \$(eval src_files = $(src_files:$原创 2016-04-13 16:18:55 · 377 阅读 · 0 评论 -
安卓获取地区信息
1.use local,like thisString sCountry = _context.getResources().getConfiguration().locale.getCountry(); //return like "CN" String,this depends on the user configured,If the user configures the de原创 2016-04-15 16:40:04 · 537 阅读 · 0 评论