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.
Related
I'm using Phonegap for my app. I want to use sound in my app. I've used Howlerjs for the sound, but that one doesn't work on Android 4 for some reason. So I decided to try the Cordova Media Plugin, but I can't get that one to work either. I always get error code 1. I've tried to put /android_asset/www/ before the source and I've tried to use .wav files instead of .mp3 files. Everything doesn't work. Hopefully someone can tell me why it doesn't work and how to fix it.
Thanks in advance!
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
m using the android youtube player OpenYouTubeActivity, i'm using the svn source code, not the jar file provided in the project. But it seems that this activity is not working after the 4.3 android releases. the video is shown half of the full screen, but everything else works fine. THis issue is already logged on the issues list on the project site.
Anybody has any clue, whats happening? Any solution is greatly appreciated.
Its always best to use the jars, because you get the latest compiled code and its easy for the maintainers to maintain versions. But I think on the code branch the fix here is to decompile the jar using an open source decompiler like http://jd.benow.ca/ and then copy the code as is.
Then you can see where the changes have been made.
DISCLAIMER
Please follow the licensing as the original wants it. I think its as per Apache, so make sure to include appropriate licensing information and credits and follow licensing laws.
Im starting to loose my mind her.
Im building a VERY simple app.
All it needs to do, is show some information, an play some videos.
Everything works just great on iOS. I simply link to the video like this <span></span><img src="img/vidImg_afbryder.png" />, and it starts playing.
But on Android, its a totally deferent story. When i straigt-up link to the video like the ios version, nothing happens.
When i use this https://github.com/macdonst/VideoPlayer, and my link looks like this
<span></span><img src="img/vidImg_afbryder.png" />, nothing happens.
All the videos ar contained locally in the app, as it needs to work offline.
Im building the app with HTML/CSS/JS in webstorm and then compiling it on build.phonegap.com/
Im not using x-code or anythin, just stright-up HTML/CSS/JS. i do have the config.xml file
Ive tried searching like a mad man, but still no luck. Can someone help me, or point me in the right direction.
P.S. This is my first app, and therefor my first encounter with phonegap.
If you use any one plugin, you have to use a specific one for Android and one for iOS. After this, you need to compile using xcode or eclipse, for example. To use the plugin you mentioned, have a look on http://www.adobe.com/devnet/html5/articles/getting-started-with-phonegap-in-eclipse-for-android.html
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