M Mike1970 Well-Known Member Licensed User Longtime User May 24, 2024 #1 Hi everyone, I’m developing an app that will run on a panel tablet (kiosk). This tablet has the screensaver function in system settings (colors or clock) with a button to start it. From settings seems that the screensaver can start ONLY if the tablet is charging… but since it is a tablet panel pc this thing does not kinda work…. SO, the question is: Can I start the screensaver directly from my app? Maybe with some intent idk Edit: I attached the sample code with Erel solution for the future people Attachments Screensaver_Test.zip Screensaver_Test.zip 10.1 KB · Views: 444 Last edited: May 30, 2024
Hi everyone, I’m developing an app that will run on a panel tablet (kiosk). This tablet has the screensaver function in system settings (colors or clock) with a button to start it. From settings seems that the screensaver can start ONLY if the tablet is charging… but since it is a tablet panel pc this thing does not kinda work…. SO, the question is: Can I start the screensaver directly from my app? Maybe with some intent idk Edit: I attached the sample code with Erel solution for the future people
Solution Erel May 26, 2024 Try this: Code: Dim in As Intent in.Initialize("", "") in.SetComponent("com.android.systemui/com.android.systemui.Somnambulator") StartActivity(in)
Try this: Code: Dim in As Intent in.Initialize("", "") in.SetComponent("com.android.systemui/com.android.systemui.Somnambulator") StartActivity(in)
Erel B4X founder Staff member Licensed User Longtime User May 26, 2024 #2 Try this: Code: Dim in As Intent in.Initialize("", "") in.SetComponent("com.android.systemui/com.android.systemui.Somnambulator") StartActivity(in) Upvote 1 Solution
Try this: Code: Dim in As Intent in.Initialize("", "") in.SetComponent("com.android.systemui/com.android.systemui.Somnambulator") StartActivity(in)
M Mike1970 Well-Known Member Licensed User Longtime User May 28, 2024 #3 Erel said: Try this: Code: Dim in As Intent in.Initialize("", "") in.SetComponent("com.android.systemui/com.android.systemui.Somnambulator") StartActivity(in) Click to expand... Nice! seems to work Upvote 0
Erel said: Try this: Code: Dim in As Intent in.Initialize("", "") in.SetComponent("com.android.systemui/com.android.systemui.Somnambulator") StartActivity(in) Click to expand... Nice! seems to work
M Mike1970 Well-Known Member Licensed User Longtime User Sep 15, 2024 #4 Erel said: Try this: Code: Dim in As Intent in.Initialize("", "") in.SetComponent("com.android.systemui/com.android.systemui.Somnambulator") StartActivity(in) Click to expand... Update: This seems to not work while the device is locked in Kiosk Mode, the display lowers the brightness but the screensaver does not actually start. I tried to add the package "com.android.systemui/com.android.systemui.Somnambulator" or "com.android.systemui.Somnambulator" or both to the allowed apps in Kiosk mode (thinking it was the gold ticket) but didn't work... same behaviour. Upvote 0
Erel said: Try this: Code: Dim in As Intent in.Initialize("", "") in.SetComponent("com.android.systemui/com.android.systemui.Somnambulator") StartActivity(in) Click to expand... Update: This seems to not work while the device is locked in Kiosk Mode, the display lowers the brightness but the screensaver does not actually start. I tried to add the package "com.android.systemui/com.android.systemui.Somnambulator" or "com.android.systemui.Somnambulator" or both to the allowed apps in Kiosk mode (thinking it was the gold ticket) but didn't work... same behaviour.