BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-20-2010, 07:20 AM   #1 (permalink)
New Member
 
Join Date: Jan 2010
Model: 9000
PIN: N/A
Carrier: o2
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with ITextInputStyle interface in 5.0.0

Please Login to Remove!

When inheriting from e.g. EditField, IntelliJ IDEA shows the following error:

Class 'MyEditField' must either be declared abstract or implement abstract method 'getPreferredInputLocale()' in 'net.rim.device.api.im.ITextInputStyle'

This happens as soon as I am linking the 5.0.0 library from the BlackBerry JDE to the IntelliJ IDEA project.

I cannot find any useful info about the interface ITextInputStyle. Is this a bug in IntelliJ (as the code compiles fine from the BlackBerry JDE) or some strange declaration in the library itself that should be fixed from RIM side?

Thanks for your insight on this,

Benjamin
Offline  
Old 01-20-2010, 08:36 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Sounds like you might have a mismatch in the version level between the RIM library jar and the RAPC compiler.
Offline  
Old 01-20-2010, 08:48 AM   #3 (permalink)
New Member
 
Join Date: Jan 2010
Model: 9000
PIN: N/A
Carrier: o2
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just to clarify: I am NOT compiling with IntelliJ, I am just referring to the realtime syntax/semantic checker of IntelliJ. The declaration of 'MyEditField' is red underlined, and the assigned tooltip error message is as quoted above.
Offline  
Old 01-21-2010, 07:59 AM   #4 (permalink)
New Member
 
Join Date: Jan 2010
Model: 9000
PIN: N/A
Carrier: o2
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anyone?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.