Difference between revisions of "Template:RK3399-Android7"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Work with Android7==
+
==Work with Android7.1==
 
[[File:rk3399-android7-home.png|thumb|rk3399-android7-home]]
 
[[File:rk3399-android7-home.png|thumb|rk3399-android7-home]]
 
[[File:rk3399-android7-icons.png|thumb|rk3399-android7-icons]]
 
[[File:rk3399-android7-icons.png|thumb|rk3399-android7-icons]]
  
FriendlyElec provides a full Android7.1 BSP for '''{{{1}}}'''. The source code is hosted at gitlab.com and is open source. The BSP supports GPU and VPU hardware acceleration.
+
FriendlyElec provides a full Android7.1 BSP for RK3399 board. The source code is hosted at gitlab.com and is open source. The BSP supports GPU and VPU hardware acceleration.
  
===Connect MIPI Camera to T4===
+
===Connect MIPI Camera to {{{1}}}===
  
FriendlyElec developed a MIPI camera CAM1320 for {{{1}}} and it works under Android. You can use this camera to take pictures and record video. The operation is straightforward. You just need to connect the camera at your {{{1}}}'s MIPI interface, boot your T4 to Android and start Android's camera app.<br />
+
FriendlyElec developed a MIPI camera CAM1320 for board and it works under Android. You can use this camera to take pictures and record video. The operation is straightforward. You just need to connect the camera at your board's MIPI interface, boot your board to Android and start Android's camera app.<br />
 
+
{{#switch: {{{1}}}
The {{{1}}} has two MIPI interfaces: one front camera and the other rear camera:<br />
+
| NanoPC-T4 =
::{| class="wikitable"
+
The board has two MIPI interfaces: one front camera and the other rear camera:<br />
|-
+
'''MIPI-CSI1'''  <-->  '''Android rear camera'''<br />
|Interface || Camera Type(front or rear)
+
'''MIPI-CSI2'''  <-->  '''Android front camera'''<br /><br />
|-
+
How to connect:<br />
|MIPI-CSI1    || Android rear camera
+
[[File:T4-mipi-dual-camera.jpg|frameless|600px]]<br>
|-
+
| NanoPi-M4 =
|MIPI-CSI2   || Android front camera
+
The board has two MIPI interfaces: one front camera and the other rear camera:<br />
|}
+
'''MIPI-CSI1'''  <-->  '''Android rear camera'''<br />
 +
'''MIPI-CSI2'''  <-->  '''Android front camera'''<br /><br />
 +
How to connect:<br />
 +
[[File:M4-mipi-dual-camera.jpg|frameless|600px]]<br>
 +
| NanoPi-M4V2 =
 +
The board has two MIPI interfaces: one front camera and the other rear camera:<br />
 +
'''MIPI-CSI1'''  <-->  '''Android rear camera'''<br />
 +
'''MIPI-CSI2'''  <-->  '''Android front camera'''<br /><br />
 +
How to connect:<br />
 +
[[File:M4-mipi-dual-camera.jpg|frameless|600px]]<br>
 +
| NanoPi-M4B =
 +
The board has two MIPI interfaces: one front camera and the other rear camera:<br />
 +
'''MIPI-CSI1'''  <-->  '''Android rear camera'''<br />
 +
'''MIPI-CSI2'''  <-->  '''Android front camera'''<br /><br />
 +
How to connect:<br />
 +
[[File:M4-mipi-dual-camera.jpg|frameless|600px]]<br>
 +
| NanoPi-NEO4 =
 +
The board has one MIPI interfaces:<br />
 +
'''MIPI-CSI1'''  <-->  '''Android rear camera'''<br /><br />
 +
How to connect:<br />
 +
[[File:Neo4-mipi-single-camera.jpg|frameless|600px]]<br>
 +
| #default =
 +
}}
  
 
<!---
 
<!---
Line 39: Line 61:
 
Enter Android's Settings -> Display -> HDMI -> HDMI Rotation. It supports both landscape and portrait.
 
Enter Android's Settings -> Display -> HDMI -> HDMI Rotation. It supports both landscape and portrait.
  
==Android7 hardware access==
+
===Android7 hardware access===
Developers can use the FriendlyThings SDK to access and control hardware resources on the motherboard in the Android App, such as Uart, SPI, I2C, GPIO and other interfaces. For details, please refer to the following two documents.:
+
You can use the FriendlyThings SDK to access and control hardware resources on the motherboard in the Android App, such as Uart, SPI, I2C, GPIO and other interfaces. For details, please refer to the following two documents.:
*[[FriendlyThings for RK3399|Android: FriendlyThings for RK3399]]
+
*[[FriendlyThings for Rockchip|Android: FriendlyThings for Rockchip]]
 
*[[FriendlyThings APIs|Android: FriendlyThings APIs]]
 
*[[FriendlyThings APIs|Android: FriendlyThings APIs]]

Latest revision as of 02:46, 4 August 2023

1 Work with Android7.1

rk3399-android7-home
rk3399-android7-icons

FriendlyElec provides a full Android7.1 BSP for RK3399 board. The source code is hosted at gitlab.com and is open source. The BSP supports GPU and VPU hardware acceleration.

1.1 Connect MIPI Camera to {{{1}}}

FriendlyElec developed a MIPI camera CAM1320 for board and it works under Android. You can use this camera to take pictures and record video. The operation is straightforward. You just need to connect the camera at your board's MIPI interface, boot your board to Android and start Android's camera app.


1.2 Set HDMI Display

If your board is connected to an HDMI monitor and it runs Android you can go to "Settings -> Display -> HDMI" to make your setting.

HDMI Resolution By default it is "Auto". You can set its resolution up to 4K
Screen Zoom There will be four arrows you can click on to zoom in/out
HDMI Rotation Set it landscape or portrait.

1.3 Rotate Display

Enter Android's Settings -> Display -> HDMI -> HDMI Rotation. It supports both landscape and portrait.

1.4 Android7 hardware access

You can use the FriendlyThings SDK to access and control hardware resources on the motherboard in the Android App, such as Uart, SPI, I2C, GPIO and other interfaces. For details, please refer to the following two documents.: