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

  • SEARCH
  • Home
  • 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 8154405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:20:11+00:00 2026-06-06T16:20:11+00:00

I am going through the android developer training material here – http://developer.android.com/training/basics/network-ops/index.html . I

  • 0

I am going through the android developer training material here – http://developer.android.com/training/basics/network-ops/index.html. I downloaded the sample code NetworkUsage.zip and imported it to eclipse. The code has error in SettingsActivity.java when I open it, “The method onSharedPreferenceChanged(SharedPreferences, String) of type SettingsActivity must override a superclass method”.

As far as I can see it is correctly defining the method and implementing the interface, why is there an error? From the android api I can see that this interface still exists and has not be deprecated or anything.

Thanks!

  • 1 1 Answer
  • 1 View
  • 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-06T16:20:15+00:00Added an answer on June 6, 2026 at 4:20 pm

    not sure but may it help

    'Must Override a Superclass Method' Errors after importing a project into Eclipse

    Eclipse is defaulting to Java 1.5 and you have classes implementing interface methods (which in Java 1.6 can be annotated with @Override, but in Java 1.5 can only be applied to methods overriding a superclass method).

    Go to your project/ide preferences and set the java compiler level to 1.6 and also make sure you select JRE 1.6 to execute your program from eclipse.

    Why do I get "must override a superclass method" with @Override?

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

Sidebar

Related Questions

I'm testing out the billing sample application provided by google: http://developer.android.com/guide/market/billing/index.html Everything is going
Quick note: I'm using the SoundPool class http://developer.android.com/reference/android/media/SoundPool.html What I have here is a
I am going through this tutorial they have: developer.android.com/guide/market/billing/billing_integrate.html and I am in this
i was just going through the documentation given on developer.android.com and when i was
I'm going through this tutorial from droid draw: http://www.droiddraw.org/tutorial3.html I'm getting this error when
Going through the microsoft authentication tutorial listed here they have you create a master
I'm trying to get into android development and I'm going through the tutorials, however
I am going through the android hello world tutorial, and have been stuck when
I am new to android and after going through many tutorials I still can't
I'm new to Android development and I'm currently going through some tutorials. When I

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.