bemobi / medescope

61 stars 15 forks source link

COLUMN_LOCAL_FILENAME is deprecated on Android 7.0, causes crash #9

Open mustafa-demir opened 8 years ago

mustafa-demir commented 8 years ago

COLUMN_LOCAL_FILENAME is deprecated on Android 7.0, causes crash.

Library needs an urgent update.

Details for the crash :

Fatal Exception: java.lang.SecurityException: COLUMN_LOCAL_FILENAME is deprecated; use ContentResolver.openFileDescriptor() instead at android.app.DownloadManager$CursorTranslator.getString(DownloadManager.java:1499) at android.database.DatabaseUtils.dumpCurrentRow(DatabaseUtils.java:573) at android.database.DatabaseUtils.dumpCursor(DatabaseUtils.java:507) at android.database.DatabaseUtils.dumpCursorToString(DatabaseUtils.java:523) at br.com.bemobi.medescope.service.impl.DMDownloadService.getDownloadInfo(DMDownloadService.java:149) at br.com.bemobi.medescope.service.impl.DMIntentService.onHandleIntent(DMIntentService.java:51) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:67) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.os.HandlerThread.run(HandlerThread.java:61)

pedrocortez commented 8 years ago

We've already did this, but we forgot to update project on github. We will do this soon. After that i will close this issue

mustafa-demir commented 7 years ago

Still waiting for this update. Can you please update the project as soon as possible.

mustafa-demir commented 7 years ago

Still waiting for this update. Can you please update the project as soon as possible. Thank you.

kellvembarbosa commented 7 years ago

Opa, Pedro aguardamos a atualização...

kongsonida commented 7 years ago

Did you fix it?

paulocoutinhox commented 7 years ago

If was fixed?

amsterdatech commented 7 years ago

Yes , it was a long ago, but merge has been postponed due to planning issues.

I'll be fixed hopefully this week On Aug 5, 2017 17:28, "prsolucoes" notifications@github.com wrote:

If was fixed?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bemobi/medescope/issues/9#issuecomment-320468617, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGUtg1RamJTydXz3USkWmprlNEsjWf5ks5sVNB_gaJpZM4J4H7c .

PedroBernils commented 6 years ago

Is there an approximate date for when this update will go live?

mabelEain commented 6 years ago

Hello! I am also faced with this error. How to fix?