- 博客(12)
- 资源 (7)
- 收藏
- 关注
转载 ProGuard
ProGuardThe ProGuard tool shrinks, optimizes, and obfuscates your code by removing unused code and renaming classes, fields, and methods w
2011-08-27 19:24:47 841
原创 加快Android编译速度
## Include all of the makefiles in the system## Can't use first-makefiles-under here because# --mindepth=2 makes the prunes not work
2011-08-27 18:53:01 1144
转载 Android make脚本简记
http://quanminchaoren.iteye.com/blog/840918内容提要文档简要整理Android的make脚本的内容。以供备忘和参考。 1. Build LayersBuild Layers描述的是产品的硬件配置情况,据此m
2011-08-27 18:06:50 444
原创 Android & proguard
在Android GB中, 当编译user模式时,所有apk会使用proguard进行优化处理,这时在运行状态会出现很多问题,针对于此, Android提供了编译选项解决些问题。方法1:在Android.mk中加入LOCAL_PROGUARD_ENABLED := dis
2011-08-27 18:00:56 371
原创 显示对话框,同时半透明显示背景Activity
,显示对话框时,半透明显示背景Activity,AndroidManifest.xml 中需要设置Activity的属性信息如下:
2011-08-27 17:42:24 548
原创 MediaScanner Java, JNI, mediaservice 调用关系
/** * Internal service helper that no-one should use directly. * * The way the scan currently works is: * - The Java MediaScannerSer
2011-08-25 10:26:31 540
原创 Java培训笔记
1. instal CVSmyEclipse 8.6 netstat -an | grep port_numlsof -i :prot_numcat /etc/service, 所有端口号及用途. ArrayList 泛型设计
2011-08-19 08:42:25 327
原创 android.widget.PopupWindow,生成Dialog
public static void showPopupWindow(Context context, View parent) { LayoutInflater inflater = (LayoutInflater) context .getSystemServ
2011-08-12 17:25:10 820
原创 AlertDialog 处理方法二
使用Java反射机制替换AlertConter中的mHandler, 实现自处理"Done" & "Cancel"按钮.Android中的弹出框在被点击时, 无论点击哪个按钮都会关闭窗口。 但是有的情况下我们不需要立即关闭窗口。下面的情况是弹出框中要求用户输入文件名, 并在点
2011-08-11 21:21:17 383
原创 Alert Dialog "Done"按钮定义.
在默认情况下,当用户按下AlertDialog 的"Done"按键时,Dialog会自动消失.但有些情况下我们需要它仍然存在不消失, 那如何处理呢?请对照如下代码:package com.example.test;import android.app.Activi
2011-08-11 15:29:02 580
转载 Fragment demo
left fragment:package com.easymorse.demos;import android.os.Bundle;import android.support.v4.app.Fragment;import android.view.Layo
2011-08-11 08:20:56 2108 2
[Wiley.Linux.Bible.2010.Edition].Christopher.Negus.文字版
2011-12-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人