Ti.Media.createSound not working in Android 6.0 when streaming file from server - android-mediaplayer

I am using appcelerator sdk 5.1.2 and trying to build for Android 6.0. Ti.Media.createSound not able to stream mp3 file hosted on server. I am trying to play an mp3 file which is hosted on server but nothing happens i.e file not play. Here is my simple code.
var sound = Ti.Media.createSound({
url : 'url to mp3 file on server',
allowBackground : true
});
sound.play();
Nothing showed up in console. Same code working absolutely fine when build for Android 5.1.0 but not works for Android 6.0. Anyone knows what the problem is.

There is some problem in streaming of mp3 or audio files in titanium for marshmallow. I faced the same problem. You can either try to provide storage permission for your app or try to compile with the 5.4.0 SDK as they are saying that it is fixed in this SDK
TIMOB-20140 TIMOB-20234
Hope this will help you.

Related

Your Android App Bundle is signed with the wrong key. (While uploading app on google play store for the first time)

I am uploading my first release on google play store everything is working fine (app is working fine also build is successful) , I tried rebuilding the app many time with following the docs on react native official website but while uploading it is giving me above error with SHA key
I tried many solution on stackoverflow but nothing works for me as most of the solution is for second time release but mine is first time
Please help me I wasted my 6 hours on this but I am not getting solution
I got the answer
Steps:
Open the project in android studio and clear the project .
Then rebuild it after gradle sync .
Then Generate the keystore (in android studio).
Then Generate Apk (in android studio).
Setup everything again on google play console .
Then try uploading .aab file again on google play console

Error when uploading to iTunesConnect

I am using Application Loader to upload my .ipa files (created with Adobe AIR v18) to iTunesConnect.
It's been working fine for months, but today I received two new errors:
The u option must have a non-empty value.
The password must have a non-empty value.
Can anyone shed some light on the issue?
I upgraded to Xcode 7.1 and that solved the problem!
Note: Xcode 7.1 comes with Application Loader 3.3.
You have 2 solutions:
1) Update your Xcode to 7.1 (but since you are not coding natively, use the solution #2 below)
or
2) Download and use the Application Loader v3.1 (Download link: https://itunespartner.apple.com/en/apps/tools ) to submit your IPA
Apart from low-belly's answer you can try to use XCode's built-in upload feature. If you go to the Organizer, just click on Upload to App Store:
This solved the problem for me in XCode 7.0.1.
Xcode 7.1 was downloading too slow (more than 4GB) and the update failed every time, so for now I downloaded the Application Loader 3.1 from iTunes Connect and it worked fine.
To download it you login into iTunes Connect -> Resources and Help -> click on View Tools (under the title Other Resources at the bottom of the page) and there is the download link.
I got the same error last night. Fixed it by signing out of Application Loader (3.6) and logging back in.
I got the same error with Application Loader 3.2. Submitting with Application Loader 3.0 (bundled with Xcode 6.2) or 3.1 (bundled with Xcode 6.4) solved the problem.

Uploading a tvOS application to iTunes Connect fails

The news section in iTunes Connect says:
You can now create and upload apps for the App Store on Apple TV
I've tried and got this error:
I've added a new tvOS target to an existing App, which is already available in the App Store. Both targets (iOS, tvOS) are using the same bundle identifier.
Does anyone have an idea of what went wrong or has anyone been able to successfully submit a built to iTunes Connect? The error message is not helpful.
use the "Application Loader.app" of the current Xcode Beta to upload your binary.
Works for me.

How to test Phonegap application on Phonegap emulator

I am using Phonegap build to generate executable files for each platform. Each time I make changes in my code, I have to upload the code on phonegap build and generate new Apk file (for android). I don't want to test on real device, How can I test my code on phonegap emulator??
Getting started guides are very confusing for beginners like me. Please help me out.
You can download the AVD from http://developer.android.com/sdk/index.html. Click on DOWNLOAD FOR OTHER PLATFORMS and choose installer_r22.2.1-windows.exe if you are a windows user. Once you have installed it go to the install dir and execute SDK Manager.exe and download the virtual device images you need. Then execute AVD Manager.exe, create a virtual device and you are ready to go.
I Know I'm late but you can use this to test, then generate your apk when you're done.
Only for chrome

Using Worklight JSONStore

I am not that new to Worklight, but the JSONStore is a new feature and I'm trying to learn how to use it. I downloaded the sample app (module_07_10_Using_JSONStore.zip) and installed it in my development environment, ran build and deployed it.
When I preview the app (as Android) in the Mobile Browser Simulator, and run through the sequence of Initialize the Collection, Add a Document, and then try to Find by Name, Find All, or get Number of Documents in Collection - I do not see the table at the bottom of the screen that displays the input data. I don't see any errors in the WL console. In the Android console, I get the error messages:
Unable to resolve target 'android-8'
WARNING: unable to write jarlist cache file - and then it points to location of jarlist.cache in the module.
I did not make any changes to the code. I looked it over, compared it to the education module content, and I don't see the problem. Any thoughts? Clues? Your help is appreciated. Thanks.
JSONStore is not supported in the Mobile Browser Simulator, it must run on an Android or iOS device or simulator, if you run it on the Android simulator it should work just fine.