Maintaining an activity

fpdianzen

Member
Licensed User
Longtime User
hi! is there any aside from doing the kiosk mode.
that my activity cannot be closed together with blocking the back key and home? :sign0104:
 

MiniDemonic

Member
Licensed User
Longtime User
B4X:
Sub Activity_KeyPress (KeyCode As Int) As Boolean

    If KeyCode = 4 Then 
      Return True    
    End If

End Sub

That blocks the Back key.
Blocking Home is impossible, and Kiosk Mode is your only choice.
 
Upvote 0
Top