Sylvester Steele wrote: > Can you elaborate on how it is not working? > > ABC= new __CursorAdapter__ (myCursor, myActivity); > > __ -> redline under that. message: can not instantiate the type > CursorAdapter
I am guessing that you are using Eclipse. I don't use it myself and so can only guess what might be causing the redline. In IDEs, that typically indicates a syntax error or some similar problem. I am assuming that the project does not compile in its current state. Without more source code is is impossible to say for certain the cause, but here are some things to look at: -- Is android.widget.CursorAdapter available via an import statement? -- Is myCursor declared as a Cursor? Is myActivity declared as an Activity or some other subclass of Context? -- Are you on the M5 version of the SDK? It's possible that constructor was not available in earlier SDK editions. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch in September! http://www.bignerdranch.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

