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
 

Addo

Well-Known Member
Licensed User
Longtime User
@marcick Ops.. No just share the special file that you suspected that its exist on this emulator only .

and you can search in other dir , you can search in the main directory not in boot only you can find those directories using ES File explorer
 
Upvote 0

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