- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 Reading and writing text files
When reading and writing text files :it is almost always a good idea to use buffering (default size is 8K)it is often possible to use references to abstract base classes, insteadof references
2008-10-04 09:44:00 800
原创 Touch Screen
今天试了一天,在BookDetail实现public boolean onMotionEvent(MotionEvent event)一直都没有效果!晚上才发现,原来要实现触摸方式。必须在自己的view里面实现贴上一个例子做为参考:/** Copyright (C) 2007 Google Inc.** Licensed under the Apache License,
2008-10-04 09:05:00 762
原创 menu.add.icon
menu.add(0, 0, "Channels Map"); // todo: these should pull from a resource menu.add(0, 1, "Open Windows"); menu.get(0).setIcon(R.drawable.map); menu.get(1).setIcon(R.d
2008-10-04 09:00:00 606
原创 save image in Database
handled this by saving the image to the ContentProvider android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI and then saving the created URI to the database along with my item. An example o
2008-10-04 08:56:00 1327
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人