5,597,937 Members 38,593 Now Online
XDA Developers Android and Mobile Development Forum

[APP][v1.0.0][2.3+]Event Logger - 2014.04.18

Tip us?
 
pedja1
Old
(Last edited by pedja1; Yesterday at 10:46 PM.)
#1  
pedja1's Avatar
Recognized Developer - OP
Thanks Meter 1366
Posts: 1,181
Join Date: Oct 2011
Location: Zrenjanin

 
DONATE TO ME
Tutorial [APP][v1.0.0][2.3+]Event Logger - 2014.04.18

I don't know i anyone will ever need anything like this but here it is anyway...
Sorry about the ads.


Easily keep track of what your phone is doing.

Event Logger will keep track of the following events:

☑ WiFi Enabled/Disabled
☑ WiFi Connected/Disconnected
☑ Bluetooth Enabled/Disabled
☑ GPS Enabled/Disabled
☑ Power Connected/Disconnected
☑ Orientation Changed
☑ Locale Changed
☑ Screen On/Off
☑ Screen Unlocked
☑ SMS Received
☑ App Started
☑ Call Events(Incoming/Outgoing)
☑ Headphones Plugged/Unplugged
☑ Media Scanner Started/Stopped
☑ Phone Booted
☑ Phone Shutting Down/Restarting
☑ User Changed Time/Date/Timezone
☑ Airplane Mode On/Off
☑ Battery Level Ok/Low
☑ Wallpaper Changed
☑ Volume Changed

Events that works only with exposed framework:
☑ Media Play/Pause

Events to be added in future releases:

☐ HDMI Plugged/Unplugged
☐ NFC On/Off
☐ Application Installed/Removed/Replaced/Cleared
☐ Service Started/Stopped
☐ Mobile Network On/Off
☐ SD Card Removed/Inserted/Mounted/Unmounted
Suggestions are welcome, but please be realistic

TODO:
☐ Filter events
☐ You tell me

Bugs:
☐ Sometimes events are added to the list without them actually happening(Headphone plugged, volume level changed, orientation changed)
☐ List sometimes doesn't scroll to bottom when app is started
☐ Media Play/Pause apparently doesn't work
☐ When app is killed by the system due to low memory (on android 4.4) it doesn't get restarted - only happens on 4.4+

PERMISSIONS:
• ACCESS_WIFI_STATE - to determine if wifi is on/off
• ACCESS_NETWORK_STATE - determine connectivity change (connected/disconnected)
• BLUETOOTH - determine bluetooth state (on/off)
• BLUETOOTH_ADMIN - determine bluetooth state (on/off)
• RECEIVE_SMS - intercept incoming sms(only phone number is stored)
• READ_PHONE_STATE - detect incoming calls
• PROCESS_OUTGOING_CALLS - detect outgoing calls
• INTERNET - used for ads and sending crash reports
• RECEIVE_BOOT_COMPLETED - detect that phone has booted up
• ACCESS_FINE_LOCATION - detect GPS state (on/off)
• GET_TASKS - get running applications on a device
• RESTART_EVENT_SERVICE - internal permission, used to restart service when killed by sistem


It was just published, i will appear in Play Store in a few hours, meanwhile you can download it from attachment.
Attached Files
File Type: apk event-logger.apk - [Click for QR Code] (1.96 MB, 4 views)
Device: LG Optimus L9 P760 ROM:CM 10.2, Android 4.3 Recovery: ClockworkMod Touch 6



Kernel Tuner - Take ctrl over your device

Kernel Tuner - Official Website

 
pedja1
Old
#2  
pedja1's Avatar
Recognized Developer - OP
Thanks Meter 1366
Posts: 1,181
Join Date: Oct 2011
Location: Zrenjanin

 
DONATE TO ME
reserved for me
Device: LG Optimus L9 P760 ROM:CM 10.2, Android 4.3 Recovery: ClockworkMod Touch 6



Kernel Tuner - Take ctrl over your device

Kernel Tuner - Official Website

 
pedja1
Old
#3  
pedja1's Avatar
Recognized Developer - OP
Thanks Meter 1366
Posts: 1,181
Join Date: Oct 2011
Location: Zrenjanin

 
DONATE TO ME
another one
Device: LG Optimus L9 P760 ROM:CM 10.2, Android 4.3 Recovery: ClockworkMod Touch 6



Kernel Tuner - Take ctrl over your device

Kernel Tuner - Official Website

Tags
event, event logger, log
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Android Control Center Becomes Quick Control Panel, Brings Host of New Features

You may recall that back in August of last year, we talked … more

Polish Your Custom Themes with Theme Debugger

Creating a custom Android theme from scratch can be quite the laborious task. In addition to … more

Clean Up Your Logcat Code with Lib Cleaner

Some of you may think that writing code is the hardest part of development. It’s not, as the … more

Tweak Your Xperia Device’s Camera App Yourself

We’ve come to expect nearly perfect cameraperformancein our modern day … more