A pretty simple and straightforward question... is it possible for a service to detect screen orientation changes? If so, how?
This link will answer your question: How do I use a service to monitor Orientation change in Android
You can also create a BroadcastReceiver
that listens for Intent.ACTION_CONFIGURATION_CHANGED
("android.intent.action.CONFIGURATION_CHANGED"
)
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