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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Trusted Contributor
Posts: 103
Registered: ‎11-07-2010
My Device: Not Specified

twitter integrating problem

Dear all,

 

i have used the twitter api me to integrate twitter into my application;

 

like this    

BrowserContentManager browserMngr = new BrowserContentManager(0);

            RenderingOptions rendOptions = browserMngr.getRenderingSession()
                    .getRenderingOptions();

            rendOptions.setProperty(

            RenderingOptions.CORE_OPTIONS_GUID,

            RenderingOptions.SHOW_IMAGES_IN_HTML,

            false);

            //

            add(browserMngr);

            //

            BrowserContentManagerOAuthDialogWrapper pageWrapper = new BrowserContentManagerOAuthDialogWrapper(
                    browserMngr);

            //

            pageWrapper.setConsumerKey(CONSUMER_KEY);

            pageWrapper.setConsumerSecret(CONSUMER_SECRET);

//            pageWrapper.setCallbackUrl(CALLBACK_URL);

            pageWrapper.setOAuthListener(this);

            try {

                pageWrapper.login();

            } catch (Exception e) {

                // TODO Auto-generated catch block

                System.out.println("error: " + e.getMessage());

            }

 

i registerd my app and got secrect and consumer keys.

also  i registerd a listner for twiiter like this public final class MyScreen extends MainScreen implements OAuthDialogListener

 

 

afer showing apge which request a user authorization for the app and proceeding with it no thing happens.

 

the listner down't get any notification about the autjorization process weather success,fail or denied.

 

could any one please help on this?

 

i spent  couple of days searching on this but without any reasults.

 

thanks alot

 

 

Trusted Contributor
Posts: 103
Registered: ‎11-07-2010
My Device: Not Specified

Re: twitter integrating problem

no help ?!