Chinaunix首页 | 论坛 | 博客
  • 博客访问: 377106
  • 博文数量: 284
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1707
  • 用 户 组: 普通用户
  • 注册时间: 2014-05-14 16:38
文章分类

全部博文(284)

文章存档

2015年(6)

2014年(278)

我的朋友

发布时间:2014-06-24 15:01:41

1. [代码][Java]代码     public class Database {private static DbOpenHelper mDbHelper;private static final int DB_VERSION = 1;private static final String DB_NAME = "pdf.db";public static void close() {if(mDbHelper != null) {mDbHelper.close();mDbHel.........【阅读全文】

阅读(408) | 评论(0) | 转发(0)

发布时间:2014-06-24 14:54:59

1. [代码][Java]代码     package com.zjt.innerreceiver;import android.app.Service;import android.content.BroadcastReceiver;import android.content.Context;import android.content.Intent;import android.content.IntentFilter;import android.os.IBinder;im.........【阅读全文】

阅读(583) | 评论(0) | 转发(0)

发布时间:2014-06-24 14:47:43

android平台手电筒开发源代码,AndroidManifest.xml文件的入口是startapp,这个文件没上传上来,大家可以自己写。1. [代码]android     /** * name   : 手电筒主界面 * author : ycgpp@126.com * date    : 2012-12-21 15:50:17 */packag.........【阅读全文】

阅读(527) | 评论(0) | 转发(0)

发布时间:2014-06-21 17:02:32

Android Notification通知详解002 003根据activity的生命周期,在activity不显示时,会执行onStop函数(比如按下home键),所以你在onStop函数(按退出键除外)里面把notification放在通知栏里,再此显示时,把notification从通知栏里去掉。或者,只要程序在运行就一直显示通知栏图标。004 005    &n.........【阅读全文】

阅读(494) | 评论(0) | 转发(0)

发布时间:2014-06-21 16:56:14

基于Android 2.3.3做的一个练手计算器。 可解析带括号的四则运算。 解析算术表达式的时候,准备调用Webkit通过Js来解析的。 但是2.3.3存在Bug,Js调用Java会导致程序崩溃, 所以没办法,最后是用 BeanShell来解析的。 不过,因为需要每个参与计算的数字都是浮点型, 才能正确无误.........【阅读全文】

阅读(422) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册