摘要: oming from a Windows and .NET background, I had some trouble understanding how to interact with the ListView control and context menu creation in Android. Context menus are supposed to be shown on your mobile device when you touch/click the screen and hold on for a longer time. So here is how to det 阅读全文
posted @ 2011-06-23 04:21 S.Kei.Cheung 阅读(523) 评论(0) 推荐(1) 编辑
摘要: 1SimpleDateFormat担当重任,怎样格式化都行 1 import java.util.Date; 2 import java.text.SimpleDateFormat; 3 public class Demo 4 { 5 public static void main(String[] args) 6 { 7 Date now=new Date(); 8 SimpleDateFormat f=newSimpleDateFormat("今天是"+"yyyy年MM月dd日 E kk点mm分"); 9 System.out.println(f.f 阅读全文
posted @ 2011-06-23 00:24 S.Kei.Cheung 阅读(358) 评论(0) 推荐(2) 编辑