On 4 October 2011 09:37, Peter <[email protected]> wrote: > Folks, > > I have been looking around for code that would let users select a file > from the sd card. I have seen a few implementations for such an "open > file" dialog. However, all of them have been implemented as activities > and not as a dialog. I am wondering why developers are implementing it > this way. For me, it appears "open file" must be a dialog.
Must is a strong word. You are used to desktop file selectors, where in most cases they are just a pop-up dialogs. However in mobile it makes more sense for the file selector to occupy as much screen as possible. Otherwise you will end up with a dialog that in landscape mode displays max 3 files and browsing involves lots of fast (i.e. inacurate) scrolling. Please also mind, that mouse pointer in desktop environment is 1px. With touch screen we are talking pointers 5 x 5 px all the way up to 20 x 20 in high res sreens. That is not to say that file selector would not work as a dialog. It would most likely require some very neat and clever UI tricks. Feel free to innovate and implement one. When done right, people will write articles about it. -- Daniel Drozdzewski -- 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

