![]() The new “device catalog” section of the console includes an optionĬalled “SafetyNet exclusion,” which can be used to prevent “devices Any other ideas?Īfter trying all the suggested solutions available online we found the Google's SafetyNet Attestation API is the only solution for detecting VMs like BlueStack(any version) and NoxPlayer.Īpps that care about content piracy (and other security issues) can filter their availability on the Google Play like Netflix filters devices on the PlayStore. Therefore we are still without a way of reliably detecting whether an app is running on BlueStacks without also throwing all Samsung Galaxy SII users in the same bucket. returns true! This is to be expected I suppose as the emulator is convinced it is a Samsung Galaxy SII! packageManager.hasSystemFeature(PackageManager.FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT) In fact (also answering iagreen's question). This is the same model number as the Samsung Galaxy SII so it would not be ideal to use this for fear of treating all users with SIIs the same as those on BlueStacks.ĬommonsWare, the app continues to run in BlueStacks even with the for multitouch in the manifest. What is a reliable way of ascertaining the value of appIsRunningInBlueStacks?ĮDIT Summary of answers to comments on question:īen, Taras, thanks for the suggestions. MySurfaceView.enableMultiTouchFeatures() MySurfaceView.enableMultiTouchAlternatives() This is so I can modify the way the app runs when running inside BlueStacks.īlueStacks does not support multi-touch so I want to implement an alternative to the standard pinch-to-zoom functionality my current app has. ![]() ![]() I would like to ascertain at run-time inside an Android app whether it is running within the BlueStacks Android emulator.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |