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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:57:48+00:00 2026-06-13T12:57:48+00:00

I am using target API 16 and minimum API 11 with compliance level of

  • 0

I am using target API 16 and minimum API 11 with compliance level of compiler 1.7
When I am using @Override notation on methods of LoaderCallbacks, such as OnLoadFinished, OnCreateLoader, there is a mistake that inspection result says I must override super class methods.

Eclipse SDK

Version: 4.2.1
Build id: M20120914-1800

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.birthdays"
    android:versionCode="1"
    android:versionName="1.0">

    <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="15" />

    <application android:label="@string/app_name"
        android:icon="@drawable/ic_launcher"
        android:theme="@style/AppTheme">

    </application>

</manifest>



public class MainActivity extends ListActivity implements LoaderManager.LoaderCallbacks<Cursor>
    {
        private static final int ACTIVITY_CREATE = 0;
        private static final int DELETE_ID = Menu.FIRST + 1;
        private AppSqliteDataBase dataSource;
        private Cursor cursor;
        private SimpleCursorAdapter adapter;
        public void onCreate(Bundle savedInstanceState)
        {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);
    //      this.getListView().setDividerHeight(2);
            dataSource = new AppSqliteDataBase(this);
            dataSource.open();
            cursor = dataSource.getCursor();
            fillData();
            registerForContextMenu(getListView());


        }

        private void fillData()
        {
            String[] from = new String[] { dataSource.getCredentialsColName() };
            int[] to = new int[] { R.id.list_label };
            adapter = new SimpleCursorAdapter(this, android.R.layout.simple_list_item_1, cursor, from, to, 0);
            setListAdapter(adapter);

            getLoaderManager().initLoader(0, null, this);
        }

        public Loader<Cursor> onCreateLoader(int id, Bundle args)
        {
    //      String[] projection = { dataSource.getIdColName(), dataSource.getCredentialsColName() };
            SQLiteCursorLoader cursorLoader = new SQLiteCursorLoader(this, 
                    dataSource.dbHelper, "select _id, credentials from birthdays where 1", new String[]{}); 
            return cursorLoader;
        }


        public void onLoaderReset(Loader<Cursor> loader)
        {
            adapter.swapCursor(null);
        }


        public void onLoadFinished(Loader<Cursor> loader, Cursor data)
        {
            adapter.swapCursor(data);
        }
    }
  • 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-13T12:57:49+00:00Added an answer on June 13, 2026 at 12:57 pm

    change your compiler compliance level to 1.6,
    right click on your project in eclipse go to properties and select compiler option

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

Sidebar

Related Questions

I am using Android API level-8(i.e. Android 2.2 Froyo). I want to add the
I am using Qt webkit Jambi API's to convert HTML to PDF. My target
I'm using reflection to call a method that is outside of the target API
Most of the BLAS Level 1 API can be trivially written straight forward using
Using VS 2008, the target environment is Windows CE with an ARM processor if
I'm experienced in using media queries to target CSS to specific browser sizes/or contexts,
Using JNA, the documentation says: Make your target library available to your Java program.
I am using jQuery to detect drop on target, the target in question is
When delegating events using .on how do I target child elements: I have tried:
I am using Mac OS X 10.6 SDK and my deployment target is set

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.