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 7181631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:35:54+00:00 2026-05-28T17:35:54+00:00

Getting these error when I run the android application: Instead of getting the statuses

  • 0

Getting these error when I run the android application:

Instead of getting the statuses Im getting one status that says “JSON EXCEPTiON”.
Im also getting these errors in the elogcat.

01-22 15:39:09.783: E/Twitter(468): Error retrieving tweets
01-22 15:39:09.783: E/Twitter(468): 404:The URI requested is invalid or the resource requested, such as a user, does not exists.
01-22 15:39:09.783: E/Twitter(468): {“error”:”Not found”,”request”:”/1/null/lists/0/statuses.json?page=1″}

This code was working great. But then e I put icons on my listview(The menu before I show the statuses…) . I am getting the error somewhere over here:

Any ideas?

    @Override
public View getView(int position, View convertView, ViewGroup parent) {

    Activity activity = (Activity) getContext();
    LayoutInflater inflater = activity.getLayoutInflater();

    // Inflate the views from XML
    View rowView = inflater.inflate(R.layout.image_text_layout, null);
    JSONObject jsonImageText = getItem(position);

ImageView imageview =(ImageView)rowView.findViewById(R.id.last_build_stat);
try {
    String date = (String)jsonImageText.get("tweetDate");
    String avatar = (String)jsonImageText.get("avatar");
    imageview.setImageBitmap(getBitmap(avatar));
} catch (JSONException e) {

    e.printStackTrace();
}


    // Set the text on the TextView
    TextView textView = (TextView) rowView.findViewById(R.id.job_text);


    try {

        String tweet = (String)jsonImageText.get("tweet");

        String auth = (String)jsonImageText.get("author");

        //String date = (String)jsonImageText.get("tweetDate");

        if (date.length()>0){

            String latest = tweet + "<br><br><i>" + auth + " - " + date + "</i>";
            //String latest = tweet;
            textView.setText(Html.fromHtml(latest));
        } else {

            textView.setText(Html.fromHtml(tweet) + "\n" + Html.fromHtml(auth));
        }


    } catch (JSONException e) {

        textView.setText("JSON Exception");
    }
  • 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-05-28T17:35:55+00:00Added an answer on May 28, 2026 at 5:35 pm
    URI requested is invalid or the resource requested, such as a user, does not exists. 01-22 15:39:09.783: E/Twitter(468): {"error":"Not found","request":"/1/null/lists/0/statuses.json?page=1"}
    

    From this message it is evident that call to Twitter API failing. I would suggest put some print statement before calling Twitter API and print out the URL you are trying.

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

Sidebar

Related Questions

Why am I getting these errors? alt text http://img39.imageshack.us/img39/2203/help.tif It says: Error: Request for
I am getting these errors when I run this sql script: Errors: Error code
I'm working on an Android app that also involves databases and I've run across
I've been getting these messages in apache error.log for quite a while: [client 217.197.152.228]
I am having trouble with with getting my application to function on android 1.5.
I have a C++ Android application that I'm trying to debug with ndk-gdb. The
I'm getting the following in the program output when I run my application. When
I keep getting a compilier error whenever I run this... I am quite sure
I try my application run on eclipse but i found these errors. which is
I keep getting these errors while retreiving images here. 07-26 17:21:29.194: ERROR/AndroidRuntime(396): java.lang.RuntimeException: An

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.