从活动中打开当前的动态壁纸设置
我正在制作 Android 动态壁纸。到目前为止,一切工作正常,但我需要能够从活动中打开壁纸设置(已经在壁纸预览中工作)。
是否有意图或任何东西可以让用户进入当前壁纸的预览屏幕,或者直接打开设置活动?
I'm working on an Android live wallpaper. I have everything working just fine so far, but I need to be able to open the wallpaper settings (that already work in the wallpaper preview) from an activity.
Is there an intent or anything that will put the user on the preview screen for the current wallpaper, or just open the settings activity directly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您无法直接进入预览,但您可以进入动态壁纸选择器:
否则,只需直接启动设置活动即可。
编辑:刚刚发现这个但没有尝试(它是 3.0 以上):
I don't think you can get to the preview directly, but you can get to the live wallpaper chooser:
Otherwise, just start your settings activity directly.
Edit: Just found this but didn't try (It's 3.0 an up):