<activity
            android:label="@string/app_name"
            android:name=".EZPaddActivity" >
            <intent-filter >
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <intent-filter >
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="file" />
                <data android:mimeType="text/*" />
            </intent-filter>
        </activity>
My app shows in the list for text files, I launch the file from a file 
manager such as ES File Explorer or IO File Manager: I click the file in 
the file manager at /mnt/sdcard/test.txt, the app list shows up, I click my 
app, it says it could not find /mnt/sdcard/mnt/sdcard/test.txt

On Wednesday, March 6, 2013 11:08:32 PM UTC-6, TreKing wrote:
>
> You need to provide more information.
>
> On Wed, Mar 6, 2013 at 10:33 PM, TWProgrammers 
> <[email protected]<javascript:>
> > wrote:
>
>> I am trying to get the file path of the intent.
>>
>
> What intent?
>  
>
>> Everything I find doesn't seem to work.
>>
>
> Like what?
>  
>
>> However if I open a file in "/mnt/sdcard/test.txt"
>>
>
> Open a file how?
>  
>
>> it tries to open "/mnt/sdcard/mnt/sdcard/test.txt"
>>
>
> What is "it"?
>  
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago 
> transit tracking app for Android-powered devices
>  

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to