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:

<manifest xmlns:android="http://schemas.android.com/apk/res/android";
   package="test.app" android:versionCode="1"
   android:versionName="1.0">
   <application android:icon="@drawable/icon" android:label="@string/
app_name">
      <receiver android:name="TestBroadcastReceiver">
         <intent-filter>
            <action
android:name="android.intent.action.MEDIA_SCANNER_SCAN_FILE" />
            <data android:scheme="file" />
         </intent-filter>
      </receiver>
   </application>
   <uses-sdk android:minSdkVersion="8" />
</manifest>

Is this possible to achieve? Any clue anyone?

Thanks in advance,
Thiago Souza

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to