TopGit theo dõi nisrulz/easydeviceinfo trên GitHub trong nhóm Mobile, đã đạt 1.8k sao. :iphone: [Android Library] Get device information in a super easy way.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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
Also featured in
Awesome Android Newsletter #Issue 9
,
Changelog Weekly Issue #114
Built with ❤︎ by
Nishant Srivastava and
contributors
Note
EasyDeviceInfo is split into multiple module-libraries , v2.2.0 onwards. Use the appropriate one as per your requirement.
easydeviceinfo
Main library which transitively includes both easydeviceinfo-ads and easydeviceinfo-base.
easydeviceinfo-ads
EasyDeviceInfo Ads, which facilitates information regarding ads. Has a dependency on play-services-base.
Supported Mods
EasyAdsMod
easydeviceinfo-base
EasyDeviceInfo Base, which facilitates information regarding the device.
Supported Mods
EasyAppMod
EasyBatteryMod
EasyBluetoothMod
EasyConfigMod
EasyCpuMod
EasyDeviceMod
EasyDisplayMod
EasyIdMod
EasyLocationMod
EasyMemoryMod
EasyNetworkMod
EasyNfcMod
EasySimMod
EasySensorMod
EasyFingerprintMod
Changelog
Starting with 1.1.8, Changes exist in the releases tab.
Including in your project
EasyDeviceInfo is available in the Jcenter, so getting it as simple as adding it as a dependency.
where {latest version} corresponds to published version in Jcenter
easydeviceinfo -
easydeviceinfo-ads -
easydeviceinfo-base -
Usage Docs/Wiki
Introducing Mods in EasyDeviceInfo v2!
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 in v2.x.x , however the functions remain the same, hence now you need to migrate to v2.x.x from 1.x.x.
Simple example
Now to use them, create an instance of one of the Mods ( Easy*Mod class ), i.e EasyConfigMod
EasyConfigMod easyConfigMod = new EasyConfigMod(context);
Next call an available function on the easyConfigMod instance such as
Now each Mods has a certain set of functions you can call on them to retrieve device information. i.e for EasyConfigMod
Value
functionName
returns
Is running on emulator
isRunningOnEmulator()
boolean
Time (ms)
getTime()
long
Formatted Time (24Hr)
getFormattedTime()
String
Up Time (ms)
getUpTime()
long
Formatted Up Time (24Hr)
getFormattedUpTime()
String
Android Studio support
Include a required permission check
Setup all constants returned in a switch statement
This applies to all annotations bundled with easydeviceinfo. Checkout the wiki to see where these annotations can be applied.
@RingerMode
@DeviceType
@PhoneType
@OrientationType
@NetworkType
@BatteryHealth
@ChargingVia
:page_with_curl: For more info , check the Wiki Docs
Pull Requests
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. This project uses a modified version of Grandcentrix's code style, so please use the same when editing this project.
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!
Apps using EasyDeviceInfo
If you are using EasyDeviceInfo in your app and would like to be listed here, please let me know by opening a new issue!
EasyDeviceInfo - Playstore
System Tweaker - Playstore, Github
Other apps using EasyDeviceInfo, via AppBrain Stats
Author & support
This project was created by Nishant Srivastava but hopefully developed and maintained by many others. See the the list of contributors here.
If you appreciate my work, consider buying me a cup of :coffee: to keep me recharged :metal:
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/nisrulz/easydeviceinfo là nguồn chính thức.
nisrulz/easydeviceinfo có bao nhiêu sao?
nisrulz/easydeviceinfo có 1.8k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/nisrulz/easydeviceinfo. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
nisrulz/easydeviceinfo có phải mã nguồn mở không?
Có — nisrulz/easydeviceinfo phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/nisrulz/easydeviceinfo.
nisrulz/easydeviceinfo còn đang phát triển không?
Commit gần nhất trên nisrulz/easydeviceinfo là 2.1 năm trước (theo timestamp GitHub). Repo có 227 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
nisrulz/easydeviceinfo là gì?
nisrulz/easydeviceinfo (nisrulz/easydeviceinfo) là dự án Java trên GitHub. Theo mô tả gốc: :iphone: [Android Library] Get device information in a super easy way.
nisrulz/easydeviceinfo so với các dự án Mobile khác thế nào?
nisrulz/easydeviceinfo được TopGit xếp vào nhóm Mobile, với 1.8k sao GitHub và viết bằng Java. Xem trang chủ đề Mobile trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về easydeviceinfo?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về easydeviceinfo.