Thanks Chris, this helped me a little bit to understand the whole thing. But what I want to have is an standalong Softkeyboard which runs in the OS like the standard-softkeyboard from Android. Last night i ported some of Google's code from their softkeyboard-sample into a C# Project.
I did the following: - Created a class that inherits from InputMethodService. - Created a class that inherits from Keyboard - Created a class that inherits from KeyboardView - Copied the ressource-files (xml-files for keyboardlayout, etc.) Now, the question is, how to run this project? I dont get any compile-errors (what means nothing, i know ;)) but mono wants to have the main-activity to start. i thought, mono maybe gets the information from the manifest-file, that this project is an ImputMethodService, but it doesn't. maybe there is something missing or in it?! here it is: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="de.osk.smart.keyboard.android" android:versionCode="1" android:versionName="1.0"> <uses-sdk android:targetSdkVersion="14" /> <application android:label="OSK Smart Keyboard"> <service android:name="OSKSmartKeyboard" android:label="@string/ime_name" 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> </application> </manifest> this is the original code from google: http://www.java2s.com/Code/Android/User-Event/Exampleofwritinganinputmethodforasoftkeyboard.htm http://www.java2s.com/Code/Android/User-Event/Exampleofwritinganinputmethodforasoftkeyboard.htm If it is needed i will upload the whole sourcecode. Let me know. thankful for every hint! Lee -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Creating-a-Softkeyboard-with-mono-tp5710871p5710881.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid