Question

I am trying to find which broadcast is being sent on language change when user changes language in the settings.

How do I log this in my console. I have a lot of logs popping up and can't seem to get it. Is there a way to log that?

THanks!

Était-ce utile?

La solution

I am trying to find which broadcast is being sent on language change when user changes language in the settings.

You are probably looking for ACTION_LOCALE_CHANGED.

How do I log this in my console

Create a BroadcastReceiver that listens for this broadcast, and have it log a message to LogCat, using the Log class, from its onReceive() method.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top