自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 AppWidget,及其与广播的相关处理

1.什么叫AppWidget?既是手机桌面放置的控件,shortcuts是快捷方式2.AppWidgetProviderInfo对象是为AppWiget提供元数据,包括布局更新频率等数据,被定义在xml文件中3.在res下新建个XML文件夹,下新建example_appwidget_info.xml文件     xmlns:android="http://schemas.andro

2012-03-29 13:21:32 513

原创 Handler的使用,如何使得handler处理的线程是开启的新线程

http://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:orientation="vertical" >                  android:layout_w

2012-03-28 17:01:17 778

原创 ExpandableListActivity的使用和SimpleExpandableListAdapter的使用

main.xml文件http://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:orientation="vertical" >

2012-03-22 15:33:35 790 1

原创 AutoCompleteTextViewActivity自动完成文本框

xml文件·1..main.xmlhttp://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:orientation="vertical" >        and

2012-03-22 10:05:41 455

原创 调用系统的DatePickerDialog,TimePickerDialog

主要实现调用设置的一些使用图1 DatePickerDialog,TimePickerDialog无需xml布局 图2图3图4主要是开始时调用默认为图1,3所示的时间,设置后,下次打开要是你现在设置的时间 import android.app.Activity;import android.app.DatePickerDialog;import andr

2012-03-21 19:20:16 664

原创 Gallery循环拖动

main.xmlhttp://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:orientation="vertical" >            android:la

2012-03-19 11:07:28 617

原创 sqlite db文件的复制至sdcard

public class ExportDatabaseTask  extends AsyncTask {  private Context mContext;  private final ProgressDialog dialog;     public ExportDatabaseTask(Context context){      this.mConte

2012-03-14 14:07:26 964

原创 处理图像倒影问题

main.xmlhttp://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:orientation="vertical" >            android:la

2012-03-14 11:00:56 841

原创 手机设置的亮度调节功能

main.xml  http://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:orientation="vertical" >            androi

2012-03-13 15:36:47 1558

原创 jdbc优化及其安全下载

http://download.csdn.net/detail/jiangtongcn/4121163

2012-03-08 10:03:36 386

原创 如何在Activity中调用系统的返回功能

1.本人还未解决,求高手指点@Override public boolean onKeyDown(int keyCode, KeyEvent event) {  // TODO Auto-generated method stub     return super.onKeyDown(keyCode, event); }参数keyCode可以是KeyEvent event

2012-03-07 14:53:29 341

原创 TestView的autoLink属性和跑马灯marquee的属性

1.TextView  autoLink属性TextView也支持电话和email超链接,当我们设置android:autoLink="phone"的时候,文本里的电话就会变成蓝色超链接形式,点击就会打开拨号界面等待你按通话键拨号,email也是同理。http://schemas.android.com/apk/res/android"    android:layout_widt

2012-03-05 17:19:26 807

原创 Textwatcher和SQLite,ListView集合的基本用法或许有用

两个xml文件main.xml xmlns:android="http://schemas.android.com/apk/res/android"    android:orientation="vertical"    android:layout_width="fill_parent"      android:layout_height="fill_pare

2012-03-05 13:53:30 786

原创 自己写个继承于View(textview或其他的)的类,便于自己特定 要求

main.xmlhttp://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"    android:layout_height="fill_parent"    android:orientation="vertical" >            android:id

2012-03-05 13:31:24 515

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除