Hello,

      I am working with the softkeyboard example in the SDK and I
can't get past an error.  I want to use 2 public functions in the
KeyboardView class.  It finds getKeyboard(), but invalidateAllKeys().
I created the code below to show the problem.  I am using 1.6 SDK.
Any suggestions would be helpful.

package com.example.android.softkeyboard;

import android.content.Context;
import android.inputmethodservice.Keyboard;
import android.inputmethodservice.KeyboardView;
import android.inputmethodservice.Keyboard.Key;
import android.util.AttributeSet;

public class LatinKeyboardView extends KeyboardView {

    public LatinKeyboardView(Context context, AttributeSet attrs) {
        super(context, attrs);

        getKeyboard();          //found

        invalidateAllKeys();   //Not found
    }
...


Nitin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to