Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0
-
None
-
None
-
win7 android4.0 phonegap3.0
Description
When i use the FileTransfer to upload a camera picture the eclipse logcat show that。 error.
05-21 09:20:18.845: E/CursorLeakDetecter(27413): PossibleCursorLeak:content://media/external/images/media,QueryCounter:6
05-21 09:20:18.845: E/CursorLeakDetecter(27413): android.database.sqlite.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at android.content.ContentResolver.query(ContentResolver.java:397)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at android.content.ContentResolver.query(ContentResolver.java:314)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at org.apache.cordova.CameraLauncher.queryImgDB(CameraLauncher.java:684)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at org.apache.cordova.CameraLauncher.checkForDuplicateImage(CameraLauncher.java:723)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at org.apache.cordova.CameraLauncher.cleanup(CameraLauncher.java:704)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at org.apache.cordova.CameraLauncher.onActivityResult(CameraLauncher.java:363)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at org.apache.cordova.DroidGap.onActivityResult(DroidGap.java:864)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at android.app.Activity.dispatchActivityResult(Activity.java:5223)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at android.app.ActivityThread.deliverResults(ActivityThread.java:3301)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3348)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at android.app.ActivityThread.access$1100(ActivityThread.java:149)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1348)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at android.os.Handler.dispatchMessage(Handler.java:99)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at android.os.Looper.loop(Looper.java:153)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at android.app.ActivityThread.main(ActivityThread.java:5108)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at java.lang.reflect.Method.invokeNative(Native Method)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at java.lang.reflect.Method.invoke(Method.java:511)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:989)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:747)
05-21 09:20:18.845: E/CursorLeakDetecter(27413): at dalvik.system.NativeStart.main(Native Method)
05-21 09:20:18.861: W/CursorWrapperInner(27413): Cursor finalized without prior close()
05-21 09:20:18.863: W/CursorWrapperInner(27413): Cursor finalized without prior close()
05-21 09:20:18.864: W/ActivityThread(27413): Duplicate remove pending of provider com.android.providers.media.MediaProvider