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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:17:28+00:00 2026-06-13T04:17:28+00:00

I am trying to implement Content Providers and Cursor Loaders to get away from

  • 0

I am trying to implement Content Providers and Cursor Loaders to get away from cursors as recommended by Android/Google. However, I’m having a terrible time of it. I’m using the tutorials at http://mobile.tutsplus.com/tutorials/android/android-sdk_content-providers/ as my guide and the simplest thing just isn’t working. At the beginning of my Activity, I’m doing the following:

SQLData entry = new SQLData(getApplicationContext()); 

I’ve also tried

SQLData entry = new SQLData(this); 

SQLData is the name of my database class. What I’d like to do after this line of code is create and populate the database using the methods from the content provider class I’ve created. However, when I try to move past this line in the debugger, a ClassLoader.class window opens, with the message “source not found”. I’ve reloaded and refreshed and cleaned my package, but this doesn’t help. I’m happy to provide all the code for my database and content provider classes, but I’m not sure that’s what’s needed here. Does anyone know how to approach this issue?

Thanks very much!

  • 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-13T04:17:29+00:00Added an answer on June 13, 2026 at 4:17 am

    In android, or any java dev; you may find it more useful to write JUnit tests and put lots of

     Log.v(TAG, "message about " + variable); 
    

    in your code instead of using the debugger…

    I write Java code as my job and use the debug option maybe twice a year as a last resort…

    the JUnit tests get my errors out and save me TONS of time, stepping through code in the debugger can be a very time consuming thing…
    just a tip, and it may just be my personal pref…

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

Sidebar

Related Questions

I am trying to implement the MyLocationOverlay class from google maps. However, when I
I am trying to implement an NSTextView which resizes to fit its content. I
I'm trying to implement an script that reads the content(files and folders) of a
Trying to implement google C2DM service. registrationIntent.putExtra(app, PendingIntent.getBroadcast(context,0,new Intent(), 0)); registrationIntent.putExtra(sender,example@gmail.com); context.startService(registrationIntent); Almost every
Trying to implement LoaderManager + CursorLoader. In onFinish method adapter should swap its cursor
i got problem with my code , i am trying to get image from
Trying to implement the example from here. Facebook Share passes along the URL of
I am having some difficulty with an Android layout problem. I am trying to
I'm trying to implement Spring security for my GAE application however I'm getting this
Good Evening, I have been trying to implement a simple Android(tm) application that utilizes

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.