How I can upload video on Youtube from my android application? - android

I am confused in creating account on google for it? Please anyone tell me whole procedure for uploading video on youtube in easily steps . & then how to get that URl from youtube in my android application?

See this
http://code.google.com/p/ytd-android/

You may use Youtube API do upload video, check here https://developers.google.com/youtube/2.0/developers_guide_protocol_video_feeds#User_Uploaded_Videos

The sample code for the YouTube Direct Android application that Albin linked to is the canonical example right now.
As soon as v3 of the Data API is released, though, that will be the preferred way of handling uploads from a native Android application, since the Java Google APIs client library will work with both Android and v3 (the current Java GData client library works with v2, but not Android).
(To answer the next question, no, I can't share a release date for v3 of the API.)

Related

How to take app list and app details from Google Play with using some APIs?

Now I was taking app list and app details from Google Play.
It's based on open source below.
https://code.google.com/p/android-market-api/.
Actually it worked well before a week but now all APIs in source code above are blocked.
I investigated source code and found "https:// www.google.com/accounts/ClientLogin", one of APIs returns "https:// developers.google.com/identity/protocols/AuthForInstalledApps".
Because of this result, http:// android.clients.google.com/market/api/ApiRequest in android-market-api cannot be used anymore.
Message
Message says I have to migrate to OAuth 2.0 but there is no API for the same functions above.
Here is my questions.
Is there official APIs with OAuth 2.0 for the same function above ?
Is there alternative APIs or process for the same function above? (The best is finding a way to use android-market-api.)
I really have to resolve this issue. Please help me.
Thanks.

play youtube in VideoView

please i want way to play youtube video in videoview
I looked at a lot of solutions and pages, but I can not find an answer to this question
Please give me a definite solution to this question
Thank you
Hay behalf of VideoView its much better to use Google's YouTube Android Player API, if your need is specific to play YouTube video, Using this you can directly embed all of the functionality of YouTube in your application.
You can do it by simply following below steps_
You should target your application to at least Android 2.2. ( e.g., android:minSdkVersion="8" or API level 8)
Next you need to Registering your application to get an API key. It's free, you need your Google account to get it. You need SHA1 key of your application that you can Get SHA1 key for your application.
Download - YouTube Android Player API and Unzip the compressed folder, locate the YouTubeAndroidPlayerApi.jar, and add it to your project's /libs folder.
Add INTERNET to your manifest (<uses-permission android:name="android.permission.INTERNET"></uses-permission>)
That`s all you are completely set to get a ride on. You can find YouTube demo Sample Applications, youtube - android-player
.
I hope this will help you and all! :)
YouTube has an official YouTube Android Player API specifically designed to play YouTube videos within your applications. You may consider looking at YouTubePlayerFragment which allows you to easily embed a video player.

Is there any options available to play video files saved in drive in an android application?

I am trying to develop an app that play videos from google drive in android app.I want to play and download if i like the video.Is there any way to do this?Also does only 3gp format only be played and what about other formats like mp4,avi etc.. ?? I have also searched about this and i cannot understand these,
Google Drive Implimentation to android app and Downloading the file from Google drive
PS:Also want to know how to upload files to a server and view them in android app.
Please help me with this.Thanks.
Android based Google Drive api are still in an infancy when it comes to streaming videos from Drive itself, also what you get from meta data is a 'downloadUrl' which is temporary in nature and when used to store it in DB for further use can lead to SSLException upon expiration of the downloadUrl. so the answer to your requirement is unfortunately no at the moment. Google team is thriving to provide the streaming video support in the near future.
Also with regards with file type, google drive supports any file type obviously a chrome app registered in parallel with google drive must support the same file type by its mimetype for playing the file, but in regards with Android, we have to be content with the supported media types as provided in the Supported Media in Android.
In the case of Uploads, google tries to give a ground level implementation in its documentation as Manage Uploads. But when you look for the same in apis, they are provided in a much encapsulated way and are automatically done just by an insert !
For further information please look into the google documentation.

Writing to Google Drive from an Android app

I'm working on an Android app where I need to write to a Google Drive spreadsheet. There's a quick start video on "Google Developers Live" that seems to go through most of the required steps, but for the library usage they just say to click some button in Eclipse. I'm not using Eclipse though and would like to make this work with a maven project.
What libraries are required and how can I get them all using maven?
Here's the part of the video I'm talking about: http://youtu.be/Ied1CjJ0iP0?t=9m41s
Also, I've found this SO post and the latest edit says to use the Drive API V2 but a google api client is linked. I'm not exactly sure what's needed or if perhaps something has changed since then.
You should use the Google API Java Client. Downloads for Drive are here: https://code.google.com/p/google-api-java-client/wiki/APIs#Drive_API

Can we post on Google plus from android application?

How can we integrate our android apps for posting data on Google Plus Walls.
If any one know how to do this please provide me API and sample code for posting data
on google plus wall using android application.
The Google+ API is currently read-only. It does not support write operations (like posting).
Refer this link , google provide API for google + in beta version using this you can post to google + ,
https://developers.google.com/+/downloads
http://code.google.com/p/google-api-java-client/wiki/Android

Categories

Resources