Send A Broadcast From Logcat
how can i send broadcast from logcat result like send broadcast if activity start (it taged with activity manager) like if browser start the logcat will display that : 09-10 09:47
Solution 1:
If what you're asking is how do you know when to send a broadcast when something specific is logged, you should have a Service
monitor the device's logs, and when it encounters a log that you want to send a broadcast about, then you should send a broadcast.
You can learn about reading from logs programmatically here
EDIT: If I'm not mistaken, in JellyBean it's no longer possible to read logs from any app besides your own.
Post a Comment for "Send A Broadcast From Logcat"