Search the Community
Showing results for tags 'block apps'.
Found 1 result
-
Torrent App Blocker [Hidden Content] 1. Download 2. Put the file into "libs" folder. 3. Refresh build. 4. Copy the code below. 5. - For SSH/SSL src Paste it in the HomeFragment.java, look for the "return mView;" code inside the onCreateView method of the fragment class. * if you will get an error on the "BlockApps", just long press it and fix import" - For Openvpn Connect Base src Paste it inside the onCreate method of the OpenVPNClient.java or Main.java (for BlackVPN src) 6. Refresh build. 7. Test it .. connect your vpn. After connecting, try to install any torrent app from the playstore and try to check your vpn if it will disconnect will the torrent app is installing 8. Feedback /** Copy and Pasted these codes **/ /** For SSH/SSL src **/ BlockApps b = new BlockApps(getActivity()); b.runBlocker(); b.setOnDetectedAppListener(new BlockApps.OnDetectedAppListener(){ @Override public void OnDetectedAppListener() { if (OreoService.isRunning) { startStop(false); } } }); /** For OpenVPN Connect Base src **/ BlockApps b = new BlockApps(this); b.runBlocker(); b.setOnDetectedAppListener(new BlockApps.OnDetectedAppListener(){ @Override public void OnDetectedAppListener() { submitDisconnectIntent(RETAIN_AUTH); } });