Code example for ContentProvider

Methods: getIContentProvider

0
         * Gets the content provider from the local map 
         */ 
        final ContentProvider provider = mProviders.get(name);
 
        if (provider != null) {
            return provider.getIContentProvider();
        } else { 
            return null; 
        } 
    } 
 
    /** @hide */ 
    @Override 
    public boolean releaseProvider(IContentProvider provider) {
        return true; 
    } 
 
    /** @hide */ 
    protected IContentProvider acquireUnstableProvider(Context c, String name) {
        return acquireProvider(c, name);