Are there any existing tools or libraries for this? I am currently trying to develop an application that can take an image of a sheet music and make it to a musicxml format and play the corresponding audio. And I am stuck on how to exactly play an audio from musicxml.
It's not free, but the SeeScore SDK will do this: http://www.seescore.co.uk/developers/seescore-sdk/
Some versions of JFugue can parse MusicXML.
There are Android ports of JFugue as well.
jfugue.org
JFugue-for-Android
Related
I am new to QPython and all I need to do is play a video (stored on the Android Tablet), and wait until the video finish playing.
I found the Androidhelper library commands mediaPlay and mediaIsPlaying functions, but I would not know where to start to use these functions.
Sorry, I did say I am new, so I would appreciate the basics, like how to get the source file directory, etc., a one line example would be fine.
Also if there is a better library to do this, please let me know.
Thanks
I think there is not API for Qpython, but there is a a8player.py in scripts after you having installed the Qpython, which maybe show how to call a player app's API.
BTW: you could post the requiement in official's facebook page. The dev team is very nice.
I have searched high and low for several days for this problem and I just can't figure it out, hopefully someone else has solved this.
The problem is simple, I have created a web-based game using mainly createjs, preloadjs, and soundjs. The plan was to load the content inside a UIWebView on iOS and WebView on Android to create the two apps.
The problem occurs on Android 4.4 and lower. Neither the videos or the sounds are playing. I'm starting with the simplest scenario; I have an image on a web page, attached a preloaded sound to play onclick;
init:
createjs.Sound.registerSound("sounds/sound_must_be_on.mp3", "soundOn");
$('.btn.sound').click(soundMustBeOn);
onclick listener:
function soundMustBeOn() {
createjs.Sound.setMute(false);
createjs.Sound.setVolume(1);
createjs.Sound.play("soundOn");
}
This works perfect on all modern desktop browsers, iOS and Android 5.x and higher. But on Android 4.4 (on a WebView) it just crashes. What have I missed? I have tried Cordova, Phonegap, SoundJS CordovaAudioPlugin, file:// paths, resources outside the android_asset folder, and plenty of other things. My quess is that I have used Phonegap totally wrong, I could really use a "for dummies" example.
Solved it.
I did what I didn't want to do, but I guess it had to be done. I encapsulated my entire web application within Cordova/Phonegap, downloaded and added the CordovaAudioPlugin.js file from SoundJS and simply registered the plugin as others have already done (also updated the file path)
createjs.Sound.registerPlugins([createjs.CordovaAudioPlugin]);
createjs.Sound.registerSound("/android_asset/www/sounds/sound_must_be_on.mp3", "soundOn");
I am developing an Android App for recording video and sending to server. Also video must be recorded only on Touch of Record button. I have googled and got this library in the below link but I don't know how to use it in my project. This is the first time am going to use a library in a project. I have enable in my properties but don't know to use this functionality in my app. Please help me or suggest a tutorial.
https://github.com/sourab-sharma/TouchToRecord
I have just unchecked the Library option from Properties and used it as a package in my project. Its really a silly question. But the worked great
I hope someone can answer this because I have searched everywhere. As we all know, Android 4.4's Chromium Webview does not support the FileChooser API as previous versions had. With that said, how can I make an input with type="file" open the file selector in webview and have it work on 4.4 as well as earlier versions? My apps absolutely hinge on users being able to upload photos to their profiles.
Thank you.
Only a complex native solution or apply pressure on Google by posting on this bug:
https://code.google.com/p/android/issues/detail?id=62220
Cordova has a plugin which you might use as a basis for a solution - https://github.com/cdibened/filechooser. This retrieves the filename which you could then feed to a file uploader.
Any suggestion for live stream for android.
In my app i need to broadcast live video from android on a web,some app like Qik, Justin.tv, Ustream.tv and Bambuser.
it is developed under ffmpeg,
anyone would help if there is any open source project like this,or anyone had already done it
please tell me the project name or send me a copy of the code.
Email:liangyingshuang#gmail.com
Thanks.
Bambuser have opened source their version of ffmpeg that compiles on the Android. That should get you started.
see: http://bambuser.com/opensource
Best thing is SpyDroid http://code.google.com/p/spydroid-ipcamera/
It works the same as Qik