appie21 Active Member Licensed User Longtime User Aug 18, 2015 #1 Hello I use a program that run fullscreen I use: Code: Copy Sub Activity_WindowFocusChanged(HasFocus As Boolean) If HasFocus Then Dim jo As JavaObject = Activity jo.RunMethod("setSystemUiVisibility", Array As Object(5894)) '3846 - non-sticky End If End Sub But when I use the keyboard and close it the application will not go back to full screen( the bar with the back and home button are visible) if i want close/hide the keyboard with a code I use: Code: Copy Dim K As Phone K.HideKeyboard(Activity) I add: Code: Copy Dim jo As JavaObject = Activity jo.RunMethod("setSystemUiVisibility", Array As Object(5894)) '3846 - non-sticky Activity.Height = -1 Activity.Width = -1 But the bar in the bottom not go away How can I fix this? oops not fixed anyone an idea? Last edited: Aug 18, 2015
Hello I use a program that run fullscreen I use: Code: Copy Sub Activity_WindowFocusChanged(HasFocus As Boolean) If HasFocus Then Dim jo As JavaObject = Activity jo.RunMethod("setSystemUiVisibility", Array As Object(5894)) '3846 - non-sticky End If End Sub But when I use the keyboard and close it the application will not go back to full screen( the bar with the back and home button are visible) if i want close/hide the keyboard with a code I use: Code: Copy Dim K As Phone K.HideKeyboard(Activity) I add: Code: Copy Dim jo As JavaObject = Activity jo.RunMethod("setSystemUiVisibility", Array As Object(5894)) '3846 - non-sticky Activity.Height = -1 Activity.Width = -1 But the bar in the bottom not go away How can I fix this? oops not fixed anyone an idea?