hi all ,

I am developing an app which can both act as a painting app as well as
text writing notepad.
i have created a my custom view by extending a class like ....

public class MyView extends TextView {
.
.
.
}

now i want to hook to the system's soft keyboard which i do it by

  InputMethodManager imm = (InputMethodManager)getSystemService
(Context.INPUT_METHOD_SERVICE);
        imm.showSoftInputFromInputMethod
(myview.getApplicationWindowToken(),InputMethodManager.SHOW_FORCED);

Also i have specified in androidmanifest.xml to use softkeyboard.
i have also specified the inputype of the view and set it as
editable..... but i am not able to do that please help me out i m
badly stuck .please let me know if i am missing anything  .i would
really appreciate if you can send a small code snippet to support the
working code.

Thanks in advance
Sankalp

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to