自定义 Android 锁屏功能?

发布于 2024-09-04 10:30:18 字数 300 浏览 3 评论 0原文

我想开发一个修改Android锁屏的App。我在一些论坛上读到,SDK 尚不支持它,但有一些应用程序可以做到这一点。

可以浏览Screen Suite 锁屏

有人可以告诉我是否真的可以自定义锁屏并实现我们自己的锁屏方式?

问候

苏尼尔

I will like to develop an App which modifies LockScreen of Android. I have read in some forums that it is not supported as yet in the SDK but there are some applications available that does exactly that.

One can surf Screen Suite Lock Screen

Can someone let me know is it actually possible to customize LockScreen and implement our own way of Lock Screen?

Regards

Sunil

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小梨窩很甜 2024-09-11 10:30:18

可以在锁定屏幕上方显示视图并使其关闭锁定屏幕。
这是一个肮脏的解决方案,但只要没有 api 来替换锁屏,这是唯一的解决方案。

默认锁定屏幕上的 Android 活动

http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_SHOW_WHEN_LOCKED< /a>

It is possible to have views displayed above the lock screen and to make it dismiss the lock screen.
It's a dirty solution, but the only one as long as there is no api to replace the lock screen.

Android activity over default lock screen

http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_SHOW_WHEN_LOCKED

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文