自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 属性文件配置

String dburl = Tools.getConfigFileValue("dburl"); String dbname = Tools.getConfigFileValue("dbname"); String dbssid = Tools.getConfigFileValue("dbssid"); String dbpassword = Tools.getCo...

2012-05-15 12:33:28 95

原创 底部菜单

<LinearLayout android:id="@+id/main_radio" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true"...

2012-05-15 12:06:19 96

原创 对话框菜单

/** * * @author lilin * @date 2012-5-18 下午2:21:14 * @annotation 对话框菜单 */ public static void showAlertMenu(Context con, String title, String menuitems[], DialogInterface.OnCli...

2012-05-10 22:21:49 97

原创 如何同model匹配

注意表名是model的类名,不是数据库的表名sql = "from FrameAttachInfo where CLIENGGUID='" + rowguid + "'";执行方法:List<FrameAttachStorage> list0 = em.createQuery(sql0).getResultList();Model类生成注意:1....

2012-05-04 09:44:48 207

原创 蓝牙常用方法

打开蓝牙:有提示: Intent enableIntent = new Intent( BluetoothAdapter.ACTION_REQUEST_ENABLE); startActivityForResult(enableIntent, REQUEST_ENABLE_BT);无提示:mBluetoothAdp = BluetoothAdapt...

2012-05-03 21:57:09 97

原创 HandlerThread的使用

package com.lilin.looper;import android.app.Activity;import android.os.Bundle;import android.os.Handler;import android.os.HandlerThread;import android.os.Looper;import android.os.Mess...

2012-05-03 08:21:50 71

原创 通过Runnable来实现普通线程和Handler

package com.andli.handlerandthread;import android.app.Activity;import android.os.Bundle;import android.os.Handler;import android.util.Log;public class HandlerAndThreadDemo extends Act...

2012-05-03 08:20:40 89

原创 handler处理message

package com.lilin.handler;import android.app.Activity;import android.os.Bundle;import android.os.Handler;import android.os.Message;import android.widget.ImageView;/** * 通过Handler实...

2012-05-03 08:19:19 102

空空如也

空空如也

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

TA关注的人

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