Code Monkey home page Code Monkey logo

floating-info---android's Introduction

Floating Info

Floating Info is an Android application that displays the following in a system overlay window:

  • The application name, package name and process id of the application which is currently in the device's foreground
  • The Global CPU utilisation with a per-core breakdown - This is not foreground application specific.
  • Memory usage breakdown for the currently foregrounded process (read the notes for the caveats).
Android app on Google Play

Sample App Screenshots

screenshot1 screenshot2 screenshot3 screenshot4

Notes and Caveats

  • The application will show the memory allocation of the currently foregrounded process which it gets by getting the Process Id of the currently foregrounded activity. This means that if an application has spawned multiple processes, this application will only show the memory utilisation of the main process.
  • The Memory information displayed come via a Debug.MemoryInfo object, while using reflection to expose a number of hidden fields.
  • Data updates happen approximately every 1 second.

Android Memory Usage

Memory management on Android is pretty complex and the easiest way to get started with understanding it is reading this article - especially the "Viewing Overall Memory Allocations" section.

Credits

Author: Alexandros Schillings

Based on GhostLog by Jeff Gilfelt

The icon was adapted from this one.

License

Copyright (C) 2014 readyState Software Ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

floating-info---android's People

Contributors

alt236 avatar

Watchers

James Cloos avatar

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.