The usual way of reporting problems to Apphance on Android involves using the notification which is placed on the system status bar. Tapping it invokes the report screen where user can enter addtional information about a problem they have spotted. The message will be then posted to Apphance, along with any relevant debugging information.
While this UI solution for problem reporting is fine for most applications, some apps could use a different way. An example would be a fullscreen application or game which takes up the entire surface of device's screen. The notification bar is not visible in such case and user cannot interact with it, thus being unable to report a problem (unless they switch to Home screen).
To alleviate that, Apphance offers alternative ways of triggering a problem report. They are described below.
By default, the report-on-shake functionality is disabled. To enable it , simply call Apphance.setReportOnShakeEnabled() following the startNewSession() call:
You could then bind this call to any specific UI action, like tapping an on-screen button or choosing an option from menu.