添加项目到Android框架的设置 [英] add item to the settings in android framework
问题描述
我在android的frameworks.i工作要项添加到了Android OS.can现有的设置ü嘿告诉我该怎么做呢?
i am working in android frameworks.i want to add an item to the existing settings in the android OS.can u plz tell me how to do this?
推荐答案
第一次读到的 preferenceActivity 。这组类处理用户preFS。
First read about PreferenceActivity. These group of classes handle user prefs.
然后根据你的任务,做一些像这个。
Then depending on your task, do something like this.
如果你想添加一个动态壁纸或输入法添加安卓settingsActivity
在你的清单。 (例:这里一>)
In case you want to add a live wallpaper or an input method add android:settingsActivity
in your Manifest. (Example : here)
或者按照<一href="http://jmdonovan.word$p$pss.com/2010/03/18/android-%E2%80%93-with-eclipse-v3-5-ide-app%E2%80%99s-menu-adding-a-%E2%80%9Cmenu%E2%80%9D-at-the-bottom-of-the-app-screen/"相对=nofollow>本教程
这篇关于添加项目到Android框架的设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!