Difference between revisions of "Template:RK3399-Android7"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
 
(updated by API)
 
(13 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 '''NanoPC-T4'''. 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.
  
===Navigate Android with Remote Control===
+
===Connect MIPI Camera to {{{1}}}===
The NanoPC-T4 supports the FriendlyARM RC-100 remote control under Android. To get a better experience your can connect your T4 to an HDMI monitor and navigate Android.<br/>
+
[[File:rc100remotecontroller.png|400px]]<br /><br />
+
Here is a table for the remote control's keys and corresponding functions:
+
::{| class="wikitable"
+
|-
+
|Key || Function     
+
|-
+
|Up    || Navigate - Up   
+
|-
+
|Down    || Navigate - Down 
+
|-
+
|Left    || Navigate - Left
+
|-
+
|Right    || Navigate - Right
+
|-   
+
|OK    || Confirm
+
|-
+
| -    || Volume -
+
|-
+
| +    || Volume +
+
|-
+
|Mute  ||Mute
+
|-
+
|Menu    || Android Menu
+
|-
+
|Home  || Android Home
+
|-
+
|Return    || Android Return
+
|-
+
|F1    || Pull-Down Android Message Bar
+
|-
+
|F2    || Android Screenshot
+
|-
+
|F3    || Switch between mouse and key
+
|}
+
  
===Connect MIPI Camera to T4===
+
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}}}
FriendlyElec developed a MIPI camera CAM1320 for NanoPC-T4 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 NanoPC-T4's MIPI interface, boot your T4 to Android and start Android's camera app.<br />
+
| NanoPC-T4 =
 
+
The board has two MIPI interfaces: one front camera and the other rear camera:<br />
The NanoPC-T4 has two MIPI interfaces: one front camera and the other rear camera:<br />
+
'''MIPI-CSI1'''  <-->  '''Android rear camera'''<br />
::{| class="wikitable"
+
'''MIPI-CSI2'''  <-->  '''Android front camera'''<br /><br />
|-
+
How to connect:<br />
|Interface || Camera Type(front or rear)
+
[[File:T4-mipi-dual-camera.jpg|frameless|600px]]<br>
|-
+
| NanoPi-M4 =
|MIPI-CSI1    || Android rear 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
+
'''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 75: Line 60:
 
===Rotate Display===
 
===Rotate Display===
 
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===
 +
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 Rockchip|Android: FriendlyThings for Rockchip]]
 +
*[[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.: