Does android things work in IMX8MM evk board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does android things work in IMX8MM evk board

Jump to solution
1,608 Views
Ruban1
Contributor II

Does android things work in IMX8MM evk board.

i developed app. but its getting crashed . kindly provide Solution to Access the GPIO periperials

according to below link

https://developer.android.com/things/sdk/pio/gpio

 

Adding the required permission

Add the required permission for this API to your app's manifest file:

<uses-permission android:name="com.google.android.things.permission.USE_PERIPHERAL_IO" />

 and 

Managing the connection

In order to open a connection to a GPIO port, you need to know the unique port name. During the initial stages of development, or when porting an app to new hardware, it's helpful to discover all the available port names from PeripheralManager using getGpioList():

PeripheralManager manager = PeripheralManager.getInstance();
List<String> portList = manager.getGpioList();
if (portList.isEmpty()) {
   
Log.i(TAG, "No GPIO port available on this device.");
} else {
   
Log.i(TAG, "List of available ports: " + portList);
}

built the apk. It was built without error. Now wen i install the apk in imx8mm evk board while opening the Apk its getting crashed and stopped

0 Kudos
Reply
1 Solution
1,598 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Ruban1,

Android things does not work on MX8MM, you have to based on android BSP for this task.

 

Regards

 

View solution in original post

0 Kudos
Reply
1 Reply
1,599 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Ruban1,

Android things does not work on MX8MM, you have to based on android BSP for this task.

 

Regards

 

0 Kudos
Reply