Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7890379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:20:22+00:00 2026-06-03T06:20:22+00:00

EDIT omg I clearly should take a break… logcat gives these errors and as

  • 0

EDIT

omg I clearly should take a break… logcat gives these errors and as
it seems the catch-block is also executed but the messages are
actually sent as I have verified by visiting the page:
http://yamba.marakana.com/

Actually a thing that took me 2 hours to get aware of.. can someone
please tell me why the app still wants to connect to twitter too?

I am following this tutorial from MarakanaTechTV: https://www.youtube.com/watch?v=-P1eiRy-klk&feature=relmfu

It’s about building a twitter-like client but for simplicity (avoiding OAuth) its useing its own service located here: http://yamba.marakana.com/ username is student and password is password.

here is my code:

    public void onClick(View v) {
    final String statusText = editStatus.getText().toString();

    //zeitkritische Aufgaben wie z.b. networking oder DB Zugriff dürfen nicht im main-thread laufen
    //App crashed sonst
    new Thread() {
        public void run() {
            try {                   
                Twitter twitter = new Twitter("student", "password");
                twitter.setAPIRootUrl("http://yamba.marakana.com/api");
                twitter.setStatus(statusText);
            } catch (Exception e) {
                Log.e("error", "DIED", e);
                //e.printStackTrace(e);

            }
        }
    }.start();

    Log.d("StatusActivity", "onClicked! with text: " + statusText);
}
}

and here is what logcat gives me:

04-08 20:48:14.329: D/gralloc_goldfish(1935): Emulator without GPU emulation detected.
04-08 20:48:17.019: D/StatusActivity(1935): onClicked! with text: ggfdg
04-08 20:48:23.308: D/StatusActivity(1935): onClicked! with text: ggfdg
04-08 20:48:24.438: E/error(1935): DIED
04-08 20:48:24.438: E/error(1935): winterwell.jtwitter.TwitterException$E401: Unauthorized http://twitter.com/account/rate_limit_status.json (student)
04-08 20:48:24.438: E/error(1935): at winterwell.jtwitter.URLConnectionHttpClient.processError(URLConnectionHttpClient.java:125)
04-08 20:48:24.438: E/error(1935): at winterwell.jtwitter.URLConnectionHttpClient.getPage(URLConnectionHttpClient.java:91)
04-08 20:48:24.438: E/error(1935): at winterwell.jtwitter.URLConnectionHttpClient.processError(URLConnectionHttpClient.java:143)
04-08 20:48:24.438: E/error(1935): at winterwell.jtwitter.URLConnectionHttpClient.post(URLConnectionHttpClient.java:219)
04-08 20:48:24.438: E/error(1935): at winterwell.jtwitter.Twitter.post(Twitter.java:1944)
04-08 20:48:24.438: E/error(1935): at winterwell.jtwitter.Twitter.updateStatus(Twitter.java:2555)
04-08 20:48:24.438: E/error(1935): at winterwell.jtwitter.Twitter.updateStatus(Twitter.java:2502)
04-08 20:48:24.438: E/error(1935): at winterwell.jtwitter.Twitter.setStatus(Twitter.java:2274)
04-08 20:48:24.438: E/error(1935): at com.example.yamba.StatusActivity$1.run(StatusActivity.java:34)

It seems that the app tries to connect to twitter despite the fact that it should connect to the marakana-service because of this line:

twitter.setAPIRootUrl("http://yamba.marakana.com/api");
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:20:23+00:00Added an answer on June 3, 2026 at 6:20 am

    I also faced the same issue. My mistake was I forgot to remove the code for Toast from the catch block

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Edit: Seems numerous people think this is a dumb idea, so I would appreciate
EDIT Ok, @dhg discovered that dot-method syntax required if the code block to fold()
EDIT: I think I've worked something out. - This character - ’ - seems
Edit: Translated I have a RSS-feed that i want to parse. It's a podcast
EDIT How to simplify the following code: if(x(a) > x(b)) s = b; e
EDIT: I have a table with 3 rows like so. ID NAME REV 1
EDIT: Here's my call stack. System.ServiceModel.dll!System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(System.ServiceModel.Channels.Message reply, System.ServiceModel.Channels.MessageFault fault, string action, System.ServiceModel.Channels.MessageVersion version, System.ServiceModel.Channels.FaultConverter
EDIT I made a screen shot to show better what I'm attempting to do,
Edit: I posted the whole class (striped a few for the error irrelevant things
EDIT: It looks like I'm completely misinformed. Please close this thread. Gah. For the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.