Fun fact: Since Android Nougat apps cannot get the PID of other apps. This makes displaying the Memory info for apps other than Floating Info itself impossible. All other functionality will still work.
Floating Info is an Android application that displays the following in a system overlay window:
The application name, package name and process id (except on Nougat+) 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 - except on Nougat+ (read the notes for the caveats).
Netork information like connection type, proxy status and IP address(es). Both IPv4 and IPv6
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 (https://developer.android.com/tools/debugging/debugging-memory.html) - especially the "Viewing Overall Memory Allocations" section.
GitHub Link: https://github.com/alt236/Floating-Info---Android
Забавный факт: Так как Android Нуга приложения не могут получить PID других приложений. Это делает отображение информации памяти для других, чем Плавающий сама информация невозможно приложений. Все остальные функции будут по-прежнему работать.
Плавающий информация является Android-приложение, которое отображает следующее в окне системы наложения:
Имя приложения, имя пакета и идентификатор процесса (за исключением Нуга +) приложения, которое в настоящее время на переднем плане устройства
Глобальное использование процессора с разбивкой каждого ядра - Это не на первом плане конкретного приложения.
Разбивка памяти использование для текущего выдвинутыми процесса - кроме Нуга + (читать ноты для предостережений).
Netork информация, как тип соединения, прокси-статус и IP-адрес (адреса). Оба IPv4 и IPv6
Примечания и Предостережения
---
* Приложение покажет распределение памяти в данный момент на передний план процесса, который он получает, получая идентификатор процесса в настоящее время на передний план деятельности. Это означает, что если приложение породил несколько процессов, это приложение будет показывать только использование памяти основного процесса.
* Информация памяти, показываемые приходят через объект Debug.MemoryInfo, в то время как с помощью отражения, чтобы выставить ряд скрытых полей.
* Обновления данных произойдет примерно 1 раз в секунду.
Использование Android-памяти
---
Управление памятью на Android является довольно сложным и самый простой способ, чтобы начать работу с пониманием, что читает эту статью (https://developer.android.com/tools/debugging/debugging-memory.html~~HEAD=dobj) - особенно "Просмотр Общий распределение памяти " раздел.
GitHub Ссылка: https://github.com/alt236/Floating-Info---Android