title: Unable to Receive ACTION_NEW_PICTURE on Samsung and HTC UI's
body: <p>I have an app which has a broadcast receiver receiving the action ACTION_NEW_PICTURE. This receiver works fine on most devices except the ones with the htc and samsung camera UI's.</p>
  
  <p>Here's my receiver:</p>
  
  <pre><code>BroadcastReceiver receiver = new BroadcastReceiver() {
  
          @Override
          public void onReceive(Context context, Intent intent) {
              // TODO Auto-generated method stub
              // Log.e(TAG, "Intent Received");
              // Toast.makeText(Helper.this, "Intent Received",
              // Toast.LENGTH_SHORT).show();
              if (intent.getAction() == android.hardware.Camera.ACTION_NEW_PICTURE) {
                  NameEditor.mediaType = "image";
              } else {
                  if (intent.getAction() == android.hardware.Camera.ACTION_NEW_VIDEO) {
                      NameEditor.mediaType = "video";
                  }
              }
   NameEditor.pictureUri = intent.getData();
              startActivity(dIntent);
          }
      };
  
      filter = new IntentFilter(android.hardware.Camera.ACTION_NEW_PICTURE);
      filter.addAction(android.hardware.Camera.ACTION_NEW_VIDEO);
      try {
          filter.addDataType("image/*");
          filter.addDataType("video/*");
      } catch (MalformedMimeTypeException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      }
      filter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY);
      registerReceiver(receiver, filter);
  </code></pre>
  
  <p>Can someone help me out with this?</p>