`
tansitongba
  • 浏览: 484329 次
文章分类
社区版块
存档分类
最新评论

杂项15

 
阅读更多
Animation event .
when animation ,System still use old size to deal with event .
setDisableDuringAni
ani.setAnimationListener(new AnimationListener()


SoundEffectConstants playSoundEffect(int)


Layout set view root id .
id is from name ,not like other resource




http://www.bangchui.org/read.php?tid=7802


"adb shell dumpsys activity"
dumpsys Activity
Can't find service: Activity
should use dumpsys activity .
1 we can konw all service infomation .
2 these infomation in store in systemserver


The table below lists several of the adb shell commands available. For a complete list of commands and programs, start an emulator instance and use the adb -help command.


adb shell ls /system/bin


adb emu <command> - run emulator console command
Android console command help: moto DEV


如果你指的是dalvik的话,源码在这里:
http://android.git.kernel.org/?p=platform/dalvik.git;a=summary
实际上android的开源部分是相当完整的,你完全可以编译出自己的可用系统出来。所缺少的部分是Google相关应用(闭源)和设备驱动。




幻灯片 母版的修改。母版是独立的。
蜂蜜没有什么营养。


智能电视, 娱乐的临界点。


理解ARM11处理器节能模式.android 节能
http://wenku.baidu.com/view/df0df25c3b3567ec102d8a42.html


import static com.javgame.wansha.common.IConstants.*;


Log.i("guofeng", "getView------>>>do position:"+position);

bug 管理系统。 mantis


PHP 引擎


QQ 网络 延迟可以接受


SurfaceView 可以 在另外线程 绘制 。为了防止 UI 和 其他线程同样处理。
我们需要lockCanvas 和 unlock 。
我们通过 getSurfaceHolder ,lockCanvas 得到画布。
call back 可以监听到 view 的变化 ,比如大小啊,关闭整个activity 啊。


WeakHashMap
比想象的要复杂,用错了?


TV_content
resource 定义规范


backgroundDimEnabled Control whether dimming behind the window is enabled.


android view 才是最底层东西,windows 只是便于控制窗体,定义的工具类。
WindowsManager.layoutPara 才是最基本的。
windows 属性 ,(可以在theme 中改变 )都是定义在上面的。


remove window ,dismiss 。


SparseArray<ManagedDialog>();
showDialog(int id, Bundle args)
invoke dialog show method ,need not creat a new dialog 。
DDZ use dismiss ,and will create much dialog instance 。
mDecor = mWindow.getDecorView();
mWindowManager.addView(mDecor, l);
normally show or dismiss only add view to manager 。
WindowManager.LayoutParams the root layout and
mDecor.setVisibility(View.VISIBLE);
mContext = new ContextThemeWrapper(
context, theme == 0 ? com.android.internal.R.style.Theme_Dialog : theme);
Window w = PolicyManager.makeNewWindow(mContext);


mDecor = mWindow.getDecorView();


界面需要Context ,而不是activity 。


block thread and block UI 。
android dialog 不会 block thread 。不过通常可以block ui 。(后面UI 得不到focus 和 tochevent )


StrictMode


EditText is too simple ,much is extend Text view 。


imm.showSoftInput(


normally , back menu will cancel dialog .
we can use cancel listener and onStop listen cancel event . we should not override dismiss.
dismiss does not show dialog ,but it is referered and can reuse .
remove will remove reference and will lost and gc .
we can use onStart and onstop when dismiss dialog .




service.enqueueToast(pkg, tn, mDuration);
Toast must makeText , must reuse toast .cancel before set .
only cancel then re create toast is invalid why design like it .


progress dialog when show after dismiss ,animation is stop . animation need restart 。
transparent background need bottom activity .can not recycle bitmap in bottom activity .
AsyncTask cancel .




SoftReference based HashMap
http://www.javaspecialists.eu/archive/Issue015.html




adapter
共用的 refersh ,listmore 。
非共用的search ,sub content ,
cancel 机制 。
每个request 独立 ,只有返回后才 处理 结果。
复合request 处理。
cancel 处理。


我的好友 更多
刷新 只是添加


mpage


没有地方改动,怎么会加到5,刷新问题,还是增加了。




3G access point
WAP 方式


不要预先处理。
多个request 同时处理。
直接重新构建 简单。
性能瓶颈。
util 方法 重用小sniper code 。
先定义好,哪些可以重用。




map 还是 object 。 object 结构清晰 。但是不便于动态改变。用 object 再进行 反射处理? structs 2 。 约定,直接映射 。










android
http://www.cnblogs.com/xirihanlin/archive/2010/06/14/1758145.html




animation tree package
andorid.view.annipation
android.animation add from 11 .it is use animation property .
and AnimationDrawable


start stop (cancel ) reset . No pause .




两个区别
Animation 功能比较全 ,
可以 setRepeatCount(int repeatCount)
可以加监听器,
可以 设置 AccelerateInterpolator 。
可以 getStartTime.
程序好控制。


两者都没有pause 。只好stop 再重新构建一Animation start 。
AnimationDrawable extend DrawableContainer
bitmap 重用 ,bitmapDrawable 重用


跟踪问题列表 excel 格式 。各人责任 ,整理


android article




http://code.google.com/p/android-color-picker/



分享到:
评论

相关推荐

    MOAC+商业计划白皮书1

    详见第五章“风险因素”。和“MOACÇ 商业计划白皮书”(以下统称“MoacChain 白皮书”)。目录概述3众筹7交付10终止11风险因素12杂项15概述1.

    杂项:杂项简短程序和脚本

    各种各样的杂项简短程序和脚本mkpass 设置随机密码,您可以在其中指定长度(默认为15)以及可以使用的ASCII字符(默认为所有可打印的ASCII)选项: &lt;number&gt;-生成的密码中的字符数±punc-奇数或删除允许的字符中的...

    C++四书五经 - 07. 杂项-02

    15 Standard C++ IOStreams and Locales: Advanced Programmer's Guide and Reference 16 Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library 17 Generic Programming and the ...

    15-17_物理_特效_杂项

    《Direct3D HLSL高级实例精讲》光盘源码。由于整个源码大小超过了CSDN的上传限制,因此将其分章节上传。源码及相关资源版权归原作者所有,仅作学习交流,严禁用于商业目的!

    C++四书五经 - 07. 杂项-01

    15 Standard C++ IOStreams and Locales: Advanced Programmer's Guide and Reference 16 Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library 17 Generic Programming and the ...

    简单的linux杂项设备驱动的写法.docx

    简单的linux杂项设备驱动的写法.docx

    VC知识库 42-51 +杂项

    VC知识库 学习VC的重型武器 今天你看了吗?

    一个与RFC7807兼容的PSR15中间件

    一个与RFC 7807兼容的PSR-15中间件

    Node.js-刚好15公斤的数据Fifteenkilos

    刚好15公斤的数据(Fifteen kilos)

    NET常用快捷键.txt

    “可视化数据库工具”快捷键 11、“文本导航”快捷键 12、“文本选择”快捷键 13、“文本操作”快捷键 14、“集成帮助”快捷键 15、“对象浏览器”快捷键 17、 “宏”快捷键 18、“工具窗口”快捷键 19、“项目”...

    在15分钟内建立分散的网络聊天

    在这个15分钟的教程中,我们将构建一个简单的分散式聊天应用程序,它完全在Web浏览器中运行。

    orCAD使用教程9.2

    20' MISC.OLB共1567个零件,存放杂项图件,如电表(METER MA),微处理器周边(Z80-DMA)等未分类的零件。 21' MISC2.OLB共772个零件,存放杂项图件,如TP3071,ZSD100等未分类零件。 22' MISCLINEAR.OLB共365个...

    桌面数据库-v2017.03.001

    《桌面数据库》,高效的“数据管理、表格制作、富文本编辑”操作平台,功能强劲,适用范围广,各行业均可使用。免费。须以管理员身份进行安装。 推出“桌面数据库系统工具箱”,... 09 杂项计算与单位换算 18 媒体播放

    OutLook 更换ost路径小工具

    3.按WIN键+R,输入“gpedit.msc”启动组策略,用户配置-管理模板-Micorsoft OutLook 2013 -杂项-PST设置-OST文件默认位置,修改路径后,设定启动。 4.删掉原来的outlook账户(注意备份数据),新建账户,数据文件已经...

    raspberrypi2b:Raspberry Pi 2 Model B 的软件组件

    杂项Rpi2资源 该存储库包含 2 个 Yocto 层,其中包含为 Raspberry Pi 2 B 构建 Linux 映像的配方,用于在 Linux 上开发、测试和执行 6LoWPAN / IEEE 802.15.4 实现的最新功能。 meta-raspberrypi:从 yoctoproject....

    matlab求累加代码-2017-JupyterNotebooksForGeophysics:理学硕士地球物理学研讨会,专为开发用于地球物理学

    杂项 10月18日,10:15 C107 的GitHub 梅吉斯(T. Megies) 简介,应用 11月15日,10:15 C107 进度报告 全部 12月20日,10:15 C107 概率倒置 格塞勒 进度讨论 1月10日10:15 C107 苏门答腊岛第1部分 富美 进度讨论 ...

    21天学通c++ 中文 第五版

    第15章 特殊类和函数 第16章 高级继承 第17章 处理流 第18章 创建和使用名称空间 第19章 模板 第20章 处理错误和异常 第21章 杂项内容 第3周复习 附录A 二进制和十六进制 附录B C++关键字 附录C 运算符...

    汇编中断大全.CHM

    4、杂项系统服务(Miscellaneous System Service——INT 15H) 46 5、键盘服务(Keyboard Service——INT 16H) 50 6、并行口服务(Parallel Port Service——INT 17H) 52 7、时钟服务(Clock Service——INT 1AH) 53 ...

    ThinkPHP5.0正式版第二季:实战开发企业站.txt

    15.管理员杂项.mp4 16.无限级分类:数据表及界面.mp4 17.无限级分类:栏目添加功能.mp4 18.无限级分类:无限级显示.mp4 19.无限级分类:无限极删除.mp4 20.无限级分类:栏目的修改.mp4 21.无限级分类:栏目...

Global site tag (gtag.js) - Google Analytics