Keyboard support for navigation and rotary controller

99 views
Skip to first unread message

Abhilash Mb

unread,
Jan 11, 2021, 12:31:09 PM1/11/21
to Android Automotive OS Discussion Group
Hi 

We are implementing keyboard support for navigation. Using aosp_car_x86_64-userdebug build. 
Added hw.keyboard = yes under /aosp_android/device/generic/car/common/config.ini

Keyboard focus is enabled, able to navigate through app launchers, settings etc. But the problem is on the home screen. When the tab is pressed  the focus is only on the media icon (marked red in the image) and focus doesn't shift to the bottom navigation bar (marked purple in the image). 
Added android:focusable="true" and  android:focusableInTouchMode="true"   to all the buttons under navigation bar view. 

focus.jpg

1. Is there any way to navigate through the bottom navigation buttons using keyboard support or is it just limited to an app or a particular layout only ? 

2. How to enable rotary support ? On the extended control it says CarRotaryService is disabled. 

Any help is much appreciated.

BR
Abhilash MB

Reply all
Reply to author
Forward
0 new messages