• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Android] Support for Androids new camera gesture control
#6
Thanks for your reply! Well, the Camera Switches functionality (included in the latest beta of the Android Accessibility Suite) works with several Android events, including the Back event. So instead of just listening to 'onBackPressed', MobileSheets should eg. also listen to 'onFocusChanged'. Because the 'Previous' and 'Next' actions (that move focus to the previous or next selectable item) can be assigned to Camera Switches. After reading the documentation for Android developers, I think the correct events to listen to in this case are onFocusChanged (true, FOCUS_BACKWARD, null) and onFocusChanged (true, FOCUS_FORWARD, null). Does this make any sense?
Reply


Messages In This Thread
RE: [Android] Support for Androids new camera gesture control - by Zwart - 08-20-2021, 08:11 PM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.