[jira] [Commented] (CB-5848) Support for Android expansion files

2017-03-28 Thread BeTop (JIRA)

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

BeTop commented on CB-5848:
---

Hello, How are you doing?
Today I got problem to play audio file of obb file.

It works 

But Media plugin is not working. so we need solution.

var url = 
"content://com.flinklearning.marshalladult.expansion/common/Languages/English/LoginHelp/help_team.mp3";

var my_media = new Media(url,
// success callback
function() {
console.log("playAudio():Audio Success");
},
// error callback
function(err) {
console.log("playAudio():Audio Error: ",  err);
}
);
// Play audio
my_media.play();

I got error code=1.



> Support for Android expansion files
> ---
>
> Key: CB-5848
> URL: https://issues.apache.org/jira/browse/CB-5848
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: Android
>Affects Versions: 3.3.0
>Reporter: Valerio Santinelli
>Assignee: jcesarmobile
>Priority: Minor
>
> As you might already know, Android .APK files cannot exceed 50Mb if you want 
> to make them available on Google Play Store.
> For bigger apps, you can add one or more expansion files (.obb)
> The request would be to have Cordova automatically put the content of the www 
> folder into an obb file so that all the assets won't be bundled with the app 
> itself. 
> That way, even if the assets are huge, you can still publish on Google Play 
> Store.
> Right now there is no way to publish any app that exceeds 50Mb. I have seen 
> some OS projects trying to deal with this, but right now there's no working 
> solution.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-5848) Support for Android expansion files

2014-01-26 Thread Valerio Santinelli (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13882269#comment-13882269
 ] 

Valerio Santinelli commented on CB-5848:


I understand the reasons behind trying to avoid having large assets. But right 
now I can't find any alternative solution for being able to access big assets 
in another way. 

And if you are in such situation, there really is no solution except writing 
some custom code to do like Joe says and download the big assets during 
application startup or something like that.


 Support for Android expansion files
 ---

 Key: CB-5848
 URL: https://issues.apache.org/jira/browse/CB-5848
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Android
Affects Versions: 3.3.0
Reporter: Valerio Santinelli
Priority: Minor

 As you might already know, Android .APK files cannot exceed 50Mb if you want 
 to make them available on Google Play Store.
 For bigger apps, you can add one or more expansion files (.obb)
 The request would be to have Cordova automatically put the content of the www 
 folder into an obb file so that all the assets won't be bundled with the app 
 itself. 
 That way, even if the assets are huge, you can still publish on Google Play 
 Store.
 Right now there is no way to publish any app that exceeds 50Mb. I have seen 
 some OS projects trying to deal with this, but right now there's no working 
 solution.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5848) Support for Android expansion files

2014-01-26 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13882322#comment-13882322
 ] 

Joe Bowser commented on CB-5848:


This is a no-brainer as far as Mobile UX goes.  Large APKs are super bad 
because you still have to access the video from the package every time, which 
is either computational (having to extract from the APK every time, which on 
slower devices is non-zero) or storage overhead (storing the same file twice, 
taking up twice the space your app said it would on the app store), or you can 
fetch the files from your server once on the initial startup and save them in 
your app's data directory.  Most games use the custom download approach for a 
reason.

 Support for Android expansion files
 ---

 Key: CB-5848
 URL: https://issues.apache.org/jira/browse/CB-5848
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Android
Affects Versions: 3.3.0
Reporter: Valerio Santinelli
Priority: Minor

 As you might already know, Android .APK files cannot exceed 50Mb if you want 
 to make them available on Google Play Store.
 For bigger apps, you can add one or more expansion files (.obb)
 The request would be to have Cordova automatically put the content of the www 
 folder into an obb file so that all the assets won't be bundled with the app 
 itself. 
 That way, even if the assets are huge, you can still publish on Google Play 
 Store.
 Right now there is no way to publish any app that exceeds 50Mb. I have seen 
 some OS projects trying to deal with this, but right now there's no working 
 solution.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5848) Support for Android expansion files

2014-01-25 Thread Valerio Santinelli (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13881773#comment-13881773
 ] 

Valerio Santinelli commented on CB-5848:


Not really. If you embed videos for offline viewing, it's quite normal that the 
app grows. 

 Support for Android expansion files
 ---

 Key: CB-5848
 URL: https://issues.apache.org/jira/browse/CB-5848
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Android
Affects Versions: 3.3.0
Reporter: Valerio Santinelli
Priority: Minor

 As you might already know, Android .APK files cannot exceed 50Mb if you want 
 to make them available on Google Play Store.
 For bigger apps, you can add one or more expansion files (.obb)
 The request would be to have Cordova automatically put the content of the www 
 folder into an obb file so that all the assets won't be bundled with the app 
 itself. 
 That way, even if the assets are huge, you can still publish on Google Play 
 Store.
 Right now there is no way to publish any app that exceeds 50Mb. I have seen 
 some OS projects trying to deal with this, but right now there's no working 
 solution.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5848) Support for Android expansion files

2014-01-25 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13881941#comment-13881941
 ] 

Joe Bowser commented on CB-5848:


You shouldn't be embedding videos in your APK, especially since every video 
would have to be extracted out of the APK, forcing you to pay a penalty every 
time you wanted to play it.  Instead, videos should be fetched and stored on 
the SD Card or the Internal Storage, where you only have to pay the penalty of 
downloading it once.  

 Support for Android expansion files
 ---

 Key: CB-5848
 URL: https://issues.apache.org/jira/browse/CB-5848
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Android
Affects Versions: 3.3.0
Reporter: Valerio Santinelli
Priority: Minor

 As you might already know, Android .APK files cannot exceed 50Mb if you want 
 to make them available on Google Play Store.
 For bigger apps, you can add one or more expansion files (.obb)
 The request would be to have Cordova automatically put the content of the www 
 folder into an obb file so that all the assets won't be bundled with the app 
 itself. 
 That way, even if the assets are huge, you can still publish on Google Play 
 Store.
 Right now there is no way to publish any app that exceeds 50Mb. I have seen 
 some OS projects trying to deal with this, but right now there's no working 
 solution.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5848) Support for Android expansion files

2014-01-25 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13882149#comment-13882149
 ] 

Andrew Grieve commented on CB-5848:
---

I'm sure there are valid reasons to have large assets, but I must admit that it 
this issue is not likely to be addressed in the near-term since it doesn't 
affect most people. 

 Support for Android expansion files
 ---

 Key: CB-5848
 URL: https://issues.apache.org/jira/browse/CB-5848
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Android
Affects Versions: 3.3.0
Reporter: Valerio Santinelli
Priority: Minor

 As you might already know, Android .APK files cannot exceed 50Mb if you want 
 to make them available on Google Play Store.
 For bigger apps, you can add one or more expansion files (.obb)
 The request would be to have Cordova automatically put the content of the www 
 folder into an obb file so that all the assets won't be bundled with the app 
 itself. 
 That way, even if the assets are huge, you can still publish on Google Play 
 Store.
 Right now there is no way to publish any app that exceeds 50Mb. I have seen 
 some OS projects trying to deal with this, but right now there's no working 
 solution.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-5848) Support for Android expansion files

2014-01-24 Thread Valerio Santinelli (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13881737#comment-13881737
 ] 

Valerio Santinelli commented on CB-5848:


@joe I cannot agree with you. This should be something included in the core 
Android platform. Without such mechanism you cannot publish anything above 50Mb 
which is something the developer shouldn't really care about imho.


 Support for Android expansion files
 ---

 Key: CB-5848
 URL: https://issues.apache.org/jira/browse/CB-5848
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Android
Affects Versions: 3.3.0
Reporter: Valerio Santinelli

 As you might already know, Android .APK files cannot exceed 50Mb if you want 
 to make them available on Google Play Store.
 For bigger apps, you can add one or more expansion files (.obb)
 The request would be to have Cordova automatically put the content of the www 
 folder into an obb file so that all the assets won't be bundled with the app 
 itself. 
 That way, even if the assets are huge, you can still publish on Google Play 
 Store.
 Right now there is no way to publish any app that exceeds 50Mb. I have seen 
 some OS projects trying to deal with this, but right now there's no working 
 solution.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)