0

I would like to discover that picture was taken by default camera app. Just like Google plus discovers it and upload it to server. I failed in finding it in documentation. Does anybody have a hint where to find this kind of information?

Marijn
  • 10,097
  • 5
  • 56
  • 78
wonglik
  • 987
  • 4
  • 16
  • 34

1 Answers1

1

You can have 2 things as far as I know

  1. An intent when media is added, which is the below I believe. I'm not really sure how much use it is in all cases, you should have to try it out :)

    Intent.ACTION_MEDIA_SCANNER_SCAN_FILE
    
  2. You can keep an eye on the special kind of content you wish to know about when it changes. See for an exmple here: http://mylifewithandroid.blogspot.nl/2008/03/observing-content.html

Nanne
  • 63,347
  • 16
  • 116
  • 159