Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open fb2.zip files from any file manager #40

Open
sigsergv opened this issue Mar 7, 2012 · 2 comments
Open

Open fb2.zip files from any file manager #40

sigsergv opened this issue Mar 7, 2012 · 2 comments

Comments

@sigsergv
Copy link

sigsergv commented Mar 7, 2012

Currently it's not possible to open fb2.zip files in FBReader directly from File Manager. It could be fixed by adding the following intent filter:

            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="file" />
                <data android:host="*" />
                <data android:pathPattern=".*\\.fb2.zip" />
                <data android:mimeType="application/zip" />
            </intent-filter>

You can use ES File Explorer to check.

@geometer
Copy link
Owner

geometer commented Mar 7, 2012

Hi,

Are you sure FBReader will not try to open all zip files with this change?

Regards,

-- Nikolay

On 7 Mar 2012, at 08:54, otmenych wrote:

Currently it's not possible to open fb2.zip files in FBReader directly from File Manager. It could be fixed by adding the following intent filter:

           <intent-filter>
               <action android:name="android.intent.action.VIEW" />
               <category android:name="android.intent.category.DEFAULT" />
               <data android:scheme="file" />
               <data android:host="*" />
               <data android:pathPattern=".*\\.fb2.zip" />
               <data android:mimeType="application/zip" />
           </intent-filter>

You can use ES File Explorer to check.


Reply to this email directly or view it on GitHub:
#40

@sigsergv
Copy link
Author

sigsergv commented Mar 7, 2012

Well, I've checked on some files before, looks like it doesn't affect general zip-archives, just ones (local files) with fb2.zip suffix. Without the android:mimeType attribute block data just not working. Have checked on ES File Manager, OI File manager.

Probably it requires more investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants