小女孩的本本
http://iapp.com.tw/ex/topic_inside.php?id=1131
Calendar View
http://caughtinthemobileweb.wordpress.com/2011/06/20/how-to-implement-calendarview-in-android/
https://play.google.com/store/apps/details?id=com.voozoo.canimals
女性經期記錄
http://www.wretch.cc/blog/opps0829/6169094
2012年10月21日 星期日
2012年10月20日 星期六
2012年10月19日 星期五
2012年7月21日 星期六
[技術] google android conatcts怎麼將漢字轉拼音
具体的代码在
packages\providers\ contactsprovider\src\com\ android\providers\contacts\ ContactL
ocaleUtils. java中的ChineseContactUtils. getSortKey()方法中。
参考一下通讯录的数据库文件中的sort_key字段, 一目了然。
具体的做法就是调用com.android.internal. util.HanziToPinyin工具,将名字转换为拼
音,然后根据各种组合和首字母组合生成sort_key。
比如“水木”,生成的可能有"S M" "SHUI M" " SHUI MU" "M S" "MU S"等等。
其实转换为拼音除了Android提供的
frameworks\base\core\java\com\ android\internal\util\ HanziToPinyin.java以外,
Android中还提供了一个IBM提供的国际语言处理的库IC U。这个库更加强大。
packages\providers\
ocaleUtils.
参考一下通讯录的数据库文件中的sort_key字段,
具体的做法就是调用com.android.internal.
音,然后根据各种组合和首字母组合生成sort_key。
比如“水木”,生成的可能有"S M" "SHUI M" "
其实转换为拼音除了Android提供的
frameworks\base\core\java\com\
Android中还提供了一个IBM提供的国际语言处理的库IC
2012年6月30日 星期六
[技術] Javascript dice 骰子
http://www.trollmystic.com/samples/dice/part1.php
http://www.adnddownloads.com/dicerollers.php
C:\Users\zeng-ming\Desktop\jsdice.html
http://www.adnddownloads.com/dicerollers.php
C:\Users\zeng-ming\Desktop\jsdice.html
2012年6月25日 星期一
2012年6月15日 星期五
[技術] Android listview select all的checkbox擺放位置與做法
http://stackoverflow.com/questions/4876083/correct-way-to-check-all-checkboxes-in-listview
將Header View放入
http://stackoverflow.com/questions/7514844/adding-header-in-listview-in-android
範例
http://jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/
SectionView官方範例(似乎不是想要的)
http://code.google.com/p/android-section-list/
http://android.cyrilmottier.com/?p=440
Header範例
http://marshal.easymorse.com/archives/3024
Header/OnItemClick position差異
http://blog.chengbo.net/2012/03/09/onitemclick-return-wrong-position-when-listview-has-headerview.html
將Header View放入
http://stackoverflow.com/questions/7514844/adding-header-in-listview-in-android
範例
http://jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/
SectionView官方範例(似乎不是想要的)
http://code.google.com/p/android-section-list/
http://android.cyrilmottier.com/?p=440
Header範例
http://marshal.easymorse.com/archives/3024
Header/OnItemClick position差異
http://blog.chengbo.net/2012/03/09/onitemclick-return-wrong-position-when-listview-has-headerview.html
2012年5月27日 星期日
2012年5月21日 星期一
2012年5月20日 星期日
訂閱:
文章 (Atom)