-
Notifications
You must be signed in to change notification settings - Fork 482
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
multiple warnings on the library #1
Comments
There is a jar file. Look at the release section: https://github.com/Stericson/RootTools/releases |
I see. please do check the warnings though:
|
I will look into them. Also keep in mind the deprecated methods is to be expected as this library works as far back as Android 1.5. I'll def be looking into the reader issue, all of those should be closed. |
also please put the link you've just written on the wiki page here : |
and thank you for your patience. |
about the 1.5 usage, you can do a check on android version, and if it's high enough, use the new version's functions. |
Updated the front page. I'll look into the viability of using reflection to use updated methods. |
i think reflection is too hard core for this (in case you use it per function). you can simply use something like this for example
sadly it's from API 4 . maybe put a global check of android versions, which will only use this method, and put the value using reflection. |
since this library no longer have a jar file, when adding this code into another project it produces warnings that I usually use in order to help avoiding NPE:
please check them out and see if it's really possible that NPE can be caused, or at least make the code avoid those warnings.
The text was updated successfully, but these errors were encountered: