I'm wanting to build an Android widget for my phone that streams a video from a link on button click. I've searched tutorials on Google but I'm still having difficulty understanding how I'd achieve this.
Does anybody have an example of something similar to this or know of any good tutorials to get me started?
Cheers
You can use android native VideoView. It can even play online streaming videos.
Related
Could anybody give me some directions on how to add a video ad. to my android app, I couldn't find anything on Google. Can someone explain it to me step by step?
There are a lot of Ads providers out there, few examples: Tapjoy, AppLovin, ChartBoost, MoPub...
For Video Ads, AdColony is a great provider, and is very easy to setup and code. Also they gives a few project with differents alternatives to implement.
Test it: adcolony.com
I am trying to stream a video in app using the native player for android. But when trying to stream a link with "rtmpe://" it doesn't work. Can anyone guide me on how to play this? So far I have only seen solutions of iOS. I want to play this without using external Apps.
Check supported media formats for Android here. Not all protocols work on android.
I wish to show live video in a java-web application. For this I found that xuggler(java library) is capable of doing that. But I didn't get code to how to implement it.
I have done some tutorials with xuggler like capturing frames from a video. But not much familiar with xuggler. Please help.
Any help is appreciated.
My local church hosts a weekly show and upload the videos on Youtube. And I've been asked to develop an app for them, so far all is well, however, I have to implement a feature that will allow me to stream the show's videos unto the app.
I honestly don't have much of a clue how to go about it (still new to android programming)! I've looked around here and seen that a few people have already attempted to do this, but unlike what most people have done or tried to do, the videos are released on that day (not live streaming). For example the 10/02/13 video will be released on 10/02/13.
This link gives me an idea on how to stream a video on Android, but that shows that I have to explicitly put in the link for the video.
Is there a way to do the same thing, but instead of adding the link myself, the app should retrieve the videos from a server??
Thank you in advance for your help!
Is there a way to get the link but instead of adding the link myself, the app should retrieve the videos from a server??
To achieve this you need to make the webservice which help to communicate mobile and web server. When you send the request from mobile to server then make the web service which give you response which have link of video then you can stream the video.
To stream the video.
Read here.
Inside the API DEMOS you have on example.
API DEMOS >> Media >> Mediaplayer >> Play Streaming Video
You need to downloaded using the SDK Manager, and then inside eclipse you go throw create new project form existing sample, then you read the code and copy it inside your app.
I'm a new user to this interesting forum!
I want start developing an application for android and before starting i want learn about some android features...
The first android feature is how to correlate finger motion on the screen with java...
Are there any source code examples that show how to draw with your finger on an android screen?
Can you suggest a good place for me to download an example?
thanks
The ApiDemos that come with the SDK have an example called TouchPaint that does exactly this... it's a simple little finger drawing app. The source is actually very easy to read and it shows all of the basics.
Check out this tutorial on drawing with a canvas in Android. There are some source code examples there for you as well.
Also, the Android developer's guide and tutorials on the Google site are great. That's what I started with.