title: android: content provider : Service crashes on staring - Unable to get provider sensordata.collector.SurveyDbProvider
body: <p>I have built my own content provider. Many applications have to share this database.</p>
  
  <p>But when I start my service it crashes. I didn't even get any exceptions in the log.</p>
  
  <p>Looks like issue with manifest, since after I added tags realted to provider issue started.</p>
  
  <pre><code>Package:sensordata.collector
  Clas name : SurveyDbProvider [SurveyDbProvider extends ContentProvider]
  </code></pre>
  
  <p>This is my manifest file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="sensordata.collector"
        android:versionCode="1"
        android:versionName="1.0"&gt;
      &lt;permission
          android:name="sensordata.collector.SURVEY_DATA.permission.READ"
          android:label="@string/perm_label"        
          android:description="@string/perm_label" /&gt;
  
       &lt;permission
          android:name="sensordata.collector.SURVEY_DATA.permission.WRITE"
          android:label="@string/perm_label"        
          android:description="@string/perm_label" /&gt;
  
      &lt;uses-permission android:name="sensordata.collector.SURVEY_DATA.permission.WRITE" /&gt;  
      &lt;uses-permission android:name="sensordata.collector.SURVEY_DATA.permission.READ" /&gt; 
  
  
  In application tag :
  
    &lt;provider android:name="sensordata.collector.SurveyDbProvider"
           android:authorities="sensordata.collector" 
           android:readPermission="sensordata.collector.SURVEY_DATA.permission.READ"
           android:writePermission="sensordata.collector.SURVEY_DATA.permission.WRITE" /&gt;  
  
      &lt;/application&gt;
  &lt;uses-sdk android:minSdkVersion="4" /&gt;
  
  &lt;/manifest&gt; 
  </code></pre>
  
  <p>Please help.</p>