[Q] Home automation project based on old android tablet Galaxy tab 10.1 - help - General Questions and Answers

I've started my new (short term hopefully) project, trying to to some home automation controller / media player panel based on my old galaxy tab 10.1 with CM 10.2
first of all any chance to change a display time out to none without any external application ?
I wish the device will stay ON all the time or even better to make the screen start and stop at the time (maybe tasker ? but first I need to turn off the system timeout)
second thing - trying to find some very simple launcher application with possibilities to set up few (6-8) large buttons on the screen to start some of my predefined apps / no app drawer access from desktop - thinking about a car home ultra but without the navigation / location and media buttons
but maybe there is something better ?
third thing - screen saver - is there any screensaver app in the meaning like a PC screensaver - I would like it to show up automatically after some period of time of inactivity - displaying photos from the local folder and gone as fast as the screen will by touched - thinking about tasker again but have no idea is that possible there so will need to find out first, any ideas ?
any help really appreciate
thanks

Related

[APP/OPEN SOURCE]Screen Standby ♯ Root [2.0]-Screen off while keeping device active

[APP/OPEN SOURCE]Screen Standby ♯ Root [2.0]-Screen off while keeping device active
SCREEN STANDBY ♯ ROOT 2.0
TURN OFF SCREEN AND AVOID OVERHEATING PROBLEM FROM PROLONGED STREAMING/GAMING OVER HDMI / MHL | DOWNLOADING DATA OVER WIFI
SAVE YOUR SCREEN AND BATTERY WHILE PHONE IS STILL RUNNING!
OPEN SOURCE!
AUTO SCREEN OFF / ON WITH HDMI CONNECTION / DISCONNECTION
Git Repo: https://github.com/nkahoang/screenstandby
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Remote Controller Feature - Public Review
Setting Wizard
Search Plugin
Selectable UI
Outgoing call automator
​
TURN YOUR SCREEN INTO TOUCHPAD, NO NEED FOR BUYING AN EXTERNAL MOUSE!​REMOTE CONTROLLER FEATURE!​SCREEN STANDBY IS NOW LIVE ON GOOGLE PLAY STORE!
The app is published under the name "Screen Standby ♯ Root"
VIDEO CLIPS SHOWCASING THE APPS:
SEE NEW FEATURES IN ACTION!
SEE APP IN ACTION! (thanks Doctor.Krouch so much for the awesome clips)
All About Android - Episode 86 with a short review of Screen Standby
XDA TV Review of Screen Standby!
CooLoserTech·Top 10 Best Apps of the week # 171
Click to expand...
Click to collapse
INTRODUCTION
Hi everyone,
This is originally for HTC One X, however, I have ported it to the Galaxy Nexus and now it could work on all devices! (Galaxy S3 / Moto Razr / etc). "Screen Standby" will completely turn off the backlight while keeping the phone running for MHL / HDMI streaming|gaming. That means you can now watch movie / play games on big screen and can still turn off the screen (touch screen still works!).
Click to expand...
Click to collapse
ROOT REQUIRED (Non-root method also available but not as effective & battery saving as root)
FEATURES
- Switch off the screen temporarily without actually putting the phone into 'sleep mode'. The phone is still running! It saves your battery, avoids heating to prolong battery life
- Since 1.96, screen can be optionally turned into touchpad!
- It has a nice little widget that let you quickly turn the screen off from your homescreen
- Since version 1.5 beta 2, shaking your device will temporarily toggle between complete screen off and lowest brightness level (so that you can perform quick action without playing a blind guessing game)
- Non-root method now available with 1.98 Beta 7
- One two dimmer: Turn off screen automatically after an idling time (no user interaction)
- Simple interface
Click to expand...
Click to collapse
WHY?
This little app will temporarily turn off screen backlight, however, unlike putting the phone to sleep, the phone is kept running. It is perfect for keeping the phone from heating from prolonged HDMI streaming over Medialink HD or MHL connection (the screen is off yet image/movie/games continue to be streamed) / or wifi data downloading, etc.
HOW DOES IT WORK?
It attempts to perform various actions (cutting screen voltage / brightness / light switch / writing a blank image to frame buffer, etc)
(Since 1.5, the voltage method is temporarily disabled)
For some devices, the screen may shutter a bit if Automatic Brightness is turned on. However, the app will automatically detect it and put the backlight into sleep again. So if you want to avoid the problem, set Automatic Brightness to false.. Since 1.7, enable auto brightness handling in app setting helps preventing this flickering
HOW TO TURN ON THE SCREEN AGAIN?
+ Click on the app notification on your status bar (since version 1.3) or
+ Simply put the phone into true sleep (short press power button) then turn it on (power button again)
+ Temporarily lid the light a bit by shaking the device (since 1.5b2, enable it in Menu -> Settings)
+ If you can't turn on using any of the above methods, press emergency button (in main app interface) to turn on / or use 2 by 1 widget
Click to expand...
Click to collapse
SCREENSHOTS (Updated for version v1.97)
Installation
Install as normal apk No big deal
Remember, install and use as your own risk, even though I can't think of any damage this little app can cause to your phone
Click to expand...
Click to collapse
Changelogs:
ßeta 2 Changelog:
Add toggable UI: Metro and Android Dark Holo (in Settings -> Extra)
New feature: Outgoing call automator !
First ßeta Changelog:
- New! Setting Wizard to help user quickly and easily set up Screen Standby. Simply select your known-supported device (the list is expanding!
Please help me) and your use-case (Streaming movie / Playing ingress / Playing Youtube etc) and the wizard will automatically select the optimised preset for you!
- New! Screen Standby Search Plugin to help automate Screen Standby from Search key (long press search hardware-key or softkey) or Google Now gesture (swipe up from Home softkey on Jellybean device). The plugin can now open Screen Standby interface, activate / deactivate / toggle screen off or launch Remote Controller
- Added better Root & BusyBox checker and helper
- Added new Tasker intent to control screen standby:
com.nkahoang.screenstandby.action.TOGGLE : to toggle screen on and off automatically
com.nkahoang.screenstandby.action.REMOTE_CONTROL: to launch Remote Control from tasker
- Added new option to broadcast an intent to Tasker when HDMI is detected (go to my app's settings -> HDMI Detection -> Enable broadcast on HDMI Connection/Disconnection. Specify intent action (case-sensitive) for each case. Go to tasker, add New System Event -> Intent Received, type exactly the action intent you provided in Screen Standby). The best part is, HDMI Intent can also be broadcast without activating Screen Standby (yeah, so you can use SS as a HDMI sensor for tasker)
- Added ability to use Remote Controller with Wifi-Direct (if a warning message is shown, just click 'Continue Anyway')
Optimizations:
- Continued optimisation for Nexus 4
- Added wake-lock to One Two Dimmer
- Slightly tuned sensors
From user report:
Normally, with the same amount of time watching movie, battery drain drops from 30% down to just 2%!!!!!!!!!!!
Click to expand...
Click to collapse
Please report bugs / feedbacks / suggestions.
To help me solving your issue faster, since version 1.31, you may want to open the app, hit "Menu" key -> Print debug info. It will then generates a log file containing the required information. Please send that file over pm to me. Thank you
Click to expand...
Click to collapse
Special thanks to:
- ppmeis (helps with S2, now S3 / Transformer and lots of other stuffs)
- winsettr (helps with Galaxy Nexus compatibility and constant reports)
- mnsk (helps with his Sony and Iconia)
- cocatriz (helps with S2)
- TheDarkLux (helps with Galaxy S3)
- evilmtv (helps with problems on GB devices)
Coffee buyers:
Styles Vancleave
- agronick from AppRadio / ARLiberator forum
- jjwatmyself (and also thanks for his mention of my app on his thread)
- jdbaldi
- jhanson
- MichaelMotes
Youtube clip:
- Doctor.Krouch
Click to expand...
Click to collapse
Tutorial: Setup app to work with tasker / Llama
Follow the instruction of this post:
http://forum.xda-developers.com/showpost.php?p=33073452&postcount=92 (Tasker)
http://forum.xda-developers.com/showpost.php?p=33073452&postcount=565 (Llama, thank Buzzthebuzzsaw)
DOWNLOAD
Stable version of app can be downloaded in attachments section on through Google Play Store. In addition, this thread will receive beta / experimental build in the future.
Archived build (1.1 to 1.96) can be downloaded from here
Click to expand...
Click to collapse
I like this great idea
Sent from my SPH-L710 using xda premium
Good idea finally something like this
Sent from my SGH-T989 with Darthstalker
Awesome app. I don't know if this makes sense, but on my Galaxy Nexus the previous version was much quicker to turn the screen off...
Sent from my Galaxy Nexus using Tapatalk 2
OCT 14 2012. App updated.
UI rework + Add notification to quickly turn off screen without put phone into sleep (see screenshot)
winsettr said:
Awesome app. I don't know if this makes sense, but on my Galaxy Nexus the previous version was much quicker to turn the screen off...
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
It should be slower the first time you use it only (since now it will manually find screen device for every phone, not hardcoded like before)
Working on TF300T almost perfect. The only "issue" is that when I turn off display, keyboard dock doesn't work (touchpad and usb works but not keyboard).
It doesn't work on my sgs2...I'll try at home with mhl connected and I'll report again. Nice work man. A must have app!
Confirmed it doesn't work on SGS2. It turns brightness at lowest level without standby screen.
Device Info:
Samsung Galaxy S II GT-9100 International
OS Version: 4.0.4 ICS (tested on GB 2.3.6 too)
Awesome app, one thing is that is a bit of a guessing game when trying to select apps and actions inside apps. Could be a tiny bit higher, so we can see at least barely what we are tapping on?
ppmeis said:
Working on TF300T almost perfect. The only "issue" is that when I turn off display, keyboard dock doesn't work (touchpad and usb works but not keyboard).
It doesn't work on my sgs2...I'll try at home with mhl connected and I'll report again. Nice work man. A must have app!
Confirmed it doesn't work on SGS2. It turns brightness at lowest level without standby screen.
Device Info:
Samsung Galaxy S II GT-9100 International
OS Version: 4.0.4 ICS (tested on GB 2.3.6 too)
Click to expand...
Click to collapse
Please download the latest version (1.31) which have print debug info ("Menu" -> "Print debug info") and sends the file it generates over to me. I don't have either of your devices so this may be the only way I can fix that bug.
jgaf said:
Awesome app, one thing is that is a bit of a guessing game when trying to select apps and actions inside apps. Could be a tiny bit higher, so we can see at least barely what we are tapping on?
Click to expand...
Click to collapse
Ugh, i'm not sure what you mean. Can you explain it a bit clearer? If it is possible then I shall implement that.
I think he's asking if you can make it have a little bit of light so he can barely see the screen. When you are using the phone with a TV, you have to guess where to touch the screen.
Perhaps an adjustable brightness setting or just a barely on setting would be helpful for some.
That really defeats the purpose of this app... If you need that functionality, look into Screen Filter or something similar that will lower the brightness but keep the screen on.
Sent from my Galaxy Nexus using Tapatalk 2
How about this:
Pressing the button will now toggle(circle) between three modes:
- Brightness On (app not functioning)
- Lowest brightness possible (but not completely off) and
- Zero brightness (completely turn off screen)
I HAVE BEEN LOOKING FOR THIS.!!!!! THANK U.! LOL
Sent from my PG86100 using xda app-developers app
nightwinn said:
I think he's asking if you can make it have a little bit of light so he can barely see the screen. When you are using the phone with a TV, you have to guess where to touch the screen.
Perhaps an adjustable brightness setting or just a barely on setting would be helpful for some.
Click to expand...
Click to collapse
Yeah this what I meant. Specially when playing games it is very hard, for stuff that can't be mapped into a gamepad
winsettr said:
That really defeats the purpose of this app... If you need that functionality, look into Screen Filter or something similar that will lower the brightness but keep the screen on.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
The thing with screenfilter is that it lowers the brightness on the TV too.
I just had another idea, don't know how complicated it would be to implement though. Would it be possible to add "an always on top or floating button" that would toggle the screen on and off. For example there's an app for exploiting games called Game Guardian, this app has a very small, semi transparent and movable icon that lets you access it from anywhere. This way when we need to open mxplayer and select a movie from our library we can easily turn the lights back on and then turn them off after selecting the video.
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
nkahoang said:
Please download the latest version (1.31) which have print debug info ("Menu" -> "Print debug info") and sends the file it generates over to me. I don't have either of your devices so this may be the only way I can fix that bug.
Click to expand...
Click to collapse
Here's the log. I hope it'll help to find the issue.
Hi, i have a I9300 SGS3 and i doenst work.
Here's the debug log.
TheDarkLux said:
Hi, i have a I9300 SGS3 and i doenst work.
Here's the debug log.
Click to expand...
Click to collapse
Your log has nothing inside! Is it because you didn't grant root access to my app? Try uninstall / reinstall and answer "Allow" when superuser/supersu asks you.
ppmeis said:
Here's the log. I hope it'll help to find the issue.
Click to expand...
Click to collapse
Sent you a pm for beta version.
nkahoang said:
Your log has nothing inside! Is it because you didn't grant root access to my app? Try uninstall / reinstall and answer "Allow" when superuser/supersu asks you.
Click to expand...
Click to collapse
It has, i tried uninstall/reinstall now, with same result. Log is empty
It is in my SuperSU app an has root access.
Here the log of SuperSU, because the app is writing anything in the log.
first log:
find /sys/devices -name 'brightness'
exit
sh: <stdin>(1): find: not found
second log:
find /sys/devices
sh: <stdin>(1): find: not found
BIG UPDATE: VERSION 1.4 BETA
+ Now have another way to turn off screen: SET SCREEN VOLTAGE TO ZERO VOLT. With this we have some bonus advantages:
- Much faster turn off time
- No more shuttering with auto brightness!
- Should work with AMOLED Devices (Galaxy S2 / S3 owners, please report!)
However, you should upgrade only if previous version does not work for your devices since this method is still a bit unstable.
Thanks a lot mate, now it works
Confirm working on SGS3.
Bug Report (1):
I have the app VirtualSat.eu to watch tv. When i'm in the app menu, display is off/black (tv still on) when i then select to watch something, the display powers on again.
Bug (2):
after the first operation, i pushed the home button (display powers off again), then scrolled down the notification bar to disable screenOff, it disappears from the notification bar. But display is still off. So i pushed the power button to get to the lock screen (this method is working).
Edit(1)
Tested a bit more, (for bug 2): If i reopen the app an repush on the screen off button (to get the app back in the notification bar), and then tried to reactivate the display, the display powers on for about 2-3 seconds and then again powers off.
For Bug(1): Tried another TV app (Zattoo) there the display stays off if i select a station to watch. So i think it's the app who uses a command that gets the display back on.
But in anyway thanks for your work. Will test with some other apps.
TheDarkLux said:
Yeah thanks a lot mate, now it works Big up
Click to expand...
Click to collapse
Can you test your S3 with MHL as well? I want to make sure that my method guarantees MHL and HDMI works

[Q] android smartphone display test with safe disconnect

Hi
I am new this forum and hope this is the right place for my request - thank you for advises.
I want to test smartphone (Samsung S4/S5/S6 & Motorola latest models) displays using a phone as tester. The displays (matching the phone type) will be connected by an extension flex, connector.
Many displays will be tested with 1 phone. Here is an example of testing S6 display.
1. Connect S6 display no1
2. Turn on S6 ; the actual smartphone acts as a tester - capable of testing many displays ; turn ON must be within few seconds (max 3 - unlike the standard boot up process)
3. User runs application - testing display (running several standard color patterns), touch sensor test - by drawing a rectangle around the perimeter of the display, nav key test
4. Pass/Fail - user evaluates - with an option of repeating the test if necessary
5. Turn OFF S6 - this should be within 1-2 seconds
6. Disconnect S6 display no1
7. Connect S6 display no2
There are already existing quite a few apps with testing the display however none of them offering SAFELY display removal. Its only possible (I think) when the device is completely OFF, but then it
has to be turned ON and with a standard BOOT up just this process could take a minute. The phone does not have to be turned off if there is an application which allows to SAFELY disconnect
not killing the circuitry on the actual main board and neither on the display! Otherwise I beleive it would need a modified root/operation system which only loads a min processes needed for the test.
The actual TEST phone can be reflashed, does not require any additional mobile functionalities (like the main radio transceiwer,amplifier, WIFI, camera, sensors, etc) just the test app which only controls the DISPLAY.
Please let me know what would take ($$$ & time) to make such application?
Thank you

[Q] Android & CCTV / Wake Screen on notification

Hi All,
I've been looking around for some options to help me wake the screen up.
I had 2 ideas one as if the device detected someone in the room (PIR almost) and simply turned on the screen to resume its last action.
or
Everytime a certain app made a notification - again simply turning on the screen and resuming its last action.
Otherwise ideally to trigger a app to load......
Logic behind this for example is use an old tablet as a digital photo frame, but not on all the time. Only when there is motion dected.
Equally, there is some many smart tech like Nest cam's for example, using an old tablet simply as a dsiplay source - when there is motion in the room, wake the screen or when the app makes a notification wake the screen!
Yes there is an argument for and against these things, but I am curious if anyone's got any ideas on apps or ways to make an android device behave like this?!
Anyway thanks all!

Android behavior running H24

Hi,
I have a Samsung tablet with Android 5.1.1 with the following apps installed:
- Nova launcher
- Autostart And StaY! (used to launch my app at startup ...)
- Buttons remapper
- No Screen Off
- Power Unplugged Shutdown
I have disabled lock / pause / shutdown screen, what Android could do, without my knowledge, if the tablet is not used but is always on and with the battery charger connected?
Help is urgent ...
I created an application that reads the values of some sensors via a Bluetooth module connected to a special circuit, and obviously I want the app to remain active 24 hours a day.
Using the Nova launcher to customize the interface, I launch my app automatically when the S.O. starts. via Autostart And StaYe and disable the buttons with Buttons remapper ... all to prevent the user from leaving my app.
With No screen Off I avoid the screen to turn off while with Power Unplugged Shutdown I turn off the tablet automatically when there is no charging voltage.
Android has function / settings that would block / disable any of the apps / services listed or the apps may no longer work? how can I avoid it?

Looking for android APP which turns on/off mobile data (for Samsung Galaxy XCover key)

Hello,
My phone, Samsung Galaxy XCover 6 Pro (Android 13, One UI 5) comes with feature that allows me to customize what happens when i press/hold one of its extra buttons.
I figured it would be nice to make it that i can toggle mobile data (or maybe wifi) with them as I do it a lot to save battery life. But here is the thing: i'm only allowed to assign APPs to these buttons, not specific phone functions.
So my question is, do you know any simple android APPs which will simply turn on and off mobile data or WIFI of the phone when launched and then shut down automatically? So it just performs function and then It's gone so i dont have to do anything.
Just install macrodroid
it is best for automation

Categories

Resources