How Do You Start The User's Selected Daydream Programmatically?
On my Galaxy Nexus, I can tap this button in system preferences to start my currently selected daydream. Is there a way to reproduce this functionality in an app via Intent? I do
Solution 1:
- Edit 9/22/2014: This does not work on some Samsung phones I figured out how to do this by digging through some Android source code.
final Intent intent = new Intent(Intent.ACTION_MAIN);
intent.setClassName("com.android.systemui", "com.android.systemui.Somnambulator");
startActivity(intent);
Post a Comment for "How Do You Start The User's Selected Daydream Programmatically?"