I am having trouble getting my android system to launch my activity
for all files with a given extension.

I am using OI File Manager, and trying to get my activity launched for
all files with a given suffix (bif).

Here is the relevant section of my manifest:

<application
                        android:icon="@drawable/icon"
                        android:label="@string/app_name" >
                <!--We derive from native activity so we can access information
                about the intent the activity was launched with -->
                <activity android:name="com.nvidia.devtech.UICViewer"
                                android:label="@string/app_name"
                                android:screenOrientation="landscape">
                        <!-- Tell NativeActivity the name of or .so -->
                        <meta-data android:name="android.app.lib_name"
                                        android:value="UICViewer" />
                        <intent-filter>
                                <action 
android:name="android.intent.action.VIEW" />
                                <category 
android:name="android.intent.category.DEFAULT" />
                                <category 
android:name="android.intent.category.BROWSABLE" />
                                <data android:mimeType="*/*" />
                                <data android:scheme="file"/>
                                <data android:host="*" />
                                <data android:pathPattern=".*\\.bif" />
                        </intent-filter>
                </activity>
    </application>

And here is the output of adb logcat when I 'click' on the file:

I/ActivityManager(  145): Starting: Intent
{ act=android.intent.action.VIEW dat=file:///mnt/sdcard/UIComposer/
basicredcube.bif typ=*/* cmp=android/
com.android.internal.app.ResolverActivity } from pid 566
I/ActivityManager(  145): Displayed android/
com.android.internal.app.ResolverActivity: +370ms

All that happens is that the screen goes slightly darker than it was
and my app doesn't appear.

Any thoughts as to why this may be?  Or more thorough ways to debug
this?

Chris

-- 
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