LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Reply
  Search this Thread
Old 02-15-2022, 12:05 AM   #1
inkscape
Member
 
Registered: Dec 2011
Distribution: Slackware 14.1
Posts: 62

Rep: Reputation: Disabled
screen on and off in loop


I'm looking for an apk or a way like:
turn on the screen (without my participation)
make a sound (to notice that the screen is visible)
turn off the screen after a predetermined time
And so that all of this is done in a loop when you turn on the apk.
 
Old 02-15-2022, 01:37 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by inkscape View Post
I'm looking for an apk or a way like:
turn on the screen (without my participation)
make a sound (to notice that the screen is visible)
turn off the screen after a predetermined time
And so that all of this is done in a loop when you turn on the apk.
"APK" would mean that somebody implemented exactly that for you. Unlikely.
More likely: install some sort of automation tool for Android, something that let's you execute shell scripts (possibly termux).
 
Old 03-30-2022, 12:18 PM   #3
LilyRoss
LQ Newbie
 
Registered: Mar 2022
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by inkscape View Post
I'm looking for an apk or a way like:
turn on the screen (without my participation)
make a sound (to notice that the screen is visible)
turn off the screen after a predetermined time
And so that all of this is done in a loop when you turn on the apk.
hey,

it would not be possible to implement that.
you can look for a third party application, which can do that for you
 
Old 03-30-2022, 03:20 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,751

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by LilyRoss View Post
hey,
it would not be possible to implement that. you can look for a third party application, which can do that for you
Like what? Got suggestions? You've posted several times now all with nonsense or posts that don't apply/answer questions. You have also been reported to the moderators.

Beyond that, if someone writes a program to turn on the screen, play a sound, and go back to 'sleep' for a while, that's VERY doable, and easily done with pretty much any platform.
 
Old 04-06-2023, 10:04 PM   #5
stoatswamp
LQ Newbie
 
Registered: Apr 2023
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by LilyRoss View Post
hey,

it would not be possible to implement that.
you can look for a third party application, which can do that for you
I need to know a reputable third party.
 
Old 04-07-2023, 09:11 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,751

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by stoatswamp View Post
I need to know a reputable third party.
Really? Or do you want to promote your website that's in your profile??? Reported.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen power off doesn't power off GPU Geremia Slackware 8 04-27-2021 07:39 PM
[SOLVED] Loop , use sed to remove and update loop final count pedropt Programming 9 10-16-2019 12:52 PM
xset dpms force off does'nt turn off screen anirudh.iitm Linux - General 3 02-24-2007 01:54 PM
for loop only works properly on first loop symo0009 Programming 1 12-25-2005 05:17 PM
while loop or for loop? mijohnst Programming 18 11-21-2005 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 01:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration