Tutorial ViewFlipper on Click in Android Studio

Tutorial step by step with free source code: how to make a slideshow (display pictures one after another), with ViewFlipper starting only on your click on screen, in Android Studio version 1.5.1. Create New Project with Application name: ViewFlipper on Click; Minimum SDK: API 10 – Android 2.3.3 (Gingerbread). Add 5 pictures from your computer, […]

Read the rest of this entry »

How to display image with ImageView in Android Studio

Tutorial step by step Image Display with ImageView in Android Studio version 1.5.1 example. Copy-paste a picture from your pc, in drawable folder. Drag and drop ImageView in activity_main.xml file, then double click on ImageView and choose the location of your picture. <ImageView android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:id=”@+id/imageView” android:layout_centerVertical=”true” android:layout_centerHorizontal=”true” android:src=”@drawable/pic”/> Video tutorial Check next tutorials to […]

Read the rest of this entry »

Get data from website with WebView in Android Studio

Learn how to use WebView xml file to get data from website in Android Studio version 1.5.1, complete tutorial step by step. Create New Project with Application name: WebView; Minimum SDK: API 10 – Android 2.3 (Gingerbread). In app->res->layout->activity_main.xml add the WebView with code: <WebView         android:id=”@+id/webview”         android:layout_width=”match_parent”         android:layout_height=”match_parent”/> In app->java->MainActivity complete the […]

Read the rest of this entry »

How to install Android Studio 1.5.1 step by step

Step by step how to install Android Studio version 1.5.1 with video tutorial. Step 1) Download and install Java Development Kit (JDK) 7 from here: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html Step 2) Download and install Android Studio from here: http://developer.android.com/sdk/index.html Attention: if you have error “can’t locate the Android SDK”, the path is C:\Users\ComputerName\AppData\Local\Android\Sdk Check next tutorials to learn […]

Read the rest of this entry »

Tutorial how to play Youtube video in Android Studio 1.5

Complete Tutorial how to play Youtube videos in Android Studio 1.5 with VideoView. Create New Project with Application name: Play Youtube; Minimum SDK: API9 – Android 2.3 (Gingerbread). In app->res->layout->activity_main.xml add the VideoView with code: <VideoView android:id=”@+id/videoView” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_centerVertical=”true” android:layout_centerHorizontal=”true” /> In app->java->MainActivity complete the code (in onCreate): package com.app.toyo.playyoutube; import android.net.Uri; import android.support.v7.app.AppCompatActivity; […]

Read the rest of this entry »