Android-FilePicker
Android-FilePicker copied to clipboard
startActivityForResult & onActivityResult Deprecated in Java
startActivityForResult & onActivityResult Deprecated in Java will it be fixed/updated?
I recognized this deprecation just now, is there any workaround for this?
I can't say much, but to start I don't use this framework or plan to, I only want to share some interesting things. Google loves to break people's apps or frameworks ruthlessly. It's a company you can never fully trust. Look, I'm developer, the methods deprecated puts my apps and frameworks in jeopardize. They broke all my great efforts, replace those deprecated methods without alter bunch of things is impossible. It's very hard, it's anything but easy. The new APIs aren't intuitive, even if they appear to be.
Anyway, check this cool post and reflect well about Google 'behind curtains'. They seem cool outside for innocent users, but inside they aren't good guys like everyone think. It's only image...
And BTW get used, these things happens quite a lot. I don't know what happens in mind of those guys... Do they think everyone is rich?!
I am following this issue and looking forward to seeing an update on this great library.
It is actually Easiy fixed! Just research it from Getting a result from an activity Doing File access is actually pre-build in
It is actually Easiy fixed! Just research it from Getting a result from an activity Doing File access is actually pre-build in
Thanks for your reply.
It is really easy to convert the general code that uses startActivityForResult
and onActivityResult
to registerForActivityResult
and then launch it. But FilePicker uses prebuilt code for this.
I think you meant to download the open-source project of this Lib and change its code to match the new method instead of just adding the Lib as Gradle dependency line
I am following this issue and looking forward to seeing an update on this great library.
@Morons How did you solved it, a sample code ?