πŸ—‚οΈ Activity Log

by Patrick Corgan

Version 2 (October 5, 2023)

Download (179 downloads)

This flow will log device unlock/lock and app usage events. On an unlock attempt, the flow will log the time (both as a timestamp and an easy to understand format), the result ("SUCCESS" or "FAIL"), and a front facing picture (in case you don't have one of the 32,768 flows that take a pic on unlock attempts). The same info is logged when the device locks, except the result is always "LOCK", and there's no picture.

App usage is also logged. Whenever an app or activity comes to the front, the app name, app package, activity name, and activity class are all logged, along with the time as above (no picture; you're welcome).

All events are logged in a SQL database stored, along with the pictures, in a subdirectory "logs/" of the directory returned by the 'storage("documents")' function.

This flow comes with some samples for reading the DB; you can write more of your own, or you can use a small, free SQL editor from the Play Store:
https://play.google.com/store/apps/details?id=com.tomminosoftware.sqliteeditor

You can also get info about the log file: path, size, and when it was last modified. You can also delete the file from here.

No attempt is made to hide, disguise, or otherwise obfuscate the data files; if you're super-paranoid or looking for a serious security solution, this flow ain't for you.

Requires premium with the examples and log file info, but each chunk is non-premium and will stand alone.

πŸ”Έπ™π™šπ™¦π™ͺπ™žπ™§π™šπ™¨ π™₯π™§π™šπ™’π™žπ™ͺπ™’πŸ”Έ

------------------------------
π˜‰π˜Ί π˜—π˜’π˜΅π˜³π˜ͺ𝘀𝘬 𝘊𝘰𝘳𝘨𝘒𝘯
πŸ› οΈπ•”π• π•žπ•žπ•–π•Ÿπ•₯𝕀 π•’π•Ÿπ•• π•”π•£π•šπ•₯π•šπ•”π•šπ•€π•žπ•€ π•¨π•–π•π•”π• π•žπ•–βš’οΈ
------------------------------

Version 2: Added log file info. Changed timestamping to fix a (probably non-existent) possible issue.

5.0 average rating from 2 reviews

5 stars
2
4 stars
0
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.