title: Not allowed to start service Intent
body: <p>I'm trying to call a service from a activity:</p>
  
  <p>When I'm running the program the activity throws an error which says: Not allowed to start service Intent. What am I doing wrong? I'm sorry for possible stupid mistakes in the code, but I'm a newbie.</p>
  
  <p>activity code: </p>
  
  <pre><code>public void startService() {
  try { 
  startService (new Intent ( this  , SmsReminderService.class)) ; }
  catch (Exception e ) { Log.v("Error" , e.getMessage()) }
  }
  </code></pre>
  
  <p>service code :</p>
  
  <pre><code>public class SmsReminderService extends Service {
  
  @Override
  public void onStart(Intent intent, int startid) {
      Log.v("SSms", "Service started") ; }}
  </code></pre>
  
  <p>manifest: </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="me.sms.smsReminder"
  android:versionCode="1"
  android:versionName="1.0" &gt;
  
  &lt;uses-sdk android:minSdkVersion="10" /&gt;
  
  &lt;permission android:name="SEND_SMS"&gt;&lt;/permission&gt;
  
  
  &lt;application
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name" &gt;
      &lt;activity
          android:label="@string/app_name"
          android:name=".SmsReminderActivity" &gt;
          &lt;intent-filter &gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
      &lt;service android:name=".SmsReminderService"    
               android:permission="android.permission.BIND_REMOTEVIEWS"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name = "android.intent.category.LAUNCHER" &gt;&lt;/action&gt;
              &lt;/intent-filter&gt;
  
          &lt;/service&gt;
  &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>Thanks in advance, Tom </p>