S SAM ShamsulBahrim Member Licensed User Longtime User Feb 16, 2014 #1 Hi, Anyone knows how to capture "intent string(s)" programmatically? Possibly upon running this "Intent Capture APPS (or background service)".... it will pop up the intent strings every time other apps in the Android are clicked to run... thanks in advance. SAM
Hi, Anyone knows how to capture "intent string(s)" programmatically? Possibly upon running this "Intent Capture APPS (or background service)".... it will pop up the intent strings every time other apps in the Android are clicked to run... thanks in advance. SAM
Erel B4X founder Staff member Licensed User Longtime User Feb 17, 2014 #2 You can capture these strings by reading the logs. You can use LogCat object from the Phone library to do it. However it will only work on versions prior to 4.1. Starting from Android 4.1 it is no longer possible to read logs of other apps. Upvote 0
You can capture these strings by reading the logs. You can use LogCat object from the Phone library to do it. However it will only work on versions prior to 4.1. Starting from Android 4.1 it is no longer possible to read logs of other apps.
S SAM ShamsulBahrim Member Licensed User Longtime User Feb 17, 2014 #3 Erel said: You can capture these strings by reading the logs. You can use LogCat object from the Phone library to do it. However it will only work on versions prior to 4.1. Starting from Android 4.1 it is no longer possible to read logs of other apps. Click to expand... Thanks Erel..... mine is on 4.2.2 . So I guess... I'm unfortunate to follow your suggestion. If I am not mistaken, you did suggested to "unfilter the log" in the B4A Studio IDE to be able to view the intent string fire up by the OS. I am unable to keep long before I have to unplugged my Bluetooth USB dongle from my laptop (that is, after transferring apps to my Android tablet).... else, I will end up with black screen on my Android tablet! I am on the latest version of B4A and B4A-Bridge version2.09. I do not why... but it seems there are a lot of communications between them and if I stay unplug.... I got into trouble. SAM Upvote 0
Erel said: You can capture these strings by reading the logs. You can use LogCat object from the Phone library to do it. However it will only work on versions prior to 4.1. Starting from Android 4.1 it is no longer possible to read logs of other apps. Click to expand... Thanks Erel..... mine is on 4.2.2 . So I guess... I'm unfortunate to follow your suggestion. If I am not mistaken, you did suggested to "unfilter the log" in the B4A Studio IDE to be able to view the intent string fire up by the OS. I am unable to keep long before I have to unplugged my Bluetooth USB dongle from my laptop (that is, after transferring apps to my Android tablet).... else, I will end up with black screen on my Android tablet! I am on the latest version of B4A and B4A-Bridge version2.09. I do not why... but it seems there are a lot of communications between them and if I stay unplug.... I got into trouble. SAM
Erel B4X founder Staff member Licensed User Longtime User Feb 17, 2014 #4 It is only possible to monitor the unfiltered logs on Android 4.1+ when connected with USB debugging mode. Upvote 0
It is only possible to monitor the unfiltered logs on Android 4.1+ when connected with USB debugging mode.