Code example for ProviderInfo

0
    * @return the provider 
    */ 
   public ContentProvider getProvider() {
      if (null == provider) {
         provider = new TestMockContentProvider(); // use your application's provider class implementation here
         ProviderInfo pi = new ProviderInfo();
         pi.authority = "org.openremote.android.test.provider.authority"; // use the provider authority name defined for
                                                                         // your application, either in the manifest or 
                                                                         // in a static 'persistence' class 
         pi.enabled = true;
         pi.isSyncable = false;
         pi.packageName = TestMockContentProvider.class.getPackage().getName(); // again - customize this for your
         pi.packageName = "";                                                                     // application
         provider.attachInfo(this.context, pi);
         super.addProvider("org.openremote.android.test.provider.authority", provider);
      } 
      return provider;
   } 
 
   /** 
    * @param provider