Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9100977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:00:05+00:00 2026-06-17T01:00:05+00:00

I used Youtube api for android to develop an app. Even though i create

  • 0

I used Youtube api for android to develop an app. Even though i create app and it works fine. Still i was not able to Find out what this api really do

1) When i run it on device android 2.2 for first time . It force me to download new updtaes for Official YouTube app from Google play store . After that it works fine and didn’t ask for further updation or download of YouTube app . So is YouTube api uses Youtube app for palying video
By going through the api code i found out something

public static Intent createVideoIntent(Activity paramActivity, 
String paramString1, String paramString2, int paramInt, boolean paramBoolean1, boolean paramBoolean2)
{
   return a(newIntent("com.google.android.youtube.api.StandalonePlayerActivity.START").putExtra
        ("video_id", paramString2), paramActivity, paramString1, paramInt, paramBoolean1, paramBoolean2);
}

When i look inside YouTube app code i find a activity classnamed StandalonePlayerActivity. But the video is playing inside the UI container designed by me using com.google.android.youtube.player.YouTubePlayerView which is a part of Youtube api . So what is api doing with the above activity class(StandalonePlayerActivity), what is its role?

2)It didn’t work on Android 2.1 ,why is it so ?

Please somebody explain this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T01:00:06+00:00Added an answer on June 17, 2026 at 1:00 am

    The YouTube API is used to add YouTube playback to your app. Which means you will be able to embed a YouTube video within the interface of your app. Yes, it does need the official YouTube client to be installed, since that’s what will be giving you the playback code, and the ability to play videos. But you don’t need to run it, the video will be within your app.

    I haven’t checked, but it’s logical to assume that com.google.android.youtube.player.YouTubePlayerView is a View implemented in the YouTube official app, that will be injected in your app using the YouTube API, which will be rendering the video. Simple as that.

    Regarding your last question – the YouTube API docs does mention it will be available on devices running Android 2.2 (Froyo)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that Android's Youtube app is not open source, but I pulled apart
I've used the YouTube and Vimeo Javascript API's for controlling videos in the past.
I'd like to use Youtube's seach API to find videos that are available worldwide
I've installed the Android SDK using this tutorial http://www.youtube.com/watch?v=xDjkHJVC0R0 and i used a different
I recently watched this youtube tutorial on the Null Object design pattern. Even though
We're used to using websites like youtube in full screen, but now Facebook offers
I used the phonegap website to create an IPA file. Now I want to
I'm trying to use the Youtube Iframe API inside a module definded with Require
Can't get deleting videos to work using the Youtube Data API. I'm using the
I want to add an automatic embedding feature when a YouTube URL is used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.