The Android default browser allows anonymous browsing. Is it possible to detect when the user is browsing in an incognito tab of the default Android browser application? (I have no interest in the url the user is visiting)
I am using a Content Observer object to receive updates on the user browsing history. When the user opens an Incognito tab, I don't receive any update, as anyone would expect. What I was wondering is how could I know that the user is browsing anonymously.
I can know that the Browser app is on foreground, and I know that no history url is being registered, but what other information could I retrieve to be sure the user is browsing in an incognito tab?
UPDATE:
Guys, thank you for your comments. I know exactly what I am asking. I know the point of incognito mode and that only the default Browser uses the ContentProvider
for logging the browsing history.
I am writing a parental control app, so I would very much appreciate if anyone could answer the question.
Might not be the ideal solution but you can go with the keyboard.
If you know that the Browser app is on foreground, no history url is being registered, but keys are being pressed, something is happening.
Maybe you can write your own keyobard app, and ship it with your parental control. If that's not an option:
How to detect if soft keyboard is on the screen
and
Detecting if keys are pressed
EDIT
Going for that you can also check the network traffic. If the browser is there with the keyboard on, but there is no traffic than you are probably safe!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With