Logcat:
12-05 23:37:01.721:W/System.err(534): 401:Authentication credentials (https://dev.twitter.com/docs/auth) were missing or incorrect. Ensure that you have set valid conumer key/secret, access token/secret, and the system clock in in sync. 12-05 23:37:01.721: W/System.err(534): 401:Authentication credentials (https://dev.twitter.com/docs/auth) were missing or incorrect. Ensure that you have set valid conumer key/secret, access token/secret, and the system clock in in sync. 12-05 23:37:01.721: W/System.err(534): error - Read-only application cannot POST 12-05 23:37:01.721: W/System.err(534): request - /1/statuses/update.json
Although I can read the screen name using the getScreenName () function and set the read permission to write to my Twitter application, it gives the above logcat. And I use jar twitter4j file.
source share