I
What version of Android is it running ?
Also, one last thing, what happens when you run this code:
If Activity.Width = "800" And Activity.Height = "398" Then
log("800x398")
Else
If GetDeviceLayoutValues.ApproximateScreenSize > 6 Then
phone1.SetScreenOrientation(0)
Log("** tablet **")
Else
phone1.SetScreenOrientation(1)
Log("** phone **")
End If
End If
The reason I ask for this is because I have a customer who has my app and when they run it on a Samsung Galaxy Tab S2 it just keeps switching between portrait and landscape, but I find on my tablets I don't get this issue, however I don't have a Samsung Galaxy Tab S2.
I have 2 customers both with a Samsung Galaxy Tab S2 and they are running Android 7.0 (Nougat). -
http://www.gsmarena.com/samsung_galaxy_tab_s2_8_0-7439.php