android
yuyizhixia110
这个作者很懒,什么都没留下…
展开
-
Others
1.移除控件 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout...原创 2013-04-17 07:58:59 · 74 阅读 · 0 评论 -
简单语句
1.隐藏控件 .setVisibility(View.INVISIBLE); //View类方法 一般控件的父类都是View? 2.手动设定控件大小和位置 /* * 宽高确定了,给出距离上和左的距离,下和右直接写0,视频会根据实际情况自动缩放 *rect的设定:设定width, height优先级高、下面的设定top, left优先级高:左,下,右,上 */ Relati...原创 2013-04-17 08:30:24 · 131 阅读 · 0 评论 -
xml文件
1.开头 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layou...原创 2013-04-17 08:38:26 · 72 阅读 · 0 评论 -
文件读写
0.读写权限xml文件里 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 1.获得sd卡路径...原创 2013-04-19 21:28:48 · 88 阅读 · 0 评论 -
eclipse cocos2dx
参考网址 http://blog.csdn.net/stupidcodegenerator/article/details/8590821 http://www.himigame.com/android-game/725.html http://blog.sina.com.cn/s/blog_663b47050100hh94.html http://andilyliao.iteye....原创 2013-04-19 21:41:36 · 93 阅读 · 0 评论 -
小知识
1.android模拟器管理 mac下 http://www.qings.com/web/index.php/blogs/study/809-android cd /Users/admin/Documents/android/android-sdk-macosx/tools ./android原创 2013-04-19 22:34:34 · 80 阅读 · 0 评论 -
cpp通过Message掉java
1.文件引入 #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) #include <jni.h> #include "platform/android/jni/JniHelper.h" #include <android/log.h> #endif 2.按钮部分代码 void HelloW...原创 2013-04-28 08:37:19 · 107 阅读 · 0 评论 -
真机调试
1.小米2调试 *#*#717717#*#*原创 2013-05-14 10:51:02 · 95 阅读 · 0 评论