I've read the tutorials, but progress has been minimal due to my Andriod ineptitude. I'm basically mounting a small Andriod phone inside a large telescope for an art project so when the user looks through and moves the scope, a video file is launched.
I'm trying to get Andriod (KitKat) to do the following in the following order after boot:
1) Disable WiFi, Data, Sound, Sleep, any other potential distraction.
2) Launch a screen saver file (text only, asking the user to move the scope up and down to activate the video.)
3) When the phone is moved up or down (Accelerometer based), a VLC .mp4 file is launched. While the video is playing, movement of the phone shouldn't interfere with playback. So when video is playing, Accelerometer is disabled.
4) Upon completion of the video file, VLC is killed, accelerometer function resumes, and the screen saver file returns and is ready for the next user.
Also, when the phone is plugged in to a computer, will Tasker become disabled? I basically want Tasker to run all the time, but periodically the video files will need to be changed and the device will be plugged into a computer.
Thanks in advance for any assists.
Related
I was disappointed, but not surprised to see that functions for dropping internal rendering and only render to the external screen were in-built into the media-player on the lg. I mean, having an overlay where you could switch context would have been just too easy, after all.
But is there a way to turn off the internal rendering and only render to hdmi? Since android has a composite manager on it's own, it seems strange it shouldn't be just a simply command for it, that would leave the phone context inactive, and the rendering context on hdmi. In the same way the media player works.
I.e., if playing netflix, you would just pick the source for the viewport, and leave the program just serving (while the view on the phone is inactive). Same with games.
Think it's possible to do that in an overlay? Or is it necessary to do it individually for each program. Or, more likely, that it's something that has to be implemented in Android at some point..?
I wonder how do you bring that content back to o4x to control the phone
Sent from my LG-P880 using xda premium
UIQrules said:
I was disappointed, but not surprised to see that functions for dropping internal rendering and only render to the external screen were in-built into the media-player on the lg. I mean, having an overlay where you could switch context would have been just too easy, after all.
But is there a way to turn off the internal rendering and only render to hdmi? Since android has a composite manager on it's own, it seems strange it shouldn't be just a simply command for it, that would leave the phone context inactive, and the rendering context on hdmi. In the same way the media player works.
I.e., if playing netflix, you would just pick the source for the viewport, and leave the program just serving (while the view on the phone is inactive). Same with games.
Think it's possible to do that in an overlay? Or is it necessary to do it individually for each program. Or, more likely, that it's something that has to be implemented in Android at some point..?
Click to expand...
Click to collapse
I believe you can do that thru the secret menu. Dial 3845#*880# and go to HDMI settings and choose whether you want full phone mirroring or use as an extension of your screen so you can still use your phone to do whatever.
sent from my LG Optimus 4XHD using TP2
Oh, nice. Thank you. Doesn't seem to be any options to not run a mirror (see "full mirror" and "cinema" in the modes). And the changes don't do anything and don't stick.. But I'll look around some more. ..do you need to root the phone to change the options..?
update?
UIQrules said:
Oh, nice. Thank you. Doesn't seem to be any options to not run a mirror (see "full mirror" and "cinema" in the modes). And the changes don't do anything and don't stick.. But I'll look around some more. ..do you need to root the phone to change the options..?
Click to expand...
Click to collapse
i know this is an old post i am responding to, but having searched all over i cannot find any update on the possibility of gaining a full 'mirror' display on my 4x hd.
did you have any luck getting the options on the 'hidden menu' to stick? it was the first thing i tried, but as stated no options stick once selected (i assumed it was going to be simple when i saw the option for 'full mirror' on the menu).
i have tried changing the options on 'hidden menu' pre and post root, to no avail. im gutted to find that this phone dosnt support 'full mirror' on the hdmi out, usb otg :crying:
if anyone knows how to do this on my rooted 4x hd PLEASE HELP!
cheers in advance!
UIQrules said:
I was disappointed, but not surprised to see that functions for dropping internal rendering and only render to the external screen were in-built into the media-player on the lg. I mean, having an overlay where you could switch context would have been just too easy, after all.
But is there a way to turn off the internal rendering and only render to hdmi? Since android has a composite manager on it's own, it seems strange it shouldn't be just a simply command for it, that would leave the phone context inactive, and the rendering context on hdmi. In the same way the media player works.
I.e., if playing netflix, you would just pick the source for the viewport, and leave the program just serving (while the view on the phone is inactive). Same with games.
Think it's possible to do that in an overlay? Or is it necessary to do it individually for each program. Or, more likely, that it's something that has to be implemented in Android at some point..?
Click to expand...
Click to collapse
Screen Standby # Root
Search on The market
thanx
Tomaat said:
Screen Standby # Root
Search on The market
Click to expand...
Click to collapse
handy app! cheers for bringing to my attention. ive installed and works fine (turning screen off when streaming a video to tv).
but im still no further trying to gain fill mirroring of my phones screen on the tv.
although i just read some promising news for the development of features missing from the p880; mhl hdmi mirroring + usb otg, etc...
http://forum.xda-developers.com/showthread.php?t=2092320
(i hope i linked it correctly, and doing so is within forum rules). regardless, massive thanx to user arnookie for contacting lg and giving the info.
good things to come soo for our phone i hope.
I want to write my own c#/XAML/javascript code for phone 8 (so that I learn a bit of coding related o phone 8) for keeping all my videos safe by a password.
I want to create a app which will ask user a numeric password when user tries to play a video from my phone. So, how can I implement it ?
p.s. I'm not asking for exact code to do it. I want to know how I can achieve this feature through c#/XAMl/javascript code
1. Create screen for entering password on open of App
2. If it's true, open the Application isolated Storage area
3. If not, quit it.
4. If you want to add a video [secure it], open the library and ask user to select the video, copy it to your app isolated storage area and remove from original library.
5. to un-secure it, you can follow the reverse step.
That is not locking a video .
I want to lock a video in its present location, I mean without cut-paste soln. you gave. . But my intent behind asking question was, is it possible to have a lock on a video or all videos together without copy-paste or cut paste from it's original location ?
Apps have no way of interfering with system functions: that includes access to the image/video library. So: you can't implement that feature in the way you described.
there are some apps in the store that can insert media into the system media folders like music videos etc..
How do they do it? That's a very good question....
They do something similar, that is they import files and then you have delete the video from original location .
And this is one reason for me to develop my own app to protect my videos.
StevieBallz said:
Apps have no way of interfering with system functions: that includes access to the image/video library. So: you can't implement that feature in the way you described.
Click to expand...
Click to collapse
So, you mean I cant develop it . So, is it possible to develop something like applock (for android) which lock apps but not individual video. I'll lock the video player itself if it is possible
So, i have an idea im trying to make work.
I just recently bought a $10 clamp stand for 7-10 inch tablets that happens to fit my nexus 7 perfectly, and along with it came an idea to expand my current computer/desk setups abilities.
1. The stand has a weighted, rubber, 360 degree rotatable holster, that is waited enough to safely hang my nexus 7 off the edge of my desk, without risk of it dropping, making it look as if it is attached to the desk itself. that is where it is at the moment.
2. Face-recog: I want to get this interface on my computer, however for now face recognition works wonders on my nexus to unlock it when i sit down, when paired with (3.) i no longer have to touch my power button to wake the device (at expense of battery, which as my nexus is stationary, is no longer necessary)
3. Camera-motion-detection-wake: there is an app on the app store i bought to detect motion even on lock through the camera, when it does, it wakes the device which immediately starts face recognition, when i sit down, face detection will unlock my device.
4. (IDEA) Face recog for computer: If there is an app on the app store that can lock a windows/fedora/mac/ubuntu/mint device while the tablet screen is locked, i want to know about it. However to use multiple programs in sync, a face unlock program is available for windows as long as you have a webcam, if you set up your nexus as a wifi camera through an app on the play store, the nexus, and windows will be seeing the same image through the nexus to unlock your computer, and tablet, simultaniously. --Currently in motion to complete (4.)
5. Because of the voice recognition capability of the nexus 7, it would then extend your abilities to quickly gain knowledge on a subject without opening a window and using google, because of hot word detection, this makes it much easier to use on the nexus seven. (IDEA: i am currently looking for an app that seeks hotword detection while not inside of google voice so i can open google voice from my home screen (or any app) using voice)
6. Assistant, Speaktoit: This application is a degree more advanced then google now, and is freely available on the app store. i will be using a feature to replace google now with assistant by speaktoit, eliminating the need for me to press a button to continue to talk to my assistant.
7. XMBC: xmbc media center was recently released for android, and is installed on my nexus 7 currently, with it i should be able to keep a movie, show, music, or weather up without sacrificing productivity on my computer.
8. SPB shell: this nice, expensive, but nice, shell has a very advanced tablet interface that grants much more potential to a device that is using it. I currently have purchased this as it provides me immediate information, and a sophisticated note widget which i can keep on my desk, as my tablet is now stationary.
9. (IDEA Motion detection wake for both tablet and computer): motion detection can be performed the same way as step 4, using a program that uses the nexus 7's camera to wait for motion detection on my windows computer, both my tablet and computer, will wake the screen, and unlock upon me sitting down at my desk.
10. 1 keyboard, 2 devices: Using the wifi keyboard app originally created here on XDA-Developers, which is now freely available in the Play store. You can use your computers keyboard on both your computer, and your tablet, making your tablet much faster at completing tasks, as you are no longer limited in speed by an on-screen keyboard.
11. Instant messaging: This frees up your computers screen for productivity, while you can then chat on the tablet, using the same keyboard.
12. Audio from both devices, 1 headset: streaming your computers audio to an android device is simple, however streaming audio from an android device to your computer is much less complicated even than that. If you intend to use headphones, using an app that sends the audio from your nexus, to your computer, would allow you to use your tablet more effectively, as you would not miss notification sounds.
13. Talkatone: This allows you to place free phonecalls inside of the US on your tablet as long as you have wifi, with sprint and t-mobile, you can even keep your regular phone number, and recieve calls meant for your phone, on your tablet.
This setup with 2 nexus 7's will only increase computer productivity, same with 3, same with 4, and free up your screen space on your computer for things you want to do, while having things like (music, youtube, videos, social networks, weather, downloading) all on your tablet/tablets.
I will have a video of this setup working, how it will look , and demonstrate any increase in productivity, in the next week or so on youtube, and will embed it here for any who are interested.
I do want to ask though, if any of you out there that read this know of any applications i may not have heard of to help this process, or any other thing the nexus can do to increase productivity when stationary by your computer, Please feel free to add on or aid me in any way, i want this to look as nice as possible.
New to Chromecast, and Autocast. Been searching online with great difficulty, so I figured I'd ask here.
I have autocast unlocked, tasker, chromecast , and an unrooted LG Stylo 4 (I know, I know!) Is it possible to have the phone in screen mirroring, automatically launch an app like youtube in casting mode, then automatically return to screen mirroring upon exiting the app? Example.
1 Start on device Home screen mirrored.
2 Tap YouTube icon, device automatically screen
casts to television (I've noticed less skipping and improved volume when casting manually from the YouTube app)
3 I slip into my momentary adorable cat video coma.
4 I regain consciousness, and decide I've had enough YouTube, and exit app.
5 Device notices this, and automatically returns to screen mirroring.
Any information would be appreciated.
App withdrawn--URL no longer valid, no working replacement
Yes, that's right, the online 24/7 news outlet of CBS News.
Well, this is just for fun, but it is interesting in its own way and was very easy to do, so I did it (cooped up for weeks.....).
Requirements
1. This is a Tasker app and has a dependency on two library files which are part of a GApps installation. If you don't have GApps or one of my other Tasker apps already, you need to copy the two files in the zip as below:
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Set permissions for both files to rw-r--r-- and reboot. Without these files resident, the app will not install.
2. MX Player or some other video player capable of playing network streams. Here's a link to the appropriate MX Player version and for the custom codec package. You need both.
3. Realistically, either NoRefresh or FastMode, unless you like the flickering video effect.
4. USB Audio, unless you are really good at reading lips. I actually tried to turn on the CC for the stream, but it seems they do not CC everything anyway, so I gave up. Just for fun
Installation
Install apk as normal from a file manager or via ADB. On first run (don't forget WiFi!) it may ask what app you want to use to play the stream. On my device it gives MX Player and Opera (nope!) as options. The screenshot below shows that MX Player automatically goes to landscape (although the device remains in portrait mode) when playing the stream. This is a freeze-frame screenshot, without NoRefresh, so it looks really great (and is actually in color when you take the shot). I find that the contrast on NoRefresh has to be adjusted quite a bit on the + side from default to get something watchable, but there is a limited range of grey and it's easy to wash everything out looking for that perfect spot. My kernal doesn't support FastMode but from my memory of it I would expect a lot of ghosting.
In theory it would be possible to extend this app for general IPTV use by providing a text file containing stream URLs and creating a menu system to choose one. But I'm not that bored (or crazy) yet