Over a million developers have joined DZone.

Bind A Mobile Key To A Handler

DZone's Guide to

Bind A Mobile Key To A Handler

Free Resource

import key_codes
obj.bind(key_codes.EKeyNo, func)  # bind key "No" to a function

See a more detail example here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}