杂项13





判断ListView 到底
AbsListView.getLastVisiblePosition() = (AbsListView.getCount() - 1) 


IS-8859-1 是无损耗,UTF-8 不是


为什么 在adapter 之前设置footerView


Word 行距


android DRM,英文全称Digital Rights Management


启动另外一个activity 的时候,同一个 进程顺序
1Activity onPause  
2Activity onCreate  
2Activity onStart 
2Activity onResume 
1Activity onStop 


不同进程  ,
等待1000 ms 
1Activity onPause  
1Activity onStop  
2Activity onCreate 
2Activityl onStart 
2Activity onResume


都是单线程 
StartActivity 调用很快,但是并没用真正oncreate 。应该是发送消息给 systemserver ,然后system 


server 再回调 onpause 。和新 activity oncreate
黑屏 ,影响的应该是onresume 和 onstop 


Zygote


调用android平台功能-拨号,地图,网页,短信,Email,播放多媒体
http://blog.csdn.net/guoquanyou/article/details/4813629


http://wiseonline.com.cn/main/fwlb.htm?type=249
国内云服务


协作 ,open office 


Word 快捷键帮助










专利池 ,PNG 区别
http://www.maxgo.org/2009/02/jpg-png-gif-bmp-image-format-difference/


人工智能




图片问题。如何优化?


http://stackoverflow.com/questions/5867467/android-native-heap-inspection-ddms
http://stackoverflow.com/questions/1945142/bitmaps-in-android
down vote From deployments in the wild, I've found the following devices:
Devices that limit to 16 MiB of java heap (bitmaps are nearly unlimited).
Devices that limit to 16 MiB of (java heap + native bitmap storage)
Devices that limit to 24 MiB of java heap (bitmaps are nearly unlimited).
Devices that limit to 24 MiB of (java heap + native bitmap storage)
24 MiB tends to be the high res devices, and can be detected with Runtime.getRuntime


().maxMemory().
The size of the java heap is Runtime.getRuntime().totalMemory().
There is no easy way to measure the size of the native bitmap storage. The overall native heap 


can be measure with Debug.getNativeHeapAllocatedSize(), but only the bitmaps count toward the 


limit.


Github
未来技术方向 
Html5.0
Android 客户端


Jenkins  GitHub 




http://7sunet.iteye.com/blog/285007


20Q game 
消磨时间


http://www.codeproject.com/KB/recipes/xor-encog-neuroph-joone.aspx
http://neuroph.sourceforge.net/links.html
http://hi.baidu.com/heekingfox/blog/item/2d8c312b976241315243c141.html
http://zh.wikipedia.org/wiki/A*


极端编程属于轻量级的方法,认为文档、架构不如直接编程来的直接。
http://baike.baidu.com/view/42272.htm#3


 
Android开发 获取手机总内存和可用内存


http://blog.csdn.net/sxwyf248/article/details/5981251
/proc/meminfo 
Linux 直接放信息在文件上,Cpu 信息
Main_bg  jpg 大小 199 854*480*4 = 1639680 为什么实际bitmapfactory 加载50 张图片,却占native 内


存不大。


打印 两次 ,原因DDMS bug 


Poker jack ace Show hand




1.利用traceview和monkey等工具测试应用。2.利用layoutopt和ninepatch等工具优化视图。3. 像Android原


生应用学习,遵循最佳实践。4. 掌握一门服务器端语言/框架。5.要培养对UX的感觉。6. 做好应用分析。7. 


善用第三方工具。
2.PayPal是eBay旗下的一家公司,致力于让个人或企业通过电子邮件,安全、简单、便捷地实现在线付款和


收款。目前,在跨国交易中超过90%的卖家和超过85%的买家认可并正在使用PayPal电子支付业务。




http://blog.csdn.net/theorytree/article/details/6323189


http://www.cnblogs.com/renjie/archive/2011/05/22/2053183.html
如何理解、使用Android LogCat以及通过Monkey进行压力测试
F:\android-sdk-windows\platform-tools\adb -s emulator-5554 shell monkey  -p 


com.javgame.goldisland -v 500 
:Monkey: seed=0 count=500
第一 测试的都是 touch event 。
第二 无法 提供测试序列,只是随机测试。


真正有用的 monkeyrunner 
http://article.yeeyan.org/view/37503/164523
monkeyrunner工具提供了一个API,使用此API写出的程序可以在Android代码之外控制Android设备和模拟器


。通过monkeyrunner,您可以写出一个Python程序去安装一个Android应用程序或测试包,运行它,向它发送


模拟击键,截取它的用户界面图片,并将截图存储于工作站上。monkeyrunner工具的主要设计目的是用于测


试功能/框架水平上的应用程序和设备,或用于运行单元测试套件,但您当然也可以将其用于其它目的。
monkeyrunner工具与用户界面/应用程序测试工具,也称为monkey工具并无关联。monkey工具直接运行在设备


或模拟器的adbshell中,生成用户或系统的伪随机事件流。而monkeyrunner工具则是在工作站上通过API定义


的特定命令和事件控制设备或模拟器。
monkey runner 是黑盒测试 ,和 unit test 白盒测试。
 monkeyrunner可以为一个应用自动贯彻一次功能测试。您提供按键或触摸事件的输入数值,然后观察输出结


果的截屏。  
如何比较截屏


Android操作系统安全研究系列——键盘记录
http://bbs.pediy.com/archive/index.php?t-136517.html
查看/dev/input/eventX是什么类型的事件, cat /proc/bus/input/devices
设备有着自己特殊的按键键码,我需要将一些标准的按键,比如0-9,X-Z等模拟成标准按键,比如


KEY_0,KEY-Z等,所以需要用到按键模拟,具体方法就是操作/dev/input/event1文件,向它写入个


input_event结构体就可以模拟按键的输入了。
linux/input.h中有定义,这个文件还定义了标准按键的编码等


shell 的命令 ,只要bin 下面有


和android 系统架构




短期记忆,类库王子
学习 linux 系统。 原理


发现图片泄露 ,每个图片加个tag ,然后打印出所有的图片。









GC 0.3 秒一次, 一次 几百k ,几百个对象,100 ms 。


visio 使用 ,网格 ,自动连线 。


用 layout design ,方便 ,不容易出错。
不支持定制控件。
可以 草稿 布局的时候 用 


拼音 分隔符 和 注拼音。




 android:background="@null"
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值