I'm quite new to android development and I'm doing some experiments to try it out. Currently what I am trying to do is every time a picture is taken get it's file path. I understand that Broadcast Receiver is one way of implementing listeners in android.
I successfully implemented one (which listens to AIRPLANE_MODE and outputs log messages), but for camera pictures I can't find an appropriate intent. I already tried MEDIA_SCANNER_SCAN_FILE with no success. Here is my current android manifest:
- Code: Select all
<application android:icon="@drawable/icon" android:label="@string/app_name">
<action android:name="android.intent.action.MEDIA_SCANNER_SCAN_FILE" />
<data android:scheme="file" />
<uses-sdk android:minSdkVersion="8" />
Is this possible to achieve? Any clue anyone?
Thanks in advance,