[jira] [Created] (CB-9781) callback

2015-10-11 Thread rose (JIRA)
rose created CB-9781:


 Summary: callback
 Key: CB-9781
 URL: https://issues.apache.org/jira/browse/CB-9781
 Project: Apache Cordova
  Issue Type: Bug
Reporter: rose






--
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] [Updated] (CB-9779) Always i receive Error Code 3

2015-10-11 Thread Armando Basile (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-9779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Armando Basile updated CB-9779:
---
Description: 
http://pastebin.com/KV0p0PWm

i receive always error code 3 (connection error)
but if i try to use browser on phone, i download file with success.

if i try to use phonegap serve, it work fine and i have file downloaded

  was:
http://pastebin.com/KV0p0PWm

i receive always error code 3 (connection error)
but if i try to use browser on phone, i download file with success.


> Always i receive Error Code 3
> -
>
> Key: CB-9779
> URL: https://issues.apache.org/jira/browse/CB-9779
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
> Environment: android 5
> cordova 5.3.3
> cordova-plugin-file-transfer 1.3.0 "File Transfer"
>Reporter: Armando Basile
>Priority: Critical
>  Labels: newbie
>
> http://pastebin.com/KV0p0PWm
> i receive always error code 3 (connection error)
> but if i try to use browser on phone, i download file with success.
> if i try to use phonegap serve, it work fine and i have file downloaded



--
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] [Created] (CB-9780) Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture.

2015-10-11 Thread Prathik S (JIRA)
Prathik S created CB-9780:
-

 Summary: Failed to execute 'play' on 'HTMLMediaElement': API can 
only be initiated by a user gesture.
 Key: CB-9780
 URL: https://issues.apache.org/jira/browse/CB-9780
 Project: Apache Cordova
  Issue Type: Bug
  Components: Browser, Plugin Camera
Reporter: Prathik S
Assignee: Tim Barham


I am using the below code to click picture on click of a button i call 
handleMediaDialog() with options


{code:javascript}
function optionsForType(type) {
var source;
switch (type) {
case 0:
source = Camera.PictureSourceType.CAMERA;
break;
case 1:
source = Camera.PictureSourceType.PHOTOLIBRARY;
break;
}
return {
destinationType: Camera.DestinationType.FILE_URI,
sourceType: source,
allowEdit: false,
encodingType: Camera.EncodingType.JPEG,
popoverOptions: CameraPopoverOptions,
saveToPhotoAlbum: false
};
}

function handleMediaDialog(type) {
return $q(function(resolve, reject) {
var options = optionsForType(type);

Camera.getPicture(options).then(function(imageUrl) {
//convert url to where file is saved
if (imageUrl.substring(0,21)=="content://com.android") {
photo_split=imageUrl.split("%3A");

imageUrl="content://media/external/images/media/"+photo_split[1];
}


// if image doesnt has extention like in case of whatsapp 
we add jpg
var name = imageUrl.substr(imageUrl.lastIndexOf('/') + 1);
if(name.indexOf('.') === -1) {
name = name + ".jpg";
}


//convert content:// to file:///
var newName = makeid() + name;
$cordovaFileTransfer.download(imageUrl, 
cordova.file.dataDirectory + newName, {}, true).then(
function(fileEntry) {
//FileService.storeImage(fileEntry.nativeURL);
resolve(fileEntry.nativeURL);
}, function (error) {
reject(error);
}
);
});
})
}
{code}



--
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] [Created] (CB-9779) Always i receive Error Code 3

2015-10-11 Thread Armando Basile (JIRA)
Armando Basile created CB-9779:
--

 Summary: Always i receive Error Code 3
 Key: CB-9779
 URL: https://issues.apache.org/jira/browse/CB-9779
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin File Transfer
 Environment: android 5
cordova 5.3.3
cordova-plugin-file-transfer 1.3.0 "File Transfer"
Reporter: Armando Basile
Priority: Critical


http://pastebin.com/KV0p0PWm

i receive always error code 3 (connection error)
but if i try to use browser on phone, i download file with success.



--
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-6101) Softkeyboard issue when opening the camera

2015-10-11 Thread Elia Weiss (JIRA)

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

Elia Weiss commented on CB-6101:


No, If I remember correctly than cordova upgrade solved it.

> Softkeyboard issue when opening the camera
> --
>
> Key: CB-6101
> URL: https://issues.apache.org/jira/browse/CB-6101
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.3.0
>Reporter: Elia Weiss
>Priority: Critical
>  Labels: core
>
> IOS only - After using the softkeyboard becomes a complete mess, and unusable.
> it happens on v3.3, but because of the following bug 
> https://issues.apache.org/jira/browse/CB-5712  iv'e upgraded to 3.5-dev.
> And it still happening.
> Repeat:
> 1. open the softkeyboard by clicking on any input form
> 2. open the camera, i.e. integrate the camera plugin, create a button in the 
> UI and click it.
> 3. open the softkeyboard by clicking on any input form 
> result: keyborad UI unusable
> ENV - IOS7, JQM 1.3.2, JQ, 1.8.2, Cordova 3.3



--
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