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
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
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
解決済! 解決策の投稿を見る。
Hello Ruban1,
Android things does not work on MX8MM, you have to based on android BSP for this task.
Regards
Hello Ruban1,
Android things does not work on MX8MM, you have to based on android BSP for this task.
Regards