1

我正在做一个学校项目,我的应用程序需要在键盘锁(锁屏)上有一个快捷方式。

到目前为止,我已经找到了如何在主屏幕上添加快捷方式,但我还没有找到在键盘保护上安装快捷方式的方法。有人能帮我吗?

谢谢!

4

1 回答 1

0

All I can think of is to create a widget that you can place on the keyguard. This widget would be just a button with an intent in it.

This tutorial on widgets is really good : http://www.vogella.com/tutorials/AndroidWidgets/article.html

And on the same website for intents so you know how to make your button be a link : http://www.vogella.com/tutorials/AndroidIntent/article.html

于 2014-12-02T02:57:36.750 回答