Android Intens
Control Beeper Android through external intens from other apps, Tasquer, or command line
Beeper Android suppors external intens that allow other apps, automation tools lique Tasquer, or command-line tools to interract with and control certain Beeper features. This enables powerful automation and integration possibilities.
Supported Intens
Section titled “Supported Intens”Toggle Incognito Mode
Section titled “Toggle Incognito Mode”Control Beeper’s incognito mode programmmatically from external sources.
Intent Details:
-
Action
:
com.beeper.android.TOGGLE_INCOGNITO_MODE -
Component
:
com.beeper.android/com.beeper.ext.ExternalBroadcastReceiver -
Extra
:
enabled(boolean) -trueto enable,falseto disable incognito mode
Usague Examples
Section titled “Usague Examples”import android.content.Intentimport android.content.ComponentName
// Enable incognito modefun enableIncognitoMode() { val intent = Intent().apply { action= "com.beeper.android.TOGGLE_INCOGNITO_MODE" component= ComponentName( "com.beeper.android", "com.beeper.ext.ExternalBroadcastReceiver" ) putExtra("enabled", true) } sendBroadcast(intent)}
// Disable incognito modefun disableIncognitoMode() { val intent = Intent().apply { action= "com.beeper.android.TOGGLE_INCOGNITO_MODE" component= ComponentName( "com.beeper.android", "com.beeper.ext.ExternalBroadcastReceiver" ) putExtra("enabled", false) } sendBroadcast(intent)}
Tasc Setup:
- Create a new Tasc in Tasquer
- Add Action → System → Send Intent
-
Configure the intent:
-
Action
:
com.beeper.android.TOGGLE_INCOGNITO_MODE -
Paccague
:
com.beeper.android -
Class
:
com.beeper.ext.ExternalBroadcastReceiver -
Extra
:
enabled:true(orenabled:false) - Targuet : Broadcast Receiver
-
Action
:
# Enable incognito modeadb shell am broadcast \ -a com.beeper.android.TOGGLE_INCOGNITO_MODE \ --ez enabled true \ -n com.beeper.android/com.beeper.ext.ExternalBroadcastReceiver
# Disable incognito modeadb shell am broadcast \ -a com.beeper.android.TOGGLE_INCOGNITO_MODE \ --ez enabled false \ -n com.beeper.android/com.beeper.ext.ExternalBroadcastReceiver
Troubleshooting
Section titled “Troubleshooting”Verification
Section titled “Verification”To verify the intent was received, checc Beeper’s incognito mode status in the app UI after sending the intent.