Two screens/monitors with Android? - android

I want to develop an Android application which uses two screens to display information. For example: One screens shows the app, the other screen some information about the current app status.
My question: Does android support two monitors/screens? How would you build up such a device and project?

From API level 17, android supports this
Here is the link
https://developer.android.com/reference/android/app/Presentation
It is now possible for an APP to independently draw different content on primary and secondary displays. Secondary displays can be an HDMI screen or a wireless display.

Some devices do. For example the HTC Evo has a micro-HDMI output that you can send to a TV but the functionality is not built into the Android core so you would need to use the proprietary extensions.

You can only do it using widgets.
There is no other way. I have researched on this and there happens to be lot of problems. One company has successfully done it but they could not port two opengl instances.

Look at Kyocera Echo and Dual-screen SDK for Gingerbread!

Related

How to access the 2nd screen in a dual screen Android phone with Xamarin

I'm starting to work on a project where we need to access the 2nd screen of a dual screen phone, we are using Xamarin. I cannot find any documentation on how to do this. Is anyone aware of a way to do this?
The above comments are focused on second external screens, which is mostly what was around in 2019 :)
Now there are multiple dual-screen devices, including the Microsoft Surface Duo, and a couple of different styles from Samsung (Galaxy Fold/2, Galaxy Flip).
If you're using Xamarin.Forms, there's a TwoPaneView layout control that specifically detects and adapts to dual-screens, and also a DualScreenInfo helper class for device metrics. Get started docs and more details are available on learn.microsoft.com. Check out these samples and this GitHub repo. These APIs are currently hardcoded for the Surface Duo device.
If you're using Xamarin.Android, you have two options:
Microsoft's DisplayMask API, which is surfaced in the Xamarin.DuoSDK NuGet package. This is also targeted just at the Surface Duo - the GitHub repo has Xamarin.Android samples showing how it works.
The binding for Android's Jetpack Window Manager, in Xamarin.AndroidX.Window NuGet package (currently in alpha). This is the 'generic' API that will work on folding devices from multiple OEMs (eg. Samsung). Because it's still in alpha (as of April 2021), there aren't a lot of samples around but better support is coming.

How to freeze an android tablet on specific app?

I'm new to android development and working on a project called Arithland ATM. Arithland is a competition and I want to make a real machine similar to ATM which work with the competition score instead of money. My question is how to program android tablet to run just specific app I made and people can't close the app and go inside the android and other parts of the tablet like setting or google apps or camera or ....
I know it is possible because I saw such tablets in H&M which is a clothes shopping and they used tablets for survey.
then I put the tablet inside a physical case and it becomes something similar to ATM. note that I don't want to use a core and monitor and keyboard and other hardware to make this, I just want to make it by android tablet because of some reasons.
EDIT:
I found this link very helpful: Set up Single-Purpose Devices
special thanks to #csm_dev
Look at Screen Pinning on Security in Settings.

Android Layout resize and multiple emulations

I am going to create an app for devices with Android OS 2.1 and higher. As many developer I met layout problems and after reading about that in the official android documentation I decided to follow a way; I created 6 directory one for every screen density (ldpi,mdpi,hdpi,xhdpi,xxhdpi,xxxhdpi). What I want to know is if I did it right, I know that layout could be not exact at 100% but could I'll meet serious problems doing that?What I should do?
The second problem is checking app in many devices in the same time, I use Android Studio and I am able to create devices and use emulators but there is a plugin or a website or something else I can use to test quickly the app in tens of Android devices without set all manually?
Thanks in advance!

Is it possible to show multiple displays in Android 3.x Emulator?

Is it possible to display multiple displays in Android 3.x emulator?
I like to run multiple activities one on main display and the other on 2nd display. Just wondering if I can test in Android emulator.
Videoguy
Android does not support multiple displays. Device manufacturers that have created dual-display devices have done so on their own. Hence, there is no way to use multiple displays with the emulator at this time.

Creating Android UI like HTC Sense

Do you have any idea what's the starting point to develop an UI for Android OS, similar with HTC SenseUI ?
Can I create that on top of Android or I need to get the Android source code ?
Thank you.
Florin Matincă
You'd need to modify the Android OS to some extent, but since Android is open source, that's not a problem.
The problem is getting it installed on phones - if you've noticed, the only companies that have custom UIs are also phone manufacturers, so they can just ship their phones with it installed. Also, if a new version of Android comes out, you'd need to get the new source, and modify most of it again.
Distribution would be a serious problem...
HTC Sense consist of a variety of functions.
Some like the Lock Screen can be implemented as normal programs. The start screen for programs can as well.
The systems setting for example can't be easily replaced without going into the android source code.
I have to disagree with xil3, there are some realy popular home screen replacements out there not restricted to a certain brand.
ADW.Launcher
LauncherPro
HelixLauncher
HelixLauncher2
All four are available on market place and therefor the distribution is simple.
HelixLauncher (and 2) are based on the Launcher from android itself, for which the sources are available as a git repository. This means you could use these sources to start your own Home Screen replacement.
So have fun!

Categories

Resources