wonglik
wonglik

Reputation: 1069

Is it possible to discover if picture was taken?

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?

Upvotes: 0

Views: 94

Answers (1)

Nanne
Nanne

Reputation: 64399

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

Upvotes: 1

Related Questions