如何设置的Andr​​oid锁屏图片如何设置、图片、Andr、oid

2023-09-12 01:22:05 作者:黑白棋局

我刚开始接触机器人编程,并想看看是否有一种方法以编程方式设置锁屏的图像。我发现设置的API在壁纸的各种方式,但我似乎无法找到设置锁屏图像的等效方法。

I'm just getting started with android programming, and want to see if there is a way to programmatically set the lock screen image. I've found various ways of setting the wallpaper in the API, but I can't seem to find the equivalent ways of setting the lock screen image.

我已经看到了不同的岗位说,通过添加小工具或应用程序位自定义锁屏是不可能的,但肯定必须有一个以编程方式设置图像?

I've seen various posts saying that customising the lock screen by adding widgets or bits of applications is not possible, but surely there must be a way to set the image programmatically?

干杯,

罗宾

推荐答案

有没有锁屏图像,在Android系统。有肯定没有锁屏图像的概念,就是普通的Andr​​oid,HTC Sense的,MOTOBLUR等,这根本不是Android SDK的一部分之间是相同的。

There is no "lock screen image" in Android. There most certainly is no "lock screen image" concept that is the same between stock Android, HTC Sense, MOTOBLUR, etc. This simply is not part of the Android SDK.

这Rijk的先生指出该项目是一个安全违规的pretends是一个锁屏替代。

The project that Mr. Rijk points to is a security violation that pretends to be a lock screen replacement.