DisplayLink Forum

DisplayLink Forum (https://displaylink.org/forum/index.php)
-   General Discussion (https://displaylink.org/forum/forumdisplay.php?f=22)
-   -   Add DisplayLink to own Android app (https://displaylink.org/forum/showthread.php?t=65786)

RikD 11-30-2017 09:32 AM

Add DisplayLink to own Android app
 
Hi there,

We're building a digital signage app (Android 5.1+) and would like to use DisplayLink to show content on a secondary screen. The com.displaylink.presenter App is able to mirror the first screen on a secondary screen, however we need to present different content on the second screen.
We don't need a mouse or keyboard to work on the secondary screen, just a picture.

Would this be possible?
If yes, can someone give me some pointers in the right direction, or even some source code as a starting point?

Thanks.
Rik

AlbanRampon 12-01-2017 09:42 AM

Hello Rik,

Thank you for your interest!

You wouldn't need to include the app in another app. The content sent doesn't need to be viewed by the DisplayLink application.

The stock Android today only supports one screen cloning today, as far as I am aware.
The OS/launcher can be tweaked to allow sending different content to different screens as we've done it as a demo a couple of years ago.

What kind of content would you like to show on what kind of platform?

Kind regards,
Alban

RikD 12-01-2017 10:08 AM

Hi Alban,

Thanks for taking the time to reply.

The device we're currently using is a Minix Neo U1 (http://minix.com.hk/en/products/neo-u1). We have customised the firmware a bit by removing most stock apps and adding a driver for touchscreen support.

The app that this topic is about is being developed with Xamarin, so the Microsoft .Net platform, but it's possible to target Java libraries.

The idea is to output video to the main screen via the HDMI port and use DisplayLink to output a static Bitmap image to the second screen via a USB port.

Kind regards,
Rik

RikD 12-05-2017 10:34 AM

We're making some progress in this area. With the use of the Presentation class (https://developer.android.com/refere...sentation.html) we managed to display content on the secondary screen attached with DisplayLink.

This does require the DisplayLink Presenter app (https://play.google.com/store/apps/d...link.presenter) to be installed separately on the device.

Is it possible to get access to that functionality as a library, so we can include it in our own app and not depend on third party apps to be installed?

AlbanRampon 12-05-2017 11:33 AM

Hello Rik,

I'm afraid at this stage I don't see us having the resource to be able to create a new library.
On top of creating a new deliverable, this also creates a new release stream to maintain when we find bugs, need to update the code for new OSes or have other reasons like new supporting unreleased own/customer products which we can't talk about.
This is a significant cost adder for us, and would take resource away from something else so this requires business value justification to be approved.

The presenter mode is indeed the only way to show different content on a second screen without having to modify the OS or launcher.

Kind regards,
Alban


All times are GMT. The time now is 08:46 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.