New Anti Torrent Tutorial Java for VPN

Matss

Vincess
Staff member
Administrator
Joined
Aug 26, 2019
Messages
166
Reaction score
163
Points
43
Age
19
Location
Philippines
Torrent App Blocker

You do not have permission to view link Log in or register now.


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
You do not have permission to view link Log in or register now.
, 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
You do not have permission to view link Log in or register now.
or
You do not have permission to view link Log in or register now.
(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);
}
}
});

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);
}

});



Big Credits : status404error/Kervy Calub & Phcyber Modding Team
 
Top Bottom