Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<pre><code>&lt;provider android:authorities="de.somename.provider" android:enabled="true" android:multiprocess="true" android:name=".hvkContentProvider" android:exported="true" &gt;&lt;/provider&gt; </code></pre> <p>From reference page on <code>&lt;provider&gt;</code>: <a href="http://developer.android.com/guide/topics/manifest/provider-element.html" rel="noreferrer">Link</a></p> <blockquote> <p><strong>android:authorities:</strong> ......To avoid conflicts, authority names should use a Java-style naming convention (such as <strong>com.example.provider.cartoonprovider</strong>). Typically, it's the name of the ContentProvider subclass that implements the provider.</p> </blockquote> <p>In your case, <code>android:authorities</code> should have the value: <code>de.somename.provider.hvkContentProvider</code>.</p> <hr> <blockquote> <p><strong>android:name:</strong>...... The name of the class that implements the content provider, a subclass of ContentProvider. This should be a <strong>fully qualified class name</strong> (such as, "com.example.project.TransportationProvider"). However, as a shorthand, if the first character of the name is a period, <strong>it is appended to the package name specified in the element</strong>.</p> </blockquote> <p>So, if you are defining <code>package</code> in the <code>manifest</code> tag of <code>AndroidManifest.xml</code>, make sure <code>hvkContentProvider</code> is <em>in</em> that package. Else, change <code>android:name=".hvkContentProvider"</code> to <code>android:name="de.somename.hvk3.hvkContentProvider"</code> or <code>your.package.name.hvkContentProvider</code></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload