732003684

导航

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页

2013年2月22日 #

滚轮控件的定义和使用

摘要: package com.ct.mywheel;import wheel.OnWheelChangedListener;import wheel.OnWheelScrollListener;import wheel.WheelView;import wheeladapter.AbstractWheelTextAdapter;import android.app.Activity;import android.app.AlertDialog;import android.app.Dialog;import android.content.Context;import android.content 阅读全文

posted @ 2013-02-22 11:33 732003684 阅读(969) 评论(0) 推荐(0)

DatePickerDialog

摘要: private void setDatePicker(){ calendar = Calendar.getInstance(); DatePickerDialog.OnDateSetListener dateSet = new DatePickerDialog.OnDateSetListener() { @Override public void onDateSet(DatePicker view, int year, int monthOfYear, int ... 阅读全文

posted @ 2013-02-22 09:50 732003684 阅读(272) 评论(0) 推荐(0)

2013年2月21日 #

首次进入

摘要: util = new SharePreferenceUtil(this, "saveUser"); mLocalActivityManager = getLocalActivityManager(); if(util.getisFirst()){ Intent intent = new Intent(MainActivity.this,WelcomeActivity.class); startActivity(intent); util.setIsFirst(false); }Shar... 阅读全文

posted @ 2013-02-21 17:12 732003684 阅读(201) 评论(0) 推荐(0)

Unable to resolve target 'android-9'

摘要: 右键项目文件--->properties--->android选择对应版本 保存如还不生效 打开项目文件project.properties ,修改 target=android-10//(对应版本)设置后丢失的gen文件中的R.JAVA自动刷新出 阅读全文

posted @ 2013-02-21 16:11 732003684 阅读(120) 评论(0) 推荐(0)

2013年2月20日 #

关于eclipse+cocos2d安装的一点小提示

摘要: 直接eclipse就可以编译了,用自带的ndk_cmd也可以,不过要配置一下环境变量,NDK的 阅读全文

posted @ 2013-02-20 16:14 732003684 阅读(97) 评论(0) 推荐(0)

【转】来电显示

摘要: http://www.cnblogs.com/zxl-jay/archive/2011/09/30/2196555.html 阅读全文

posted @ 2013-02-20 15:55 732003684 阅读(124) 评论(0) 推荐(0)

退出activity的另一种写法

摘要: Alert alert = new Alert(context);alert.setBuilder(0,null," 是否确定退出?","确定","取消");alert.setAlertListener(new AlertListener(){ public void setOnListener(int button){ if(button == Alert.LEFT){ db.close(); finish(): } }}); 阅读全文

posted @ 2013-02-20 11:45 732003684 阅读(132) 评论(0) 推荐(0)

2013年2月19日 #

实现多层菜单(=_=!)(很傻又很土的办法)

摘要: (在F:\java\多层菜单\20120106024352891\MultiLayerMenu) 阅读全文

posted @ 2013-02-19 14:55 732003684 阅读(156) 评论(0) 推荐(0)

2013年2月18日 #

【转】Java中Split函数的用法技巧

摘要: 在java.lang包中也有String.split()方法,与.net的类似,都是返回是一个字符型数组,但使用过程中还有一些小技巧。如执行:"2|33|4".split("|")出来的结果是:""2|33|4奇怪吧,不过注意看一下API说明还是知道原因的.java.lang.string.splitsplit 方法将一个字符串分割为子字符串,然后将结果作为字符串数组返回。stringObj.split([separator,[limit]])参数stringObj必选项。要被分解的 String 对象或文字。该对象不会被 split 阅读全文

posted @ 2013-02-18 11:20 732003684 阅读(209) 评论(0) 推荐(0)

2013年2月7日 #

SQlite增删改查

摘要: (在F:\java\sSQLite 增、删、查、改操作源码\Android SQLite 增、删、查、改操作源码) 阅读全文

posted @ 2013-02-07 14:59 732003684 阅读(164) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页