Android Open Source - AndroidPlugin Plugin Host Delegate Content Provider From Project Back to project page AndroidPlugin .
License The source code is released under:
MIT License
If you think the Android project AndroidPlugin listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code package com.limemobile.app.plugin;
/ * f r o m w w w . j a v a 2 s . c o m * /
import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.Context;
import android.content.pm.ProviderInfo;
import android.content.res.Configuration;
import android.database.Cursor;
import android.net.Uri;
import com.limemobile.app.plugin.internal.IPluginContentProviderDelegate;
import com.limemobile.app.plugin.internal.PluginDelegateContentProviderImpl;
public class PluginHostDelegateContentProvider extends ContentProvider
implements IPluginContentProviderDelegate {
protected IPluginContentProvider mDelegatedContentProvider;
protected PluginDelegateContentProviderImpl mDelegateImpl = new PluginDelegateContentProviderImpl(
this );
@Override
public boolean onCreate() {
mDelegatedContentProvider.onCreate();
return true;
}
@Override
public void attach(IPluginContentProvider delegatedContentProvider) {
mDelegatedContentProvider = delegatedContentProvider;
}
@Override
public void onConfigurationChanged(Configuration newConfig) {
mDelegatedContentProvider.onConfigurationChanged(newConfig);
super.onConfigurationChanged(newConfig);
}
@Override
public void onLowMemory() {
mDelegatedContentProvider.onLowMemory();
super.onLowMemory();
}
@Override
public void attachInfo(Context context, ProviderInfo info) {
mDelegatedContentProvider.attachInfo(context, info);
super.attachInfo(context, info);
}
@Override
public void shutdown() {
mDelegatedContentProvider.shutdown();
super.shutdown();
}
@Override
public Cursor query(Uri uri, String[] projection, String selection,
String[] selectionArgs, String sortOrder) {
return mDelegatedContentProvider.query(uri, projection, selection,
selectionArgs, sortOrder);
}
@Override
public String getType(Uri uri) {
return mDelegatedContentProvider.getType(uri);
}
@Override
public Uri insert(Uri uri, ContentValues values) {
return mDelegatedContentProvider.insert(uri, values);
}
@Override
public int delete(Uri uri, String selection, String[] selectionArgs) {
return mDelegatedContentProvider.delete(uri, selection, selectionArgs);
}
@Override
public int update(Uri uri, ContentValues values, String selection,
String[] selectionArgs) {
return mDelegatedContentProvider.update(uri, values, selection,
selectionArgs);
}
}
Java Source Code List android.widget.ViewStub.java androidx.plmgrdemo.MainActivity.java androidx.plmgrdemo.PlugListViewAdapter.java androidx.pluginmgr.ActivityClassGenerator.java androidx.pluginmgr.ActivityOverider.java androidx.pluginmgr.FileUtil.java androidx.pluginmgr.FrameworkClassLoader.java androidx.pluginmgr.LayoutInflaterWrapper.java androidx.pluginmgr.PlugInfo.java androidx.pluginmgr.PluginActivityLifeCycleCallback.java androidx.pluginmgr.PluginClassLoader.java androidx.pluginmgr.PluginContextWrapper.java androidx.pluginmgr.PluginManager.java androidx.pluginmgr.PluginManifestUtil.java androidx.pluginmgr.ReflectionUtils.java androidx.pluginmgr.XmlManifestReader.java com.limemobile.app.demo.pluginclienta.ClientABindService.java com.limemobile.app.demo.pluginclienta.ClientAStartedService.java com.limemobile.app.demo.pluginclienta.MainActivity.java com.limemobile.app.demo.pluginclienta.TestButton.java com.limemobile.app.demo.pluginclienta.TestFragmentActivity.java com.limemobile.app.demo.pluginclienta.TestFragment.java com.limemobile.app.demo.pluginclientb.ClientBStartedService.java com.limemobile.app.demo.pluginclientb.MainActivity.java com.limemobile.app.demo.pluginhost.HostBindService.java com.limemobile.app.demo.pluginhost.HostStartedService.java com.limemobile.app.demo.pluginhost.MainActivity.java com.limemobile.app.demo.pluginhost.MyApplication.java com.limemobile.app.demo.pluginhost.TestHostClass.java com.limemobile.app.plugin.IPluginActivity.java com.limemobile.app.plugin.IPluginContentProvider.java com.limemobile.app.plugin.IPluginService.java com.limemobile.app.plugin.PluginClientActivity.java com.limemobile.app.plugin.PluginClientFragmentActivity.java com.limemobile.app.plugin.PluginClientService.java com.limemobile.app.plugin.PluginHostApplication.java com.limemobile.app.plugin.PluginHostContentProvider.java com.limemobile.app.plugin.PluginHostDelegateActivity.java com.limemobile.app.plugin.PluginHostDelegateContentProvider.java com.limemobile.app.plugin.PluginHostDelegateFragmentActivity.java com.limemobile.app.plugin.PluginHostDelegateService.java com.limemobile.app.plugin.internal.IPluginActivityDelegate.java com.limemobile.app.plugin.internal.IPluginContentProviderDelegate.java com.limemobile.app.plugin.internal.IPluginServiceDelegate.java com.limemobile.app.plugin.internal.PluginClientDexClassLoader.java com.limemobile.app.plugin.internal.PluginClientInfo.java com.limemobile.app.plugin.internal.PluginClientManager.java com.limemobile.app.plugin.internal.PluginDelegateActivityImpl.java com.limemobile.app.plugin.internal.PluginDelegateContentProviderImpl.java com.limemobile.app.plugin.internal.PluginDelegateServiceImpl.java com.limemobile.app.plugin.internal.ReflectFieldAccessor.java