帮助添加设置到 Android 动态壁纸
嗨,我是一位新手开发人员,正在向比我更有线索的人寻求帮助,哈哈。所以我正在开发一个项目,您可以在此处下载,Eclipse 项目链接
对于可疑链接,我们深表歉意但它在我的网站上,你可以检查它是否有病毒。好吧,我需要帮助添加设置来选择要显示的纹理,您应该能够明白我的意思,因为已经设置了两个。我有用于设置的 GUI 以及活动,但我只是不知道如何实现它。如果您可以帮助我,我会在应用程序的设置和市场帖子中感谢您。以及您的姓名、网站或视频中我的 YouTube 频道上的任何内容。可以在这里找到:youtube.com/motodroidhelpandinfo。我有超过 1,200 名订阅者。提前致谢。
Hi I'm a bit of a novice developer looking for help from someone who has more of a clue then me lol. So I'm working on a project which you can download here, Eclipse Project Link
Sorry for the suspicious link but it's on my site and you can check it for viruses. Ok well I need help adding settings to choose which texture to show you should be able to tell what I mean because there are already two set up. i have the gui for the settings set up along with the activity I just can't figure out how to implement it. If you can help me I'll credit you in the app in the settings and the market post. Along with your name, website or, whatever on my youtube channel in a video. Which can be found here, youtube.com/motodroidhelpandinfo. I have over 1,200 subscribers. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您遵循示例或教程,那么您的设置将是保存到共享首选项的首选项活动,为了在程序中使用它,您可以使用如下所示的内容:
其中 SHARED_PREFS_NAME 应与首选项活动中使用的名称匹配。希望我正确理解你的问题,这会有所帮助:)
If you have followed an example or tutorial then your settings will be a preference activity that save to a shared preference, in order to use that in the program you use something like the following:
Where SHARED_PREFS_NAME which should match the name used in the preference activity. Hope I understood your question properly and that this helps :)