
Android--Tutorial
文章平均质量分 58
hqx2008
Dont Give Up,Man!
展开
-
Iconified TextList - The making of
Iconified TextList - The making ofWhat you will learn: You will learn how to create your own ListAdapter: IconifiedListAdapter Problems/Questions: Write it right below... Difficulty: 1.5 of 5 What i原创 2008-05-20 23:10:00 · 649 阅读 · 0 评论 -
横屏,竖屏
使用模拟器皮肤你可以让模拟器使用下表介绍的4种皮肤之一。要想指定皮肤,在启动模拟器是使用-skin 选项。例如:emulator -skin HVGA-L注意: 必须用大写(如果你的开发设备大小敏感)。原创 2009-11-19 15:45:00 · 469 阅读 · 0 评论 -
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 · 782 阅读 · 0 评论 -
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 · 619 阅读 · 0 评论 -
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 · 1345 阅读 · 0 评论 -
Gtalk登陆
import com.google.android.gtalkservice.IGTalkService;import com.google.android.gtalkservice.IGTalkSession;import com.google.android.gtalkservice.Presence;import android.view.View;impor原创 2008-06-13 12:58:00 · 1512 阅读 · 0 评论 -
Android:Gtalk(显示好友列表)
Android:Gtalk(显示好友列表)截图: 1.jpg (32.45 KB) 登陆界面2008-6-14 18:07 2.jpg (26.96 KB) 好友列表2008-6-14 18:07 此处注意: 在操作这个之前,要在原创 2008-06-14 20:22:00 · 2191 阅读 · 0 评论 -
Gtalk基本功能完成
Gtalk基本功能完成上传源代码,供大家参考! ContactsActivity(Gtalk好友列表)import com.google.android.gtalkservice.IGTalkService;import com.google.android.gtalkservice.IGTalkSession;import com.google.android.gta原创 2008-06-17 23:02:00 · 2589 阅读 · 4 评论 -
SQLite 的应用实例
SQLite 的应用实例直接看源代码吧。package com.gggeye;import java.io.FileNotFoundException;import java.util.ArrayList;import android.app.ListActivity;import android.database.Cursor;import android.database.sqlite.S转载 2008-06-06 23:36:00 · 999 阅读 · 0 评论 -
Android XMPP Service (Google Talk) + Google Map == Follow Me
Android XMPP Service (Google Talk) + Google Map == Follow Me 分類:Mobile2007/11/27 10:22我在 Android SDK 上寫了一個簡單的程式 (姑且把她叫 Follow Me),來測試 Android 的 XMPP Services (Google Talk) & Google Map 整合转载 2008-06-07 07:59:00 · 4465 阅读 · 0 评论 -
Android学习:媒体播放功能
Android学习:媒体播放功能代码:import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.原创 2008-05-29 12:21:00 · 998 阅读 · 0 评论 -
在android平台进行xmpp实验及分析
在android平台进行xmpp实验及分析前言 本文将用实验步骤的方式,讲述如何在一台PC上,在2个android模拟器之间,以及android模拟器和Gtalk PC客户端之间进行XMPP通讯。 本文所用的代码样例,来源于一篇叫做“Totally *Unofficial* Android GTalk Client (Send/Receive XMPP Messa原创 2008-05-28 14:03:00 · 766 阅读 · 0 评论 -
Android:将音视和视频结合起来!
想法:将音视和视频结合起来! 架构: 主界面: 包括一个TextView,menu. TextView:主要显示一些此产品的介绍,以及提示用户按menu键进行选择! menu里面包括:1.歌曲列表 2..电影列表原创 2008-05-29 21:15:00 · 765 阅读 · 3 评论 -
MusicDroid - Audio Player Part I
MusicDroid - Audio Player Part ISDK Version: M3IntroductionAs you can imagine a popular way to load music onto a cell phone will be via removable storage, such as an SD card. In pa转载 2008-05-24 14:29:00 · 886 阅读 · 0 评论 -
Android.Essentials[精要]
An application in Android is defined by the contents of its manifest在android里,一个应用程序被明确定义在清单目录里.An application in Android is defined by the contents of its manifest. EachAndroid application dec原创 2009-11-19 15:55:00 · 607 阅读 · 0 评论