随笔分类 -  Android

摘要:最近开始学习Android,主要看的是《Android应用开发揭秘》,在第3章的Example_03_02是一个读取通讯录联系人姓名和电话的实例,但由于API 2.0中,每个联系人可以有多个电话(例如手机、住宅、公司、传真等),书中原有的实例在API 2.0的环境中会报错。书中的Example_03_02代码:View Code package com.yarin.android.Examples_03_02;import android.app.Activity;import android.content.ContentResolver;import android.database.Cu 阅读全文
posted @ 2012-06-14 10:41 niky 阅读(1014) 评论(0) 推荐(0)
摘要:main.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <T 阅读全文
posted @ 2012-06-13 14:21 niky 阅读(257) 评论(0) 推荐(0)
摘要:android,java,ubuntu 阅读全文
posted @ 2011-11-13 16:29 niky 阅读(3333) 评论(1) 推荐(0)
摘要:android 源码 阅读全文
posted @ 2011-11-11 20:48 niky 阅读(2315) 评论(0) 推荐(1)
摘要:ubuntu,java 阅读全文
posted @ 2011-11-11 17:06 niky 阅读(6514) 评论(3) 推荐(0)