hey i'm stuck problem quite while
need have backround activity in android running detect photo/video activity, minute photo or video taken should make entry text file:
the entry should : [uri_of_new_photo, time, gps-location]
what possible ways in can achieve this, looking @ broadcastreciever, not sure if work.
are there tutorials/links can give me solution. direct solution problem great!! (rather alternatives, small part of bigger project)
what possible ways in can achieve this
technically, it's not possible. welcome write camera application takes photos or videos , not tell them.
i looking @ broadcastreciever, not sure if work.
i not sure "the broadcastreceiver" referring to.
you welcome use fileobserver
try monitor places photos , recorded videos. however, there no guarantee apps write photos or recorded videos in places looking. and, because there new file in 1 of directories not mean user took photo or recorded video -- have copied file directory, or obtained file internet (e.g., flickr sync). and, work while app running.
you welcome use contentobserver
on mediastore
. suffer same basic problems fileobserver
approach mentioned.
if want reliably log information time , location of photos , videos, write own camera app.
Comments
Post a Comment