Tutorial how to link the list with RecyclerView with YouTube videos from another activity with button click, using intent, in Android Studio version 3.1.3. You can ADD as many videos as you want in List. For this tutorial I displayed 5 YouTube Videos. Create new project with Application name: Play YouTube Videos; Minimum SDK: API 27 […]
Read the rest of this entry »
Tutorial open YouTube from main activity with a Button, in second Activity in Android Studio version 3.1.3. Create new project with Application name: YouTube Play; Minimum SDK: API 27 – Android 8.1 (Oreo). In app->java->MainActivity.java write the code: package com.app.toyo.youtubeplay; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; public class MainActivity extends AppCompatActivity implements View.OnClickListener […]
Read the rest of this entry »
Create second activity and connect it with main activity with a button click and and vice versa in Android Studio version 3.1.3. Create new project with Application name: Start Another Activity; Minimum SDK: API 21 – Android 5.0 (Lollipop). In app->java->MainActivity.java write the code: package com.app.toyo.startanotheractivity; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; public […]
Read the rest of this entry »
The most easiest and simplest Tutorial step by step with free source code: Play YouTube Video using WebView Widget in Android Studio version 3.1.2. Create new project with Application name: Play YouTube Video; Minimum SDK: API 27 – Android 8.1 (Oreo). In manifest->AndroidManifest.xml write the code: <?xml version=”1.0″ encoding=”utf-8″?> <manifest xmlns:android=”http://schemas.android.com/apk/res/android” package=”com.app.toyo.playyoutubevideo” android:installLocation=”preferExternal”> <uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE”/> <uses-permission […]
Read the rest of this entry »
Set size (height and width) for elements in layout (Constraint layout) with percent (%) in Android Studio version 3.1.2. Create new project with Application name: My Application; Minimum SDK: API 27 – Android 8.1 (Oreo). In app->res->layout->activity_main.xml write the code: <?xml version=”1.0″ encoding=”utf-8″?> <android.support.constraint.ConstraintLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:app=”http://schemas.android.com/apk/res-auto” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”match_parent” tools:context=”.MainActivity”> <android.support.constraint.Guideline android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:id=”@+id/right_guideline” app:layout_constraintGuide_percent=”.80″ […]
Read the rest of this entry »
Easy Tutorial step by step with free source code: how to create a children’s application with 6 colored buttons, placed on two columns and 3 lines, which are extending depending on the size of the screen. Each button has a sound, depending on its color, which is heard when it is pressed. You’ll see here […]
Read the rest of this entry »
Easy Tutorial step by step with free source code: Play YouTube Videos using a List with RecyclerView in Android Studio version 3.1.1. You can ADD as many videos as you want in List. For this tutorial I displayed 5 YouTube Videos. Create new project with Application name: YouTube Videos App; Minimum SDK: API 27 – […]
Read the rest of this entry »
Easy Tutorial step by step with free source code: Play YouTube Video using YouTube Player Fragment with YouTube Android Player API in Android Studio version 2.1.2. Learn how to download and import YouTube Android Player API. Create new project with Application name: YouTube Player Fragment; Minimum SDK: API 11 – Android 3.0 (Honeycomb). Download YouTube […]
Read the rest of this entry »
Easy Tutorial step by step with free source code: play YouTube video using YouTube Android Player API in Android Studio version 1.5.1. Learn how to download and import YouTube Android Player API and how to Register your app using YouTube Android Player API and obtain API Key. Create new project with Application name: Play YouTube […]
Read the rest of this entry »
Funny Toyo Surprise app play all videos one after another from Funny Toyo Surprise YouTube Channel for Kids. Download free app from here (minimum operating system: Android 2.3.3). If you want to learn how to make an app in Android Studio which play all videos one after another from an YouTube Channel, click here and […]
Read the rest of this entry »