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 »

Tutorial Slideshow Wallpaper in Android Studio 1.5

Tutorial how to make a slideshow, with fade in and fade out effect between pictures, in Android Studio version 1.5. Create New Project with Application name: Slideshow Wallpaper; Minimum SDK: API9 – Android 2.3 (Gingerbread). Add 8 pictures from computer, in project folder app->res->drawable:  picture1.jpg,  picture2.jpg, picture3.jpg, picture4.jpg, picture5.jpg,  picture6.jpg, picture7.jpg, picture8.jpg. Or download from […]

Read the rest of this entry »

Tutorial how to allow an application to write to external storage in Android Studio 1.4

Learn from this tutorial how to give permission to your app to be installed on external storage (SD card) in Android Studio version 1.4. Open AndroidManifest.xml file and write this code like in picture below: android:installLocation=”preferExternal” <uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE”/> This permission is needed only up to API level 18. Beginning with Android 4.4 (API level 19), the system […]

Read the rest of this entry »