Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-913

Refactor Key Press Overrides on Android

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.8.0
    • 2.6.0
    • cordova-android
    • None

    Description

      Currently the Volume Up and Down events are in DroidGap.java. While this is fine for the general use case, it would be better if there was a utility class that handled these events. This would also allow us to implement the GamePad API for the Google TV events, because Google in their infinite wisdom chose to re-implement this instead of using the standard keyCodes for Up, Down, Left and Right.

      This should fix existing bugs on Google TV, as well as make the code neater. It also addresses CB-417.

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            bowserj Joey Robert Bowser
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: