Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11036] Android: Sound not playable from internal path

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-07-19T20:53:39.000+0000
Affected Version/sRelease 2.1.2
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterJohan Lundin
AssigneeEric Merriman
Created2012-09-06T16:40:04.000+0000
Updated2017-07-19T20:53:39.000+0000

Description

This is the sound version of the video bug TIMOB-10830: if (URLUtil.isAssetUrl(url)) { Context context = TiApplication.getInstance(); String path = url.substring(TiConvert.ASSET_URL.length()); AssetFileDescriptor afd = null; should be if (URLUtil.isAssetUrl(url)) { Context context = TiApplication.getInstance(); String path = url.substring(TiConvert.ASSET_URL.length()); // Needed to handle native path urls path = path.replace("Resources//", "Resources/"); AssetFileDescriptor afd = null;

Comments

  1. Lee Morris 2017-07-19

    Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.

JSON Source