Then probably you are not using 1.6 SDK, because invalidateAllKeys()
is a level 4 API. I suggest you check Eclipse->Preferences->Android-
>SDK Location.

Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Sep 23, 10:32 am, Nitin67 <nitin6...@gmail.com> wrote:
> 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