android开发
iteye_12908
这个作者很懒,什么都没留下…
展开
-
android 开发环境搭建
一、Android环境搭建 1.所需开发环境: JDK 5 或 JDK 6 Eclipse 3.5 (galileo) 2.下载ADT 的Eclipse 插件 http://dl.google.com/android/ADT-0.9.5.zip 3.安装 Eclipse 插件 (ADT) 启动 Eclipse,选择 Help > Install New S...2010-11-16 09:28:36 · 71 阅读 · 0 评论 -
android几种适配器的使用
1. String[]: ArrayAdapter 2. List<Map<String,?>>: SimpleAdapter 3. 数据库Cursor: SimpleCursorAdapter 第一种: public class List1Activity extends Activity{ private ListView listView; private S...2011-03-21 16:15:25 · 369 阅读 · 0 评论 -
android之Notification的使用
1:获取NotificationManager: NotificationManager m_NotificationManager=(NotificationManager)this.getSystemService(NOTIFICATION_SERVICE); 2:定义一个Notification: Notification m_Notification=new Notificat...原创 2011-03-21 16:22:59 · 99 阅读 · 0 评论 -
android5中数据存储方式详解
android主要有5中数据存储方式,如下: 1. 使用SharedPreferences存储数据。 2. 使用文件存储 3. 使用SQLlite存储 4. 使用ContentProvider存储 5. 网络存储 1.使用SharedPreferences存储数据 首先说明SharedPreferences存储方式,它是Android提供的用来存储一些简单配置信息的一种机...2011-03-21 17:37:40 · 123 阅读 · 0 评论