cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpolivy <...@git.apache.org>
Subject [GitHub] cordova-plugin-camera pull request: CB-9193: Add 'showLibraryButto...
Date Mon, 06 Jul 2015 22:49:45 GMT
Github user dpolivy commented on the pull request:

    https://github.com/apache/cordova-plugin-camera/pull/104#issuecomment-119015527
  
    @muratsu Valid question, thanks for starting the discussion. The Android implementation
is more like the Messages/Slack experience you highlight above. I think the "right" solution
here really depends on the app and the desired user experience. For me, camera is the 90%
usage scenario, but it's important to allow gallery upload, too. So the best UX is to launch
right into the camera UI, with an option to fall out into the gallery. That creates an extra
tap for only a smaller percentage of users, vs all users if we show a picker off the bat (e.g.,
like Android).
    
    Supporting better custom camera UI longer term may be a better way to solve this, but
there's no way to defer that to the app developer without requiring them to go build some
native components.
    
    To be honest, longer term I will likely fork this plugin, and replace the Android and
Windows Phone implementations with ones using the low level camera APIs to better replicate
the iOS approach, so I can build custom UIs on top of them that better match our usage scenarios.
But, as a first (quicker) stab, I'm trying it this way, and wanted to give the opportunity
to share this back as I can't imagine I'm the only one who would find this valuable.
    
    I'm curious to hear other's thoughts on this. Adding a more consistent "picker" UI which
can be implemented consistently on all platforms might be a viable alternative -- BUT it kills
the use case I mentioned above (which was my motivation for doing it in the first place).
Plus, that can sort of be done already today by having separate buttons in your HTML UI.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message