Does android things work in IMX8MM evk board

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

Does android things work in IMX8MM evk board

ソリューションへジャンプ
723件の閲覧回数
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 件の賞賛
返信
1 解決策
713件の閲覧回数
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 件の賞賛
返信
1 返信
714件の閲覧回数
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 件の賞賛
返信