[Android Q&A, Help & Troubleshooting] koko21341:
I want to be able to connect to tunnelbear vpn via adb command. Can anybody help me find a command to connect and disconnect tunnelbear vpn?

This is the manifest of tunnelbear:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:"http://schemas.android.com/apk/res/android" android:versionCode="137" android:versionName="v137" android:installLocation="internalOnly" package="com.tunnelbear.android" platformBuildVersionCode="24" platformBuildVersionName="7.0">
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-feature android:glEsVersion="20000" android:required="true" />
<application android:label="0x7f070025" android:icon="0x7f0200b0" android:name="com.tunnelbear.android.TunnelBear" android:allowBackup="false" android:hardwareAccelerated="true" android:supportsRtl="true">
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyDmT5Qzsz2p8C3JigTu5QVKgDNgj_oNWhc" />
<meta-data android:name="com.google.android.gms.version" android:value="0x7f0c0000" />
<activity android:theme="0x7f0d000a" android:name="com.tunnelbear.android.TbearMainActivity" android:launchMode="singleTop" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0d0004" android:name="com.tunnelbear.android.TbearSplashActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:theme="0x7f0d000c" android:name="com.tunnelbear.android.wizard.WizardActivity" android:configChanges="keyboardHidden|orientation|screenSize" android:windowSoftInputMode="30" />
<activity android:theme="0x7f0d0006" android:name="com.tunnelbear.android.AchievementActivity" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0d000c" android:name="com.tunnelbear.android.RegistrationActivity" android:configChanges="keyboardHidden|orientation|screenSize" android:windowSoftInputMode="30" />
<activity android:theme="0x7f0d0008" android:name="com.tunnelbear.android.purchase.PurchaseActivity" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0d0008" android:name="com.tunnelbear.android.options.OptionsActivity" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0d0008" android:name="com.tunnelbear.android.freedata.FreeDataActivity" android:configChanges="keyboardHidden|orientation|screenSize" android:windowSoftInputMode="10" />
<activity android:theme="0x7f0d0008" android:name="com.tunnelbear.android.DowngradeActivity" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0d000c" android:name="com.tunnelbear.android.TunError" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0d0008" android:name="com.tunnelbear.android.bugreport.BugReportActivity" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0d0008" android:name="com.tunnelbear.android.CountrySelectActivity" android:exported="true" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0d000d" android:name="com.tunnelbear.android.CaptivePortalActivity" android:configChanges="keyboardHidden|orientation|screenSize" />
<service android:name="de.blinkt.openvpn.OpenVpnService" android:permission="android.permission.BIND_VPN_SERVICE">
<intent-filter>
<action android:name="android.net.VpnService" />
</intent-filter>
</service>
<service android:label="0x7f070025" android:icon="0x7f0200e9" android:name="com.tunnelbear.android.TBQuickSettingsTileService" android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<meta-data android:name="android.service.quicksettings.ACTIVE_TILE" android:value="true" />
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>
<activity android:theme="0x7f0d0009" android:label="0x7f070127" android:name="de.blinkt.openvpn.LaunchVPN" android:taskAffinity="" android:excludeFromRecents="true" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<receiver android:name="com.tunnelbear.android.widget.TunnelBearWidgetProvider">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="0x7f050002" />
</receiver>
<receiver android:name="com.tunnelbear.android.network.StartNetworkServiceReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
<receiver android:name="com.tunnelbear.android.PackageReceiver">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<action android:name="android.intent.action.PACKAGE_ADDED" />
<data android:scheme="package" />
</intent-filter>
</receiver>
<service android:name="com.tunnelbear.android.Registration" />
<service android:name="com.tunnelbear.android.network.NetworkService" />
<activity android:theme="@*android:style/Theme.Translucent.NoTitleBar" android:name="com.google.android.gms.common.api.GoogleApiActivity" android:exported="false" />
</application>
</manifest>

I tried something like:

am start com.tunnelbear.android/de.blinkt.openvpn.LaunchVPN

but it didn't work.

BTW, i'm rooted if it helps...