Android library to get device information in a super easy way.
The library is built for simplicity and approachability. It not only eliminates most boilerplate code for dealing with device information, but also provides an easy and simple API to retrieve them.
Demo App
Starting with 1.1.8
, Changes exist in the releases tab.
- EasyDeviceInfo is available in the MavenCentral, so getting it as simple as adding it as a dependency
compile 'com.github.nisrulz:easydeviceinfo:2.0.2'
Introducing Mods in EasyDeviceInfo!
Mods or Modules are the new way to retrieve information. They let you get information in a very segmented manner and the best part is you only initialize the Mods you need in your project. Pretty rad , eh ? I know.
The whole api has been reworked however the functions remain the same, hence now you need to migrate to v2.x.x from 1.x.x.
Checkout the new way to use the API in Wiki
I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:
- Match coding style (braces, spacing, etc.) This is best achieved using
CMD
+Option
+L
(Reformat code) on Mac (not sure for Windows) with Android Studio defaults. - If its a feature, bugfix, or anything please only change code to what you specify.
- Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
- Pull requests must be made against
develop
branch. Any other branch (unless specified by the maintainers) will get rejected. - Check for existing issues first, before filing an issue.
- Have fun!