# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
LoaderCursorUtil 异步查询数据库的工具类 使用方法如下: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); LoaderCursorUtil cursorUtil = new LoaderCursorUtil(this); cursorUtil.getCurosr(new DBCursorListener() { /** * 在子线程中执行查询操作 */ @Override public Cursor doQueryLister() { String uri = MediaStore.ACTION_VIDEO_CAPTURE; Cursor cursor = getContentResolver().query(Uri.parse(uri), null, null, null, null); return cursor; } }, new ResultBackListener() { /** * 在主线程中获取查询结果 */ @Override public void resultListener(Cursor data) { data.moveToFirst(); } }); }
资源推荐
资源详情
资源评论
收起资源包目录
LoaderCursorText.rar (44个子文件)
LoaderCursorText
.project 852B
bin
AndroidManifest.xml 899B
res
classes
com
example
loadercursortext
R$string.class 502B
R$layout.class 433B
MainActivity.class 2KB
R$dimen.class 491B
R$drawable.class 437B
LoaderCursorUtil$MyLoaderCallbacks.class 3KB
LoaderCursorUtil$LoderAsyncTask.class 2KB
LoaderCursorUtil$DBCursorListener.class 314B
R$menu.class 418B
R.class 773B
R$style.class 461B
LoaderCursorUtil.class 2KB
LoaderCursorUtil$ResultBackListener.class 320B
BuildConfig.class 365B
MainActivity$2.class 973B
R$attr.class 370B
MainActivity$1.class 1KB
R$id.class 423B
.settings
org.eclipse.jdt.core.prefs 177B
ic_launcher-web.png 50KB
AndroidManifest.xml 899B
proguard-project.txt 781B
libs
android-support-v4.jar 543KB
src
com
example
loadercursortext
MainActivity.java 1KB
LoaderCursorUtil.java 3KB
project.properties 563B
res
values
styles.xml 697B
strings.xml 233B
dimens.xml 220B
values-sw720dp-land
dimens.xml 277B
layout
activity_main.xml 666B
drawable-ldpi
drawable-hdpi
ic_launcher.png 7KB
values-v11
styles.xml 334B
drawable-mdpi
ic_launcher.png 4KB
values-sw600dp
dimens.xml 203B
drawable-xhdpi
ic_launcher.png 12KB
drawable-xxhdpi
ic_launcher.png 24KB
menu
main.xml 263B
values-v14
styles.xml 391B
.classpath 475B
gen
com
example
loadercursortext
R.java 2KB
BuildConfig.java 170B
assets
共 44 条
- 1
资源评论
- hangangel2014-08-29非常感谢,对我工程的异步有帮助
- q4256460q2014-05-21楼主能告诉我在哪关闭Cursor么
巅峰工作室
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功