Giter VIP home page Giter VIP logo

net.kibotu.android.deviceinfo's Introduction

Donation About Jan Rabe

Android Device Info Build Status API Gradle Version Licence Javadoc

Introduction

Library and app for showing tons of device information for your android device.

How to install

repositories {
    maven {
        url "https://jitpack.io"
    }
}
	
dependencies {
    compile 'com.github.kibotu:net.kibotu.android.deviceinfo:-SNAPSHOT'
}

How to build the lib:

gradle clean lib:build

Features

Build
Build.getSystemAvailableFeatures()
Configuration
Cpu
Gpu
Memory
Battery
Display
Network
Sensor
Java
Geolocation
App
Misc

Todo

  • documentation how to access the data, currently it can be found at the demo app
  • memory: add environment info
  • display: finish display class info
  • display: fix configuration info
  • geolocation: add fusion, also gmaps
  • option menu: re-add endpoints for github, twitter, fbook, find parse alternative server endpoint to store shared device data
  • release new build to gplay

net.kibotu.android.deviceinfo's People

Contributors

kibotu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

net.kibotu.android.deviceinfo's Issues

Monitor Tab

a dedicated monitor tab for the most important changing values

Add Codecs Info

This might be a bit tough but it would nice to see what video, audio and image codecs a device would support.

Battery temperature conversion both to ºC and to ºF (one of them is wrong)

There seems to be a problem in the getTemperature methods on the Battery.java file.
One method is converting the temperature value to ºC and the other is converting it to ºF, but the temperature itself should already be in one of those formats.
Relevant code:

public String getTemperatureCelcius() {
    return convertFahrenheitToCelcius(temperature / 10f) + " °C";
}

public String getTemperatureFarenheit() {
    return convertCelciusToFahrenheit(temperature / 10f) + " °F";
}

// Converts to celcius
private float convertFahrenheitToCelcius(float fahrenheit) {
    return ((fahrenheit - 32) * 5 / 9);
}

// Converts to fahrenheit
private float convertCelciusToFahrenheit(float celsius) {
    return ((celsius * 9) / 5) + 32;
}

Add Camera Info

as the title states, camera info would be nice, for front and back camera

Optimize Pre-Loading

right now everything will be loaded on start, because otherwise shared links will take forever to start. Especially with some system calls for memory and processor readings take a few cycles to deliver reliable info. Promises would be the next step imho.

About Page

This is for the gh pages. A page to show that the app is a demo application about the capabilities for the library.

Querying more OpenGL ES States

State Variable Description Minimum/Initial Value Get Function
GL_ARRAY_BUFFER_BINDING Currently bound vertex attribute array binding 0 glGetIntegerv
GL_ELEMENT_ARRAY_BUFFER_BINDING Currently bound element array binding 0 glGetIntegerv
GL_CULL_FACE_MODE Current face culling mode GL_BACK glGetIntegerv
GL_FRONT_FACE Current front-facing vertex winding mode GL_CCW glGetIntegerv
GL_SAMPLE_COVERAGE_VALUE Current value specified for multisampling sample coverage value 1 glGetFloatv
GL_SAMPLE_COVERAGE_INVERT Current multisampling coverage value inversion setting GL_FALSE glGetBooleanv
GL_TEXTURE_BINDING_2D Current 2D texture binding 0 glGetIntegerv
GL_TEXTURE_BINDING_CUBE_MAP Current cubemap texture binding 0 glGetIntegerv
GL_ACTIVE_TEXTURE Current texture unit 0 glGetIntegerv
GL_COLOR_WRITEMASK Color buffer writable GL_TRUE glGetBooleanv
GL_DEPTH_WRITEMASK Depth buffer writable GL_TRUE glGetBooleanv
GL_STENCIL_WRITEMASK Current write mask for front-facing polygons 1 glGetIntegerv
GL_STENCIL_BACK_WRITEMASK Current write mask for back-facing polygons 1 glGetIntegerv
GL_COLOR_CLEAR_VALUE Current color buffer clear value 0, 0, 0, 0 glGetFloatv
GL_DEPTH_CLEAR_VALUE Current depth buffer clear value 1 glGetIntegerv
GL_STENCIL_CLEAR_VALUE Current stencil buffer clear value 0 glGetIntegerv
GL_SCISSOR_BOX Current offset and dimensions of the scissor box 0, 0, w, h glGetIntegerv
GL_STENCIL_FUNC #Current stencil test operator function GL_ALWAYS glGetIntegerv
GL_STENCIL_VALUE_MASK Current stencil test value mask 1s glGetIntegerv
GL_STENCIL_REF Current stencil test reference value 0 glGetIntegerv
GL_STENCIL_FAIL Current operation for stencil test failure GL_KEEP glGetIntegerv
GL_STENCIL_PASS_DEPTH_FAIL Current operation for when the stencil test passes, but the depth test fails GL_KEEP glGetIntegerv
GL_STENCIL_PASS_DEPTH_PASS Current operation when both the stencil and depth tests pass GL_KEEP glGetIntegerv
GL_STENCIL_BACK_FUNC Current back-facing stencil test operator function GL_ALWAYS glGetIntegerv
GL_STENCIL_BACK_VALUE_MASK Current back-facing stencil test value mask 1s glGetIntegerv
GL_STENCIL_BACK_REF Current back-facing stencil test reference value 0 glGetIntegerv
GL_STENCIL_BACK_FAIL Current operation for back-facing stencil test failure GL_KEEP glGetIntegerv
GL_STENCIL_BACK_PASS_DEPTH_FAIL Current operation for when the back-facing stencil test passes, but the depth test fails GL_KEEP glGetIntegerv
GL_STENCIL_BACK_PASS_DEPTH_PASS Current operation when both the back-facing stencil and depth tests pass GL_KEEP glGetIntegerv
GL_DEPTH_FUNC Current depth test comparison function GL_LESS glGetIntegerv
GL_BLEND_SRC_RGB Current source RGB blending coefficient GL_ONE glGetIntegerv
GL_BLEND_SRC_ALPHA Current source alpha blending coefficient GL_ONE glGetIntegerv
GL_BLEND_DST_RGB Current destination RGB blending coefficient GL_ZERO glGetIntegerv
GL_BLEND_DST_ALPHA Current destination alpha blending coefficient GL_ZERO glGetIntegerv
GL_BLEND_EQUATION Current blend equation operator GL_FUNC_ADD glGetIntegerv
GL_BLEND_EQUATION_RGB Current RGB blend equation operator GL_FUNC_ADD glGetIntegerv
GL_BLEND_EQUATION_ALPHA Current alpha blend equation operator GL_FUNC_ADD glGetIntegerv
GL_BLEND_COLOR Current blend color 0, 0, 0, 0 glGetFloatv
GL_UNPACK_ALIGNMENT Current byte boundary alignment for pixel unpacking 4 glGetIntegerv
GL_PACK_ALIGNMENT Current byte boundary alignment for pixel packing 4 glGetIntegerv
GL_CURRENT_PROGRAM Currently bound shader program 0 glGetIntegerv
GL_RENDERBUFFER_BINDING Currently bound renderbuffer 0 glGetIntegerv
GL_FRAMEBUFFER_BINDING Currently bound framebuffer 0 glGetIntegerv

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.