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

[Feature request] Add an option to "Browse" file system for a file to import to user filter #120

Closed
ameshkov opened this Issue Oct 20, 2015 · 17 comments

Comments

Projects
None yet
4 participants
@ameshkov
Member

ameshkov commented Oct 20, 2015

@Revertron do you know any simple-to-integrate component for file system browsing?

@Alexey71

This comment has been minimized.

Show comment
Hide comment
@Alexey71

Alexey71 Dec 14, 2015

Как успехи?, 3 месяца почти прошло

Alexey71 commented Dec 14, 2015

Как успехи?, 3 месяца почти прошло

@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov Dec 16, 2015

Member

Пока не то чтобы сильно успешно.

@Revertron так что, не подскажешь какой-нибудь простой компонент, который можно интегрировать?

Member

ameshkov commented Dec 16, 2015

Пока не то чтобы сильно успешно.

@Revertron так что, не подскажешь какой-нибудь простой компонент, который можно интегрировать?

@Alexey71

This comment has been minimized.

Show comment
Hide comment
@Alexey71

Alexey71 Dec 29, 2015

К релизу не ожидать, видимо)

Alexey71 commented Dec 29, 2015

К релизу не ожидать, видимо)

@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov Dec 30, 2015

Member

Ну не к ближайшему точно:)

Member

ameshkov commented Dec 30, 2015

Ну не к ближайшему точно:)

@TPS

This comment has been minimized.

Show comment
Hide comment
@TPS

TPS Dec 31, 2015

Contributor

My 2¢: I use https://github.com/openintents/filemanager as a stand-alone, & I understand they intentionally designed the source to be easy to work with. Maybe it might be helpful?

Contributor

TPS commented Dec 31, 2015

My 2¢: I use https://github.com/openintents/filemanager as a stand-alone, & I understand they intentionally designed the source to be easy to work with. Maybe it might be helpful?

@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov Jan 1, 2016

Member

@TPS thanks for the link!

It is easy to integrate with this app indeed:
http://stackoverflow.com/questions/8496482/how-do-i-browse-the-filesystem-in-android-using-a-third-party-component

But that's in case if this file manager is already installed. Bundling their code into our app seems to be an overkill.

We may also use this component:
https://github.com/dibakarece/AndroidFileExplorer

Or just implement the file browser by ourselves:
http://www.christophbrill.de/en_US/how-to-create-a-android-file-browser-in-15-minutes/

That's really weird Android still does not provide a standard component for this.

Member

ameshkov commented Jan 1, 2016

@TPS thanks for the link!

It is easy to integrate with this app indeed:
http://stackoverflow.com/questions/8496482/how-do-i-browse-the-filesystem-in-android-using-a-third-party-component

But that's in case if this file manager is already installed. Bundling their code into our app seems to be an overkill.

We may also use this component:
https://github.com/dibakarece/AndroidFileExplorer

Or just implement the file browser by ourselves:
http://www.christophbrill.de/en_US/how-to-create-a-android-file-browser-in-15-minutes/

That's really weird Android still does not provide a standard component for this.

@TPS

This comment has been minimized.

Show comment
Hide comment
@TPS

TPS Jan 2, 2016

Contributor

You're welcome, of course. Why don't you all provide the correct intents, anyway, if/when implementing the above code, so that those of us who prefer our own installed file browser can use it, maybe toggled via a new setting?

That's really weird Android still does not provide a standard component for this.

I think the closest available is detailed starting from http://developer.android.com/guide/topics/providers/document-provider.html

Contributor

TPS commented Jan 2, 2016

You're welcome, of course. Why don't you all provide the correct intents, anyway, if/when implementing the above code, so that those of us who prefer our own installed file browser can use it, maybe toggled via a new setting?

That's really weird Android still does not provide a standard component for this.

I think the closest available is detailed starting from http://developer.android.com/guide/topics/providers/document-provider.html

@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov Jan 4, 2016

Member

You're welcome, of course. Why don't you all provide the correct intents, anyway, if/when implementing the above code, so that those of us who prefer our own installed file browser can use it, maybe toggled via a new setting?

This intent is not standard, it is specific to the OI File manager. We can send it or not, it just does not solve the issue. For instance, what if I don't have a file manager app at all?

I think the closest available is detailed starting from
http://developer.android.com/guide/topics/providers/document-provider.html

Too much abstractions there. What we all need is simple native "OpenFileDialog" component.

Member

ameshkov commented Jan 4, 2016

You're welcome, of course. Why don't you all provide the correct intents, anyway, if/when implementing the above code, so that those of us who prefer our own installed file browser can use it, maybe toggled via a new setting?

This intent is not standard, it is specific to the OI File manager. We can send it or not, it just does not solve the issue. For instance, what if I don't have a file manager app at all?

I think the closest available is detailed starting from
http://developer.android.com/guide/topics/providers/document-provider.html

Too much abstractions there. What we all need is simple native "OpenFileDialog" component.

@TPS

This comment has been minimized.

Show comment
Hide comment
@TPS

TPS Jan 4, 2016

Contributor

This intent is not standard, it is specific to the OI File manager.

I'm not sure.… Reading through https://github.com/openintents/filemanager/blob/master/FileManager/AndroidManifest.xml, this relevant-looking section seems generic enough:

<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:scheme="file" />
</intent-filter>

Other apps that implement an "Open File" mechanism (mostly office programs — Google Docs & related, OfficeSuite, PDFMax, &c) seem to call that intent, I think, & the Android (4.4) system responds with a dialog that gives whatever file managers as options:
File dialog from http://www.addictivetips.com/android/lesser-known-android-4-4-kitkat-features/
A file manager would show up in the section whereGallery&Photosappear in the lower left of the above.

Contributor

TPS commented Jan 4, 2016

This intent is not standard, it is specific to the OI File manager.

I'm not sure.… Reading through https://github.com/openintents/filemanager/blob/master/FileManager/AndroidManifest.xml, this relevant-looking section seems generic enough:

<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:scheme="file" />
</intent-filter>

Other apps that implement an "Open File" mechanism (mostly office programs — Google Docs & related, OfficeSuite, PDFMax, &c) seem to call that intent, I think, & the Android (4.4) system responds with a dialog that gives whatever file managers as options:
File dialog from http://www.addictivetips.com/android/lesser-known-android-4-4-kitkat-features/
A file manager would show up in the section whereGallery&Photosappear in the lower left of the above.

@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov Jan 4, 2016

Member

@TPS hmm, you may be right (shame on me then:)), we'll check it.

Member

ameshkov commented Jan 4, 2016

@TPS hmm, you may be right (shame on me then:)), we'll check it.

@TPS

This comment has been minimized.

Show comment
Hide comment
@TPS

TPS Jan 9, 2016

Contributor

The intent could also be

intent:#Intent;action=android.intent.action.GET_CONTENT;type=*/*;launchFlags=0x1000000;end 

ACTION:android.intent.action.GET_CONTENT 
DATA:null 
TYPE:*/* 

FLAGS:
FLAG_ACTIVITY_PREVIOUS_IS_TOP

I'll see what else I dig up.

Contributor

TPS commented Jan 9, 2016

The intent could also be

intent:#Intent;action=android.intent.action.GET_CONTENT;type=*/*;launchFlags=0x1000000;end 

ACTION:android.intent.action.GET_CONTENT 
DATA:null 
TYPE:*/* 

FLAGS:
FLAG_ACTIVITY_PREVIOUS_IS_TOP

I'll see what else I dig up.

@Alexey71

This comment has been minimized.

Show comment
Hide comment
@Alexey71

Alexey71 Mar 14, 2016

Привет. Как дела с кнопкой?)

Alexey71 commented Mar 14, 2016

Привет. Как дела с кнопкой?)

@ameshkov ameshkov added this to the 2.6 milestone Mar 15, 2016

@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov Mar 15, 2016

Member

@Alexey71 спасибо, что напомнил:) планирую на v2.6.
Translation: thanks for the reminder. I've assigned it to v2.6 now.

@TPS time to learn russian eh? github reactions are hilarious:)

Member

ameshkov commented Mar 15, 2016

@Alexey71 спасибо, что напомнил:) планирую на v2.6.
Translation: thanks for the reminder. I've assigned it to v2.6 now.

@TPS time to learn russian eh? github reactions are hilarious:)

@TPS

This comment has been minimized.

Show comment
Hide comment
@TPS

TPS Mar 15, 2016

Contributor

Well, GTranslate usually works (enough ;) for me to get a clue, but

Привет. Как дела с кнопкой?)

above GTranslated to "Hey. How's the button ? )" Big help! 😖

Contributor

TPS commented Mar 15, 2016

Well, GTranslate usually works (enough ;) for me to get a clue, but

Привет. Как дела с кнопкой?)

above GTranslated to "Hey. How's the button ? )" Big help! 😖

@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov Mar 15, 2016

Member

Translation is correct, he means "How's the Browse button":)

Member

ameshkov commented Mar 15, 2016

Translation is correct, he means "How's the Browse button":)

@TPS

This comment has been minimized.

Show comment
Hide comment
@TPS

TPS Mar 15, 2016

Contributor

💡❗️

Contributor

TPS commented Mar 15, 2016

💡❗️

@ameshkov ameshkov modified the milestones: 2.7, 2.6 May 20, 2016

@Revertron Revertron assigned Revertron and unassigned Revertron Jul 14, 2016

@Revertron

This comment has been minimized.

Show comment
Hide comment
@Revertron

Revertron Jul 20, 2016

Member

Done! :-)

Member

Revertron commented Jul 20, 2016

Done! :-)

@Revertron Revertron closed this Jul 20, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment