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

z31

 
阅读更多
即使屏幕关掉了,用户还发心跳。什么时候 cpu 待机


http://birtc.cnblogs.com/archive/2005/08/19/218446.html
Mantis中的状态


CATEGORY_APP_MUSIC provider 包中的常量,columnname ,intentaction




http://blog.csdn.net/kilper/article/details/5829300
Java 判断是否是中文字符




resources.getString(R.id.nickname 。会false )编译器可以额外报错






how to change and define theme in runtime . 换肤 ,use style property 。


JAVA正则表达式的三种模式的区别-greedy reluctant possessive
http://lovemitter.blog.163.com/blog/static/165798134201171721618160/
JAVA正则表达式
http://www.iteye.com/topic/229000
正则查找替换 效率


why exception can not be catch ,because has catch before 。
异常 应该底层 catch 后,直接报个 RuntimeException 。
然后到最顶层处理。


IT 记录 ,报表 ,分析 mantis 。




开机动画(闪动的ANDROID字样的动画图片)


Android 之 TextView常用特效 文字阴影
http://my.oschina.net/u/126188/blog/29387


http://www.eoeandroid.com/thread-10114-1-1.html
对动画的fillAfter和fillBefore的理解的疑惑


为什么startoffset 不起作用再退掉


http://dev.10086.cn/cmdn/wiki/index.php?edition-view-8412-1.html
:Android-让帧动画在结束时消失
最后的 @android:id/empty 将ImageView的BackGroundResource 的id 设置为空就ok了。
@null inflate 将会处理 @android:id/empty


各大厂商采用的android经典UI截图及评价
Android开发的UI设计最佳实践


德鲁克 值得学习
http://baike.baidu.com/view/10637.htm


WPS 免费 。可以使用


12-31 08:45:48.848: I/ActivityManager(59): Kill com.android.gallery (pid 420): provider com.android.providers.media.MediaProvider in dying process android.process.media
12-31 08:45:48.848: I/Process(59): Sending signal. PID: 420 SIG: 9
12-31 08:45:48.868: I/ActivityManager(59): Process com.android.gallery (pid 420) has died.




statckoverflow 问答


我并不是在源码里面改的,我是在eclipse新建的Android项目,一些系统隐藏的API都是通过Java反射机制调用的。但是


http://stackoverflow.com/questions/4969689/android-animation-xml-issues
http://stackoverflow.com/questions/3399667/creating-a-custom-dialog-in-android。


parent has full screen and ,it has space 。
http://stackoverflow.com/questions/3291490/common-class-for-asynctask-in-android


API-centric架构将不同于portal-centric架构或是SOA-centric架构


搜素 到网站搜索






ac(de) celerate 加速 accelerate
desc asc
scale pivot


in pixels relative to the normal position (such as "5"), in


isPress 可以模拟 PC ctrl 按下的 case 。多点触控 是优势。


view animation
As an alternative to startAnimation(), you can define a starting time for the animation with Animation.setStartTime(), then assign the animation to the View with View.setAnimation().






animation
start
scale pivot 。
fillafter ,应该是enumeration ,而不是boolean
position support relative 。
startoff
set
view
xml
property


eclipse hex editor


viewAnimator.setInAnimation(null); why can not find


http://tech.163.com/11/0701/10/77SD9HBV000915BF.html
精益创业:创新的科学方法


http://www.programmer.com.cn/9563/
产品专家Marty Cagan:不做只会编码的人




oncreate ,UIthread ,draw 。 invalidate ,meature 。


setFilterTouchesWhenObscured


stecontent view ,attach window 。




For a touch capable device, once the user touches the screen, the device will enter touch mode.




super.findViewTraversal(id); 找不到, android 源码只是部分code 吗?


addView(View child)
This method is not supported and throws an UnsupportedOperationException when called.


selection
clickListener 。
empty view 。
item and item id


getPositionForView(View view)
Get the position within the adapter's data set for the view, where view is a an adapter item or a descendant of an adapter item.


choisemod
setSelector
setcheckeditem
setSelectorOntop
getListPaddingTop ()
setFilter


public boolean requestChildRectangleOnScreen (View child, Rect rect, boolean immediate)
public void setSelectionFromTop (int position, int y)


android:stackFromBottom
用于 ListView 和 GridView,指示他们的内容栈从底部开始
android:textFilterEnabled
设为真时,列表会过滤根据用户的要求,过滤结果集。列表的适配器必须实现了 Filterable 接口,才能使其可用
android:transcriptMode
设置列表的跳转模式。在跳转模式下,当加入新条目时,列表会滚动到底部, 使新条目可见


@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
setMeasuredDimension(measureWidth(widthMeasureSpec),
measureHeight(heightMeasureSpec));
}


http://baike.baidu.com/view/551149.htm
A2DP全名是Advanced Audio Distribution Profile 蓝牙音频传输模型协定


消息设计。


在计算机系统中,数值一律用补码来表示(存储)。 主要原因:使用补码,可以将符号位和其它位统一处理;同时,减法也可按加法来处理。
另外,两个用补 码表示的数相加时,如果最高位(符号位)有进位,则进位被舍弃。 2、补码与原码的转换过程几乎是相同的
负数的补码是对其原码逐位取反,但符号位除外;然后整个数加1。


jdk5 新语法 高效


public void setClipChildren (boolean clipChildren)
Since: API Level 1
By default, children are clipped to their bounds before drawing. This allows view groups to override this behavior for animations, etc.




01-09 08:45:48.421: E/InputDispatcher(1143): channel '40940b58 com.javgame.goldisland/com.javgame.goldisland.LogoActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8


参数尽量传多 ,但是有单类的可以不传。可以在对象里面加个ProcessOption 参数。
先不用考虑安全,client 和服务器端一样的logic 。


single line


log filter




http://www.taskcity.com/p/117177-%E6%89%8B%E6%9C%BA%E8%BD%AF%E4%BB%B6%E7%95%8C%E9%9D%A2UI%E5%88%B6%E4%BD%9C
手机软件界面UI制作 发包


change all textview background ,if use theme , all widget use same att ,backgoud ,it is hard.
but we can use extend View Class
resource ,drawable.
attribute , style ,styleable . new view .
buttonRight .
color ,secondeColor .




library object


架构师。
软件架构师是软件行业中一种新兴职业,工作职责是在一个软件项目开发过程中,将客户的需求转换为规范的开发计划及文本,并制定这个项目的总体架构,指导整个开发团队完成这个计划。架构师的主要任务不是从事具体的软件程序的编写,而是从事更高层次的开发构架工作
http://www.hudong.com/wiki/%E6%9E%B6%E6%9E%84%E5%B8%88


游戏 虚拟和真实的矛盾





CES news 。趋势


ADT function package apk , emulater ,debug ,and debug tools 。


Component method invoke 。
service ,process ,aidl


Space View ,stack
AdapterViewAnimator


listener 都on


图灵


rom,机器不让。但是会被竞争。所以,以后会分工,出单独出机器的,单独出Rom 的。然后装OS 。




Animator
Animation is used View 。
Animation package provide Animator for Value animation .but it normally need AnimatorListenerAdapter to change view ,and other .


Configuration currtent


android.support.v4.app 可以在 低版本中使用


http://mobile.csdn.net/a/20111228/309756.html
游戏开发者需遵守的10大交互式设计规则


ViewPager
Fragment Transactions
addToBackStack 可以处理
1 。不是view ,但是包含一个view ,类似view 处理。
2 。 fragment 支持 事务处理。回退操作。




Loader
takeContentChanged()
listenner
onContentChange
start startforceload 中间有可能缓存
所有方法都有 on* 便于重载
startloading ,if has result ,deliverResult , if not 调用force loading 。
调用 async task ,调用 pending task。
调用 dobackgournd ,在 force load 中调用 deliverResult。
stop 调用 onstop 调用 cancle 。
cancel ,调用 oncancle ,close custor 。
deliverResult 调用 completelistener 。
loader no handle 。define many on method to override 。
setUpdateThrottle can excute in timeer ,避免更新太快。
stop and cancel loding 。
startload ,if content not change ,will not loader
but forceload will load 。
应该 sync 里面做的再多。
应该基于loader 搞个 httprequest 框架。

http://marshal.easymorse.com/archives/4116
android 1.6下使用Loader示例

dumpLog
getFragment(Bundle bundle, String key)

处理,重现设计。
fragment
http://www.devdiv.com/Android-%E5%93%AA%E4%BD%8D%E8%AF%B4%E8%AF%B4Linkify%E5%92%8Cspan_-thread-35732-1-1.html
通俗点说span就是文字的一段区域,它拥有样式style,是bold/italic/link/email etc
spannable一般就是text,表示文本可以分段,分区域,通过对spannable的不同区域应用span对象,可以使不同区域的文字显示不同风格、样式。


LayoutUtils
seekbar 问题 使用了 layerDrawable 和 ClipDrawable
ClipDrawable, insetDrawable, levelDrawable







http://www.cnblogs.com/over140/archive/2011/04/22/2024528.html
http://stackoverflow.com/questions/2680827/conversion-to-dalvik-format-failed-with-error-1-on-external-jar
http://stackoverflow.com/questions/4911129/android-proguard-skip-external-jar
1 adt 升级 ,property 文件改变 ,需要更改 新文件 。
2 有时候还报 没有apk 。
3 只有export 才会 打包。
4 proguard 有问题 需要改 配置文件
5 dom4j 包有问题 。




http://www.douban.com/group/topic/14226919/
三原色和可见光谱

博文的查找

paint

shadow shader

getBaseline()

矩阵 matrix 应用

drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint)
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics