Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
tianrui75
Posts: 1
Registered: 05-18-2009

4.2.1 JDE "cannot find symbol" applicationcontrol

Hi all,

 

I have searched the forums here and the internet, but haven't found anything directly on-topic, so I'm posting a new message. 

 

I'm new to BlackBerry app development, and am trying to build some code that one of my developers created for me.

 

I downloaded the same version of the JDE (4.2.1) as he's using, but when I try to build the code, I get about 12 errors, all of this flavor:

 

 

C:\Projects\bb\MagicApp\com\magicappinc\blackberry\magicapp\MagicAppReasonProvider.java:4: cannot find symbolsymbol : class ReasonProviderlocation: package net.rim.device.api.applicationcontrolimport net.rim.device.api.applicationcontrol.ReasonProvider; ^C:\Projects\bb\MagicApp\com\magicappinc\blackberry\magicapp\MagicApp.java:133: cannot find symbolsymbol : variable PERMISSION_DEVICE_SETTINGSlocation: class net.rim.device.api.applicationcontrol.ApplicationPermissions original.getPermission(ApplicationPermissions.PERMISSION_DEVICE_SETTINGS) == ApplicationPermissions.VALUE_ALLOW &&

 

 My coder assures me it's my configuration, but doesn't know how to help me fix it.

 

Any ideas would be (very) greatly appreciated!

 

Thanks,

恬銳 

 

 

 

Please use plain text.
Developer
Posts: 5,339
Registered: 09-20-2008

Re: 4.2.1 JDE "cannot find symbol" applicationcontrol

[ Edited ]

You need to use JDE 4.5.0 or newer.

 

net.rim.device.api.applicationcontrol.ReasonProvider interface introduced since JDE 4.5.0 (RIM API 4.5.0)

 

JDE 4.2.1 (RIM API 4.2.1) does not support net.rim.device.api.applicationcontrol.ReasonProvider interface. 


Message Edited by tbilisoft on 19-05-2009 04:17 AM
Tbilisoft Team
BlackBerry Utilities For Everyday Life
main site: http://www.tbilisoft.com
site for mobile users: http://www.tbilisoft.mobi
Please use plain text.
Developer
Posts: 5,339
Registered: 09-20-2008

Re: 4.2.1 JDE "cannot find symbol" applicationcontrol

[ Edited ]

There is nothing about configuration.

 

It is all about the JDE version (i.e RIM API version) you are using.

 

Your coder used newer JDE than you are used to compile this application.

 

Use the same JDE version as your coder.

Message Edited by tbilisoft on 19-05-2009 04:20 AM
Tbilisoft Team
BlackBerry Utilities For Everyday Life
main site: http://www.tbilisoft.com
site for mobile users: http://www.tbilisoft.mobi
Please use plain text.
Developer
titakalpesh
Posts: 195
Registered: 07-30-2009
My Carrier: Vodafone

Re: 4.2.1 JDE "cannot find symbol" applicationcontrol

HI , I develop application using JDE 4.5.0 though i get this error when i start the application in device class 'net.rim.device.api.applicationcontrol.ReasonProvider' not found (error starting lucid messenger)

Please use plain text.