Thank you for your fast and detailed response. I may not be playing with the big boys, but it would take just the one rouge user.
Also I am trying to import your original package into mine now I have yours working. I have this import and this line of code but keep getting this error. Do you have any advice.
- Code: Select all
import com.blundell.tut.ttt.TweetToTwitterActivity;
- Code: Select all
TweetToTwitterActivity.ButtonLogin();
The method ButtonLogin() is undefined for the type TweetToTwitterActivity
EDIT:
I resolved that issue. My ill understanding and the lack of ButtonLogin method didn't help things. I did however have a buttonLogin method. I'm not used to such a strict langauge in regards to upper and lowercase.
I currently have this working with the previous import statement I posted.
- Code: Select all
TweetToTwitterActivity twitter = new TweetToTwitterActivity();
twitter.buttonLogin(v);
However now I am receiving a NullPointerException pointing to this line of the twitter package.
- Code: Select all
if (mPrefs.contains(PREF_ACCESS_TOKEN)) {
I think again I am missing something obvious and any help would be great. Cheers