Git Product home page Git Product logo

Comments (8)

Stericson avatar Stericson commented on July 29, 2024

There is a jar file. Look at the release section: https://github.com/Stericson/RootTools/releases

from roottools.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 29, 2024

I see. please do check the warnings though:

  • "Implicitly using the default locale is a common source of bugs: Use toLowerCase(Locale) instead"
  • "Redundant null check: The variable path cannot be null at this location"
  • "Resource leak: 'reader' is never closed "
  • unused imports
  • many deprecated methods.

from roottools.

Stericson avatar Stericson commented on July 29, 2024

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.

from roottools.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 29, 2024

also please put the link you've just written on the wiki page here :
https://github.com/Stericson/RootTools/wiki

from roottools.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 29, 2024

and thank you for your patience.

from roottools.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 29, 2024

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.

from roottools.

Stericson avatar Stericson commented on July 29, 2024

Updated the front page.

I'll look into the viability of using reflection to use updated methods.

from roottools.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 29, 2024

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

if(VERSION.SDK_INT>=VERSION_CODES.GINGERBREAD)
....

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.

from roottools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.