title: Can start Service from another application using explicit Intent?
body: <p>Can start Service from another application using 'explicit' Intent?
  It keeps showing error : <code>not allowed to start service intent without permission</code>
  How can I start <code>Service</code> of Receiver app?</p>
  
  <p><code>Activity</code> of Sending App:</p>
  
  <pre><code>    {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          Button button = (Button) findViewById(R.id.btn_call);
          button.setOnClickListener(new View.OnClickListener() {
  
              @Override
              public void onClick(View v) {
  
                  ComponentName name =  new ComponentName("com.example.vic_app_1", "com.example.vic_app_1.SendSmsService");
  
                  Intent abc = new Intent();
                  abc.setComponent(name);
                  abc.setAction(Intent.ACTION_MAIN);
                  abc.addCategory(Intent.CATEGORY_LAUNCHER);
                  abc.putExtra("destinationAddress", "5554");
                  ComponentName c = getApplication().startService(abc);
                  if (c == null) { Log.e("error", "failed to start with "+abc);         }
  
              }
  </code></pre>
  
  <p><code>Service</code> of Receiver App:</p>
  
  <pre><code>package com.example.vic_app_1;
  
  public class SendSmsService extends Service {
  {     @Override
        public IBinder onBind(Intent intent) {
          return null;
         }     
        @Override
        public void onStart(Intent intent, int startId) {
        Log.d("slog", "onStart()");
        super.onStart(intent, startId); 
        }
  
        @Override
        public void onDestroy() { 
        Log.d("slog", "onDestroy()");
        super.onDestroy();
        }
  } }
  </code></pre>
  
  <p><code>Manifest</code> of Receiver App:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.example.vic_app_1"
  android:versionCode="1"
  android:versionName="1.0" &gt;
  
  &lt;uses-sdk
      android:minSdkVersion="8"
      android:targetSdkVersion="21" /&gt;
  
  &lt;application
      android:allowBackup="true"
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"&gt;
      &lt;activity
          android:name=".MainActivity"
          android:label="@string/app_name" &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=".SendSmsService" &gt;
      &lt;/service&gt;
  &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>