02-06-2015, 02:07 AM
It seems that detecting if an app is running on BlueStacks is much easier than I thought:
That little snippet of code could easily shut down anyone running CoC on BlueStacks.
Code:
/**
* Returns true if device is Android port to x86
*/
public static boolean isx86Port()
{
String kernelVersion = System.getProperty("os.version");
if(kernelVersion != null && kernelVersion.contains("x86")) // for BlueStacks returns "2.6.38-android-x86+"
return true;
return false;
}
That little snippet of code could easily shut down anyone running CoC on BlueStacks.