【问题标题】:How to show the text at lock screen in Android [duplicate]如何在Android的锁定屏幕上显示文本[重复]
【发布时间】:2012-10-03 18:13:42
【问题描述】:

可能重复:
How can I interact with the Lockscreen layout to display text into it, like this app:

我想在 Android 锁定屏幕上显示一些文本,就像 '我喜欢它' android 应用已实现。您可以通过https://play.google.com/store/apps/details?id=com.ilikeit.main在 Google Play 上查看该应用

【问题讨论】:

    标签: java android


    【解决方案1】:

    没有记录,但这会起作用 ;-)

    String message = "This is a test";
    Settings.System.putString(context.getContentResolver(),
                Settings.System.NEXT_ALARM_FORMATTED, message);
    

    【讨论】:

    • 我应该把这段代码放在哪里?
    • 这不适用于安卓棒棒糖!!!
    猜你喜欢
    • 1970-01-01
    • 2023-04-01
    • 1970-01-01
    • 2011-11-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-16
    相关资源
    最近更新 更多