摘要: 并不是所有的Android真机中都带有Google Map add-on,要想内置Google Map add-on是需要和google商谈的。在<uses-library>标签中还包含了一个没有公布的属性"android:required",你可以将com.google.android.maps库的这个属性设置为false,即:<!-- The "android:required" attribute was added in API level 5 (Android 2.0) --><uses-library andro 阅读全文
posted @ 2013-01-17 16:42 疯子FK 阅读(478) 评论(0) 推荐(0) 编辑
摘要: package com.qing;import android.content.Context;import android.graphics.Bitmap;import android.graphics.BitmapFactory;import android.graphics.Canvas;import android.graphics.Matrix;import android.graphics.Paint;import android.graphics.Rect;import android.util.AttributeSet;import android.view.MotionEve 阅读全文
posted @ 2013-01-17 16:32 疯子FK 阅读(593) 评论(0) 推荐(0) 编辑
摘要: /** * 屏蔽返回键 */@Overridepublic boolean onKeyDown(int keyCode, KeyEvent event) {switch (keyCode) {case KeyEvent.KEYCODE_HOME:return true;case KeyEvent.KEYCODE_BACK:return true;}return super.onKeyDown(keyCode, event);}/*** 屏蔽Home键*/@Overridepublic void onAttachedToWindow() {getWindow().setType(WindowMa 阅读全文
posted @ 2013-01-17 16:24 疯子FK 阅读(173) 评论(0) 推荐(0) 编辑