Having lite & pro ContentProviders is very easy if you use a library project. Simply put all of the shared functionality between lite & pro versions, including the ContenteProvider, in the base library project. Then, have 2 separate lite & pro projects that use the same base library project. Define any lite/pro specific variables & manifest values in the lite & pro versions, and that's it.
For instance, in one of my apps, I have both lite & pro versions with ContentProviders. The ContentProvider is defined in the library project and references an AUTHORITY variable defined in an Application object. Then, in each of the LITE & PRO versions, I created a subclass of the Application object that overrides the AUTHORITY variable with the correct version-specific value. Similarly, the LITE & PRO Manifest files have corresponding version-specific authority strings for the ContentProvider. Works like a charm. Cheers, Steve -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

