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
Developer
babakar
Posts: 739
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Twitter is Integrated in BlackBerry

[ Edited ]

no, I just added the code posted here as is to my application.. i run the application and got that...
http://s7.postimage.org/5wiim8xq1/Untitled.png

whats the step your talking about, can you please guide?

Please use plain text.
Developer
pankajace12
Posts: 198
Registered: ‎04-30-2011
My Device: BlackBerry Z10
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

can you please test this in other simulator. somebody also told me about this issue in 9900 simulator. so let it check in another.

 

Thanks

Please use plain text.
Developer
babakar
Posts: 739
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Twitter is Integrated in BlackBerry

I tested it in 9930 ...

now i tested it in blackberry 9670 sprint same error

i tested also in blackberry simulator 9760 , same error as well



btw, I am using your application u attached in 4th page here as is TwitterImplmentBB
Please use plain text.
Developer
pankajace12
Posts: 198
Registered: ‎04-30-2011
My Device: BlackBerry Z10
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

See, babakar,

This code work fine. i know it very well.

I don't know what exactly is issue u r facing at ur end.

can you post your code here.

Thanks
Please use plain text.
Developer
babakar
Posts: 739
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Twitter is Integrated in BlackBerry

 
Please use plain text.
Developer
babakar
Posts: 739
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Twitter is Integrated in BlackBerry

I attached my application, which is  the same one u posted here.

I am sure there is sthg extra ur done in ur application that u got it working.

 

 

 

Please use plain text.
Developer
babakar
Posts: 739
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Twitter is Integrated in BlackBerry

And jars i linked to my app

ksoap2-j2me-core-prev-2.1.2
twitter_api_me-1.8

it works fine, and application runs. I removed the jar kxml2-min-2.3.0, because i get error when launching my application.
Please use plain text.
Developer
pankajace12
Posts: 198
Registered: ‎04-30-2011
My Device: BlackBerry Z10
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

HI


private final String CONSUMER_KEY ="put here CONSUMER - key";
private final String CONSUMER_SECRET = "put here secret - key";
private final String CALLBACK_URL ="";

???????????????/

did you put here keys???

Thanks
Please use plain text.
Developer
babakar
Posts: 739
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Twitter is Integrated in BlackBerry

no i didnt, but what keys do i put?
Please use plain text.
Developer
pankajace12
Posts: 198
Registered: ‎04-30-2011
My Device: BlackBerry Z10
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

oh sit, then how it will work??

you need to register your app first on twitter. then you will get keys. CONSUMER_KEY and CONSUMER_SECRET.

create your app keys by this https://dev.twitter.com/apps/new

Thanks
Please use plain text.