Android Question Recognize BlueStack emulator

marcick

Well-Known Member
Licensed User
Longtime User
I'm investigating if there is any way to recognize when the app run on Bluestack or other emulator.
Any info ?
Thanks
 

Duque

Active Member
Licensed User
Longtime User
Bluestack detect

B4X:
Private Sub isBlueStack As Boolean
    Dim r As Boolean
    If (File.Exists(File.DirRootExternal,"Android/data/com.bluestacks.home") = True) Then
        r = True
    Else
        r = False
    End If
    Return r
End Sub
 
Upvote 0
Top