title: Android 4.4 and above can not receive boot broadcast
body: <p>1、Limiting application installation location</p>
  
  <pre><code>android:installLocation="internalOnly"
  </code></pre>
  
  <p>2、Add boot broadcast permission</p>
  
  <p></p>
  
  <p>3、Registered broadcast</p>
  
  <p></p>
  
  <pre><code>            &lt;action android:name="android.intent.action.BOOT_COMPLETED" /&gt;
  
              &lt;category android:name="android.intent.category.HOME" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>4、Receive broadcast print log and start service</p>
  
  <pre><code>public class MyBootBroadCastReceiver extends BroadcastReceiver {
  
      @Override
      public void onReceive(Context context, Intent intent) {
          //
          String action = intent.getAction();
  
          Log.e("TAG", isOrderedBroadcast() + "action:" + action);
  
          Intent service = new Intent(context, MyService.class);
  
          context.startService(service);
        ｝
  ｝
  </code></pre>
  
  <p>Above for the realization of the code
  But android 4.4 and more than the phone after the start of the broadcast, the following can be.</p>