Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startActivityForResult & onActivityResult Deprecated in Java #318

Open
Morons opened this issue Jan 27, 2021 · 6 comments
Open

startActivityForResult & onActivityResult Deprecated in Java #318

Morons opened this issue Jan 27, 2021 · 6 comments

Comments

@Morons
Copy link

Morons commented Jan 27, 2021

startActivityForResult & onActivityResult Deprecated in Java will it be fixed/updated?

@shawn-gosam
Copy link

I recognized this deprecation just now, is there any workaround for this?

@UltraBurstXD
Copy link

UltraBurstXD commented Apr 10, 2021

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?!

@orwa-te
Copy link

orwa-te commented May 23, 2021

I am following this issue and looking forward to seeing an update on this great library.

@Morons
Copy link
Author

Morons commented May 23, 2021

It is actually Easiy fixed! Just research it from
Getting a result from an activity
Doing File access is actually pre-build in

@orwa-te
Copy link

orwa-te commented May 24, 2021

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

@BoumBam
Copy link

BoumBam commented May 31, 2021

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants