How to enable Dual screen asynchronous display On IMX8MP Android14。

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to enable Dual screen asynchronous display On IMX8MP Android14。

764件の閲覧回数
liangyan
Contributor III

Hi NXP

   I want to enable Dual screen asynchronous display On IMX8MP Android14。

     LVDS as the main display, MIPI DSI as the secondary display.

I get two displays:

liangyan_0-1739613888918.png

but i get displays.lengh is 0

Display[] displays = mDisplayManager.getDisplays(DisplayManager.DISPLAY_CATEGORY_PRESENTATION);

How should I do , I use Android 14 BSP 2.2 version, Please help me Thank you!

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

735件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Make sure you have added the permission in manifest, then try to use  DISPLAY_CATEGORY_ALL

Best Regards,
Zhiming

0 件の賞賛
返信

730件の閲覧回数
liangyan
Contributor III

Hi 

I have add DISPLAY_CATEGORY_ALL in AndroidManifest.xml

liangyan_0-1739936928010.png

bui it does not work and not found PRESENTATION Display

I can find two display devices on my board

liangyan_1-1739937026254.png

 

0 件の賞賛
返信

682件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hello,

Can you try to use getDisplays() here to get all logical displays?

https://developer.android.com/reference/android/hardware/display/DisplayManager

Best Regards,
Zhiming

0 件の賞賛
返信