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 »

Tutorial how to Play Video in Android Studio 1.4

Learn from this tutorial how to Play mp4 Movie using VideoView in Android Studio version 1.4. Create New Project with Application name “Play Video“; Minimum SDK – API 9: Android 2.3 (Gingerbread). Create New Directory in app -> res with name “raw“. Copy a video you want to display, in new created folder, raw; I […]
Read the rest of this entry »

Tutorial how to export app from Android Studio 1.4

See here how to make a new project in Android Studio 1.4. Learn from this tutorial how to export (generating signed APK) your application from Android Studio 1.4. The app file has .apk extension and it is saved in: C:\Users\computer-name\AndroidStudioProjects\project-name\app\name-app.apk Project settings: Project name: My first application Company Domain: toyo.example.com Package name: com.example.toyo.myfirstapplication Minimum SDK: […]
Read the rest of this entry »