> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gleap.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Android SDK: Activation methods

> Configure how users activate feedback reporting with the Gleap Android SDK. Follow the integration code examples.

Gleap offers different triggers (activation methods) to show the Gleap widget. You can configure the activation methods within our visual widget configurator.

The current available activation methods are:

* Shake <i>(triggered when shaking the device)</i>
* Screenshot <i>(triggered when a screenshot is taken)</i>

Need a more customized activation method? No worries! You can always [open the Gleap widget by code](/documentation/android/widget-control) as well.

<img src="https://mintcdn.com/gleap-1d346ffa/MCCg3Pia7IrMFFzd/images/ActivationMethods.png?fit=max&auto=format&n=MCCg3Pia7IrMFFzd&q=85&s=9a75667c1a8cfe694099e87f5f7d29bb" alt="Activation methods in our visual widget configurator" width="3020" height="1618" data-path="images/ActivationMethods.png" />

### Set activation methods by code

Some situations require you to set the activation methods by code. This can be done with the following method.

```java theme={null}
Gleap.getInstance().setActivationMethods(new GleapActivationMethod[]{GleapActivationMethod.SHAKE, GleapActivationMethod.SCREENSHOT});
```

* GleapActivationMethod.SHAKE
* GleapActivationMethod.SCREENSHOT

#### Screenshot Gesture

The activation method **screenshot gesture** can be triggered by simply storing a file on the device. If you want to avoid behaviour please upgrade to ***Gleap SDK 7.0.34*** or later and add the following permission to your *AndroidManifest.xml*:

```java theme={null}
 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
```
