Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
DevBB
Posts: 30
Registered: ‎04-24-2013
My Device: 9300

Twitter jar problem

[ Edited ]

Hi all, i have problem Twitter integration with my application.

When i preverify twitter_api_me-1.8.3.jar i got this error:

 

C:\Program Files (x86)\Research In Motion\BlackBerry JDE 5.0.0\bin>preverify -cl
asspath "C:\Program Files (x86)\Research In Motion\BlackBerry JDE 5.0.0\lib\net_
rim_api.jar" twitter_api_me-1.8.3.jar
Error preverifying class impl.javame.com.twitterapime.parser.JSONOrgArray
    VERIFIER ERROR impl/javame/com/twitterapime/parser/JSONOrgArray.get(I)Ljava/
lang/Object;:
Cannot find class org/json/me/JSONException

 

Maybe this file "twitter_api_me-1.8.3.jar" is corupted???

 

I add  all jar files from folder twitter_api_me-1.8.3-rim

 

When i compile my application and run on phone i got error:

Module "twitter_api_me_1.8.3" not found..

 

I add jar to project. I use JDE 5.0 not eclipse.

 

Where is problem? Please help.

 

 

 

 

 

Please use plain text.
Developer
peter_strange
Posts: 19,601
Registered: ‎07-14-2008
My Device: Not Specified

Re: Twitter jar problem

I recommend that you include the source for Twitter API ME rather than the jar. 

 

This might help you integrate the jar:

 

http://supportforums.blackberry.com/t5/Java-Development/Working-with-Libraries-shared-bundled-releas...

Please use plain text.