android 4.0 以上平台选择图片报错Attempted to access a cursor after it has been closed.
android.database.StaleDataException: Attempted to access a cursor after it has been closed. at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2444) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2472) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1173) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4424) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) at dalvik.system.NativeStart.main(Native Method) Caused by: android.database.StaleDataException: Attempted to access a cursor after it has been closed.
4.0以上平台会自动关闭cursor
//4.0以上的版本会自动关闭 (4.0--14;; 4.0.3--15) if(Integer.parseInt(Build.VERSION.SDK) < 14) { cursor.close(); }
相关推荐
A 2 minute timeout has been added to the collection of system information. - Video playback, Hard disk and CD/DVD test 'no operations' error reporting changed. - When BurnInTest crashes, it will ...
Kernel panic - not syncing: Attempted to kill init 解决办法 开源成就技术;技术成就梦想
Attempted to lock an already-locked dir svn: Working copy 'D:/Program Files/MyEclipse 6.6flex/workspace/emis/WebRoot/emis/emresource' locked org.tigris.subversion.javahl.ClientException: ...
报错Connection to blog0@localhost failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up. 解决办法:在url后面拼接?serverTimezone=UTC 连接成功后数据库...
For organizations that have been granted a photocopy license by the CCC, a separate system of payment has been arranged. Trademark Notice: Product or corporate names may be trademarks or registered ...
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value ...
ARM 启动 后显示Kernel panic(Attempted to kill init!)
permission to publish in this form has not been obtained. If any copyright material has not been acknowledged please write and let us know so we may rectify in any future reprint. Except as permitted ...
permission to publish in this form has not been obtained. If any copyright material has not been acknowledged please write and let us know so we may rectify in any future reprint. Except as permitted ...
Preface This book provides a comprehensive...Though it may be hard to believe for a book of this size, many interesting algorithms could not be included due to lack of space. Despite myriad requests from
windows had been closed prior to invoking it. Fixed. + the Window|Cascade command did not properly cascade windows that were minimized. Fixed. + the last tick and label sometimes wasn't shown on ...
I attempted to apply a ratio to my hard coded movement and placement numbers so that it would take the screen size into account but was unable to really get or make a usable ratio for the screen size....
in this publication and apologize to copyright holders if permission to publish in this form has not been obtained. If any copyright material has not been acknowledged please write and let us know so...
Introduction to Finite and Spectral Element Methods Using MATLAB®Second Edition This book contains information obtained from authentic and highly regarded sources. Reasonable efforts have been made ...
that no previous platform has attempted. • High-quality graphics and sound: Smooth, antialiased 2D and 3D-accelerated graphics have enabled new kinds of games and business applications. Codecs for ...
This book contains information obtained from ...form has not been obtained. If any copyright material has not been acknowledged, please write and let us know so we may rectify in any future reprint.
Graph Theory has become an important ...and presentation of material, it has been attempted to accommodate elementary concepts on essential basis so as to offer guidance to those new to the field.
able efforts have been made to publish reliable data and information, but the author and publisher cannot assume responsibility for the validity of all materials or the consequences of their use. The ...
FileUtils.java 文件处理工具类