Kiosk mode in Android

后端 未结 11 1963
感情败类
感情败类 2020-11-22 11:26

I\'m in the process of evaluating if and how a CF .NET enterprise application can be ported to run on Android devices. The application on Windows Mobile phones are run in ki

11条回答
  •  孤城傲影
    2020-11-22 11:57

    You can autostart applications on boot by listening to the android.intent.action.BOOT_COMPLETED intent in a BroadcastReceiver and start your Activity from there. In the Activity you can register yourself as the new default homescreen[1] and handle the keys.

    I think there are some instances that you can't handle without modifying the framework (like longpress on Home to show currently active Applications) - I could also be mistaken though.

    But for a prototype that could be sufficient.

    Have fun tinkering!

    [1]:

    
     
     
     
    
    

提交回复
热议问题