title: Take new picture action on Android
body: <p>I want to listen take picture action.<br>
  I use below code:  </p>
  
  <pre><code>&lt;receiver
  android:name="CameraButtonActivity"&gt;
      &lt;intent-filter&gt;
          &lt;action
          android:name="android.intent.action.CAMERA_BUTTON"
          /&gt;
          &lt;category
          android:name="android.intent.category.LAUNCHER"
          /&gt;
      &lt;/intent-filter&gt;
  &lt;/receiver&gt;    
  
  
  
  
   public class CameraButtonActivity extends BroadcastReceiver {
       static final String ACTION = "android.intent.action.CAMERA_BUTTON";
  
       public void onReceive(Context context, Intent intent) {
           if (intent.getAction().equals(ACTION)) {
               System.out.println("Take picture");
           }
       }
   }   
  </code></pre>
  
  <p>But it seems not works.<br>
  How can I arrive the request?  </p>