[android-developers] Re: How to write a android keyboard preference and show in Android Setting > Language & Keyboard.
My manifest looks essentially the same as yours, only my settings
activity contains within it the extra tag:
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
Does that help?
--Alan
On Dec 29 2010, 7:48 pm, Cloudyblood <cloudybl...@gmail.com> wrote:
> Hi
>
> I wrote the android keyboard , but I didn't have a preference.
>
> I tried to write a preference of my android keyboard , but it didn't
> show in Android Setting > Language & Keyboard.
>
> Here is my manifest:
>
> <?xml version="1.0" encoding="utf-8"?>
> <manifest xmlns:android="http://schemas.android.com/apk/res/android"
> package="com.popj.popjkeyboard"
> android:versionCode="1"
> android:versionName="1.2">
> <application android:label="@string/ime_name">
> <service android:name="SoftKeyboard"
> android:permission="android.permission.BIND_INPUT_METHOD">
> <intent-filter>
> <action android:name="android.view.InputMethod" />
> </intent-filter>
> <meta-data android:name="android.view.im" android:resource="@xml/
> method" />
> </service>
> <activity android:name="SoftKeyboardSettings"
> android:label="Settings">
> </activity>
> </application>
> <uses-sdk android:minSdkVersion="7" />
>
> </manifest>
>
> Please give me any suggestion.
>
> Thank you.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home