[Q] Miracast to fullscreen in portrait - Android Q&A, Help & Troubleshooting

Hi,
I'm trying to screen cast from a Nexus 4 to a large screen TV (using a PTV3000). I want to put the TV in portrait mode and have the screen case occupy the entire screen, however I don't seem to find a way to accomplish this. When the phone's orientation is vertical (portrait) it assumes the TV is in landscape orientation and the phone screen is displayed small in the middle of the TV with black space on the sides.
After doing some searching it seems that this behavior can only be changed with a custom ROM, however I haven't been able to pinpoint where in the AOSP tree this behavior can be changed. Any suggestions are much appreciated.
Thanks!

Full screen
mariusmuja said:
Hi,
I'm trying to screen cast from a Nexus 4 to a large screen TV (using a PTV3000). I want to put the TV in portrait mode and have the screen case occupy the entire screen, however I don't seem to find a way to accomplish this. When the phone's orientation is vertical (portrait) it assumes the TV is in landscape orientation and the phone screen is displayed small in the middle of the TV with black space on the sides.
After doing some searching it seems that this behavior can only be changed with a custom ROM, however I haven't been able to pinpoint where in the AOSP tree this behavior can be changed. Any suggestions are much appreciated.
Thanks!
Click to expand...
Click to collapse
Did you ever get the full screen to work?

Related

Horizontal video output?

Right now, when you connect the Galaxy S III to a TV, it'll display the video in whatever orientation the S3 is currently in. For example, when you hold the phone vertically, it shows up as portrait on the TV (with black spaces on either side), and when the phone is held horizontally, the TV displays landscape video.
Since I have a screen that can rotate, I want to make it so that the video that the Galaxy S III displays will always fill the screen. As in, when the S3 is held vertically, the video it displays fills the whole screen without the black spaces (if you were watching it on a TV, it would appear sideways).
Is this possible? I know that on the iPhone there's an app on Cydia called Landscape TV Out, which always outputs the video in landscape (thus filling the screen). That's what I'm looking for.
If an app is possible but it doesn't exist, I'm willing to pay for one to be made.
To clarify, I've attached two pictures that show what the S3 outputs by default and what I need it to look like in portrait.
I've searched through the GT-i9300 and SGH-i747 source code, but I haven't found anything (maybe I'm not looking for the right thing?)
Any assistance would be greatly appreciated.

[Q] Horizontal video output?

Right now, when you connect the Galaxy S III to a TV, it'll display the video in whatever orientation the S3 is currently in. For example, when you hold the phone vertically, it shows up as portrait on the TV (with black spaces on either side), and when the phone is held horizontally, the TV displays landscape video.
Since I have a screen that can rotate, I want to make it so that the video that the Galaxy S III displays will always fill the screen. As in, when the S3 is held vertically, the video it displays fills the whole screen without the black spaces (if you were watching it on a TV, it would appear sideways).
Is this possible? I know that on the iPhone there's an app on Cydia called Landscape TV Out, which always outputs the video in landscape (thus filling the screen). That's what I'm looking for.
If an app is possible but it doesn't exist, I'm willing to pay for one to be made.
To clarify, I've attached two images that demonstrate what the S3 does by default and what I need it to do.
I've searched through the GT-i9300 and SGH-i747 source code, but I haven't found anything (maybe I'm not looking for the right thing?)
Any assistance would be greatly appreciated.

How to "hacQ" the Nexus Q so portrait apps work on a landscape-only screen

Hi,
Several apps I have tried (maybe ~10% of them) only have portrait mode. This is a problem if you have a TV you can't rotate.
I wonder if anyone has any ideas of how to write, say, a background service that detects if it's displaying in portrait mode, and then shrinks the screen view and flips it 90degrees (so essentially you have a portrait screen that is now the correct way up, with black screen on either side). You can't tell it to display in true landscape because that's hard-coded into the app, so it is better to just rotate the portrait display. However this is a hard thing to do as the screen display is very low-level... but does anyone have any ideas of how to accomplish that?
I've done some searching, but of course Android has never really faced this problem before. Android has either been on a rotatable mobile device, or it's been on a GoogleTV where everything is landscape...
If so, that would open up more apps for Q-compatibility...

[REQUEST] Reversed Mirror Effect in Landscape Mode (Projector Display)

Hey guys,
I've been working on a small projector using a high aperture camera lens in small box (painted matte black internally) and have tried various mirrors and magnifying glasses to reverse the mirrored effect that is projected. With a mirror the image is inverted back to normal but has some flaws. Without the mirror the image comes backwards. I have found apps to reverse landscape mode so the image projected is upright, but the image is still inverted (text is backwards).
I've mounted a box with the lens on a tripod and I can place the device inside, adjust it to the preferred size and adjust the lens focus till the image becomes clear. The projection is only visible in low light/unlit rooms with even full brightness. I'll share what I've done at some point as soon as the project is complete, I've found it extremely useful already for watching videos on the walls and ceiling, though my main goal is to use it to project images onto a canvas to be traced and painted over. Rather then spend $100+ on a projector, I figured I'd save the money and use what I have available.
I've searched endlessly for a solution. Mirrors and/or additional lenses cause too much light loss and quality distortion. The ideal solution would be to invert the reversed landscape so the projection appears in full brightness, quality and allows the projection to appear "normal"... Through remote access the device could be controlled without removing it from the projector housing.
For static image projection I could manually flip the image, but I'd like to have the entire display flipped for full functionality of all apps, games, movies, etc...
So far I've managed to get a crisp display projected at about 40 inches although the color is slightly desaturated.
Perhaps this isn't something that an app can solve but maybe a custom kernel could.
If somebody were to make an app that did this, I'm sure it would be marketable.
Any suggestions or help with this would be greatly appreciated.
Thanks in advance,
-Kompster

Fully rotate (home) screen 90 degrees

hello everyone,
I'm having a problem with the rotation of my android device and I was hoping if anyone could help me with this.
to give some backstory, I'm trying to create a magic mirror using a MK809 III B Quad-Core android stick, which uses android 4.4.2
the stick is used with a computer monitor (Samsung Syncmaster 205BW), but the monitor will be used vertically. (I'm using a HDMI>DVI-D adapter to connect the two)
because of this, I need to have the screen rotated 90 degrees in portrait mode, and android does allow you to change the rotation of the screen, but it doesn't do it well.
normally the rotation is set to landscape, but you've the option of setting the rotation of the screen, but if I set the rotation to 90 degrees, rather than actually rotating the screen with 90 degrees, it rather pushes a vertical screen in landscape mode, thus cutting off half of the screen.
so far I've tried apps such as Ultimate Rotation Control, but those do not actually rotate the screen, rather they just lock the rotation.
my question now is if anyone can help me with this problem, or tell me if it's even possible to do the thing I'm trying to do.
Any Luck?
I'm having the exact same problem with APQ8084 SOM running android 5.0.2 outputting to HDMI monitor (no accelerometer).
You would think this would be an easy problem to solve.
If I put my Winodws 10 Monitor in portrait mode, it correctly rotates screen 90 degrees end of story.
As Yusunoha mentioned, changing the user rotation in Android (via several methods):
1. using the "settings put system user_rotation 0/1/2/3"
2. modifying PhoneWindowManager.java to always return preferred rotation as "portrait"
3. Setting "persist.panel.orientation=90/270"
Does NOT result in screen rotating 90 degrees.
Instead I get a compressed portrait mode stuck inside my landscape orientation.
It's almost as if the accelerometer (which I don't have) is telling the OS to always orient towards it's perceived gravity.
Any tips rotating the entire Android Display experience (not on a per APK basis) would be wonderful.
Anyone have any ideas?
Yusunoha said:
hello everyone,
I'm having a problem with the rotation of my android device and I was hoping if anyone could help me with this.
to give some backstory, I'm trying to create a magic mirror using a MK809 III B Quad-Core android stick, which uses android 4.4.2
the stick is used with a computer monitor (Samsung Syncmaster 205BW), but the monitor will be used vertically. (I'm using a HDMI>DVI-D adapter to connect the two)
because of this, I need to have the screen rotated 90 degrees in portrait mode, and android does allow you to change the rotation of the screen, but it doesn't do it well.
normally the rotation is set to landscape, but you've the option of setting the rotation of the screen, but if I set the rotation to 90 degrees, rather than actually rotating the screen with 90 degrees, it rather pushes a vertical screen in landscape mode, thus cutting off half of the screen.
so far I've tried apps such as Ultimate Rotation Control, but those do not actually rotate the screen, rather they just lock the rotation.
my question now is if anyone can help me with this problem, or tell me if it's even possible to do the thing I'm trying to do.
Click to expand...
Click to collapse
Found any solution? Even with my rooted device and these settings it won't work. Also using usb c > hdmi > vga.

Categories

Resources