Chris,

 

I had this one, you can workaround it by adding before SetFilters:

 

      TypeManager.RegisterType("android/text/InputFilter",
typeof(IInputFilter));

 

But make sure you don't register it twice or you'll get a dictionary error.

 

Jon Pryor is aware of this.

 

I think the same probably applies to your ICharSequence error.

 

Cheers,

 

Andy

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Tossing, Chris
Sent: 06 December 2011 13:25
To: Discussions related to Mono for Android
Subject: [mono-android] Java.Lang.NoClassDefFoundError:
android.text.IInputFilter

 

I'm getting the same exception as my previous email with the following code:

 

    FindViewById<EditText>(Resource.Id_WOSR_actWoDetails.tbxWoNumValue)

        .SetFilters(new IInputFilter[] { new
Android.Text.InputFilterLengthFilter(value) });

 

 

Here is the Debug output:

 

===================================================================

 

Java.Lang.Throwable: android.text.IInputFilter in loader
dalvik.system.PathClassLoader[/data/app/OFM_Home.MD-1.apk]

Exception:

 

Java.Lang.NoClassDefFoundError: android.text.IInputFilter

Exception:

 

Java.Lang.NoClassDefFoundError: android.text.IInputFilter

 

===================================================================

 

Thank you,

 

Chris Tossing

Software Engineer

Touchcom

A G4S Technology Company

Direct Dial:      +1 (781) 457-0779

Cell:                +1 (847) 942-0359

[email protected]

www.touchcominc.com <http://www.touchcominc.com/> 

21 North Avenue, Burlington, Massachusetts USA

 

P Please consider the environment before printing this email

 


The details of this company are as follows:
Touchcom Inc, Registered Office: 21 North Avenue, Burlington, MA 01803.

This communication may contain information which is confidential, personal
and/or privileged.

It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s), please note that any distribution,
forwarding, copying or use of this communication or the information in it is
strictly prohibited.

Any personal views expressed in this e-mail are those of the individual
sender and the company does not endorse or accept responsibility for them.

Prior to taking any action based upon this e-mail message, you should seek
appropriate confirmation of its authenticity.

This e-mail has been scanned for all viruses by MessageLabs.

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to