- 博客(14)
- 收藏
- 关注
原创 关于onTouchEvent
https://www.evernote.com/shard/s171/sh/89b44c86-2fe4-4958-a114-5d652bc89c21/d13e7e60c131a860b044ccc2feca6613
2012-11-22 21:35:17
451
转载 Generating passes for iOS6′s Passbook
转载自:http://www.futurechips.org/thoughts-on-latest-happenings/generating-passes-ios6s-passbook.htmlAfter I downloaded iOS6 on my iPhone last week, the first icon I clicked on was Passbook only t
2012-10-24 10:28:17
1667
原创 关于限制TextView的输入问题
三种关于限制输入的方式:一种是KeyListener-----参见DialerKeyListener. 这个是在有Key输入的时候触发。一种是InputFilter-----在SetText之前,进行过滤。还有一种是 TextWatcher------------------这些具体都可以参见TextView.javapriv
2012-10-17 08:05:01
2373
原创 android MediaPlayer 笔记
根据官方用法:MediaPlayer的使用流程如下:1. new MediaPlayer() or reset()2. setCallBack()3. setDataSource()4. Prepare() or PrepareAsync()5. start()6. Stop().先分析,这些每步
2012-02-11 15:52:05
1109
转载 android中的ellipsize
最近为了解决某个bug,textview中内容过长的话自动换行,但是调用measureText函数时发现返回值很不准确,单位也不确定,是pixel还是dip,都不准。后来想起textview中有个内容过长加省略号的属性,即ellipsize,可以较偷懒地解决这个问题,哈哈~用法如下:在xml中android:ellipsize = "end" 省略号在结尾an
2011-10-24 11:01:06
1285
原创 关于android里的Dialog
由做android应用到做android手机也有些时间了。总是觉得自己成长的太慢。后仔细想来,自己没有好好总结。学而不思则罔。今天就来好好总结下android里面的Dialog。相信大家,都对用Dialog十分熟悉。有两种方法,一种是在Activity里调用showDialog(int),然后在Dialog onCreateDialog里创建Dialog返回,交由Activity来管理
2011-10-09 21:59:25
4887
原创 如何反编译apk文件
<br />工具准备<br />1. apktool. 查看apk里的资源文件。<br />2. dex2jar。 将dex文件转化成jar文件<br />3. jd-gui. 查看jar的源码。<br />SO....................
2011-05-05 17:52:00
1070
转载 some thing about JSon
实体类Student/// /// 学生实体类/// [System.Runtime.Serialization.DataContract(Namespace="http://www.mzwu.com/")]public class Student{ private string _Name; private int _Age; public
2009-12-31 10:41:00
862
2
转载 Applied Reflection: Dynamically accessing properties of a class at runtime
You can understand the reflection very well if you read this article below. http://articles.techrepublic.com.com/5100-10878_11-6099345.html
2009-12-28 20:40:00
519
转载 C# Concepts: Value vs Reference Types
http://www.albahari.com/valuevsreftypes.aspx So good!
2009-12-24 14:57:00
509
转载 C# Frequently Asked Questions
Why did I receive the error: "The type ornamespace does not exist in the class ornamespace (are you missing an assemblyreference?)"Published 29 April 04 09:09 AMYou need to add a ref
2009-12-23 14:34:00
572
转载 如何查看计算机端口状态
如何查看计算机端口状态[日期:2009-05-07]来源:互联网 作者:super[字体:大 中 小] 说到端口,这确实是个老话题,但一切都是从它开始的,不得不说。何谓端口,打个比方,你住在一座房子里,想让别人来拜访你,得在房子上开个大门,你养了个可爱的小猫,为了它的进出,专门给它修了个小门,为了到后花园
2009-12-15 15:21:00
1066
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人