[jira] [Commented] (CB-7212) Could not open camera with

2016-04-07 Thread Max von Preuschen (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15230036#comment-15230036
 ] 

Max von Preuschen commented on CB-7212:
---

I'm having exactly the same issue as Amrit.
 in the browser provides the option to "Choose and action" 
(Camera or Documents).
Same code wrapped as cordova app jumps to "Documents"-library right away (no 
camera option).

Different combinations of input-attributes: 'accept' and 'capture', didn't work:



Tested on:
Nexus 7 (Android 5.1.1)
Samsung Galaxy S7 (Android: 6.0.1)

> Could not open camera with 
> --
>
> Key: CB-7212
> URL: https://issues.apache.org/jira/browse/CB-7212
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: 3.5.0
>Reporter: Gao Chun
>Assignee: jcesarmobile
>Priority: Minor
>
> Reproduce Test Steps
> ===
> 1. create index.html which includes the following tag:
> 
> 2. Wrap the web app to android apk with cordova-android
> 3. Launch app in device, and click the input tag.
> Expected Outcome
> ===
> The camera can be selected to take a phone
> Actual Outcome
> ===
> Failed to launch camera when tapping the the input tag.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-2627) HTML File Input should support accept/source attributes

2016-04-07 Thread Max von Preuschen (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15230025#comment-15230025
 ] 

Max von Preuschen commented on CB-2627:
---

I'm having exactly the same issue as Amrit.
 in the browser provides the option to "Choose and action" 
(Camera or Documents).
Same code wrapped as cordova app jumps to "Documents"-library right away (no 
camera option).

Different combinations of input-attributes: 'accept' and 'capture', didn't work:
- 
- 

Tested on: 
- Nexus 7 (Android 5.1.1)
- Samsung Galaxy S7 (Android: 6.0.1)

> HTML File Input should support accept/source attributes
> ---
>
> Key: CB-2627
> URL: https://issues.apache.org/jira/browse/CB-2627
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Reporter: Michael Migdol
>Priority: Minor
>
> [CB-2086] always opens a generic File Picker, regardless of the values passed 
> in for the mimetypes in the accept attribute, or the source attribute.  The 
> Android Browser correctly examines these attributes and starts up an activity 
> with either: a camera intent, a camera/image intent, a camcorder intent, a 
> sound recorder intent, or a sound recorder/audio intent.  
> I'm not sure what cross-pollination is allowed between the Android codebase 
> and Cordova's, but it appears that 
> packages/apps/Browser/src/com/android/browser/UploadHandler.java from the 
> Android source tree contains exactly what we need to accomplish the same.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org