Can any one suggest a solution for the following problems:
Is it possible to load contents into my android UI from a web page
And secondly i want to play videos in that webpage through the
android application
Thanks to all in advance
Yes you can do these things by using web services. Using ASP.Net or PHP you can write web services and call them from your android application. You can use Json /Soap for this.
Here are some links. Go through this..
http://www.codeproject.com/Articles/304302/Calling-Asp-Net-Webservice-ASMX-From-an-Android-Ap
http://androidexample.com/Restful_Webservice_Call_And_Get_And_Parse_JSON_Data-_Android_Example/index.php?view=article_discription&aid=101&aaid=123
You can use WebView to display web page contents, but not all kinds of video can be played. You can not play video from the pages with Flash Player, but the video will be played if the player is HTML5.
Related
I need a webview in unity where I can search for youtube videos. If I have found the right video I need to copy the URL. In Unity I need to find a way to play that video through my Easy Movie Texture plugin, so I need to play the video on a plane.
First of all, I do not know how a webview can communicate with unity, so that I can get the current URL. For example I would use Prime31 for my webview. Second of all, I have no idea how I can get the streaming URL / .mp4 of a youtube video.
Maybe some has an idea how to accomplish this?
I work with the latest Unity 5.3
Thanks
try this :
https://www.assetstore.unity3d.com/en/#!/content/29704
Only play youtube videos on mobile.
How do I show the list of "DAILYMOTION" videos in android?
Also how do I play them?
I am able to play single video, but I now want to show more than 25 videos in a list.
How can I do this?
This is more works than supposed to be on a simple stackoverflow question!
You can:
list videos using Dailymotion API (documentation here https://developer.dailymotion.com/api)
and then play them using the Dailymotion video player. Here you'll find the documentation about the Android Player SDK: https://developer.dailymotion.com/tools/sdks#sdk-android that is a thin wrapper around a WebView that allows to easily embed Dailymotion videos into your Android application. You can check the source code, documentation and sample app on the GitHub repo: https://github.com/dailymotion/dailymotion-sdk-android/tree/master.
There even is a sample app that may help you get started! https://github.com/dailymotion/dailymotion-sdk-android/tree/master/SampleApp
I am trying to open my web page as Android app. I want to add voice recording functionality using phone microphone in my web app. When a link on web app page is clicked it should start recording and save the recorded file.
After searching its possibility, i came up with "Cordova". But still not able to make it.
Thanks in advance.
I've got a solution for this issue. Web page can be opened in an iFrame and then it can communicate with the app.
Refer example below for using Camera of the device.
[http://hackerluddite.wordpress.com/2012/04/15/getting-access-to-a-phones-camera-from-a-web-page/][1]
It works...:)
I have a website which contains some videos (all videos are uploaded on youtube). Now i want to make an android app for retrieving/watching videos from this site (like youtube). So, which kind of layout I should use for video objects? Can these videos be displayed same like on youtube?
Please give me some suggestions.
Thank you!
yes you can, you have to work with youtube api for android so you can play the videos via youtube player here youtube and you can download all of your videos using a web service so you can access to your videos, you can you list view to show your videos, and you also can use custom list layout to make it more interested
It used to be that if you clicked on an appropriate embed tag on a web page in the Android browser, it would launch the youtube app. Now that the browser has its own youtube plugin, it seems to run that instead.
How can I get the old behavior?
Youtube's web pages still have the old behavior, but I can't understand their javascript.
Thanks,
Dawg
A link like
YouTube Video
with video id does the trick. See, for example,
http://it-ride.blogspot.com/2010/04/android-youtube-intent.html