Home
Videos uploaded by user “Tech Academy”
Least Recently Used (LRU) Explanation
 
06:35
This video will teach you what is LRU (least recently used) page replacement algorithm, what is page fault, page hit, disadvantages of LRU. First In First Out (FIFO/FCFS) video : https://youtu.be/UTXkbcJUY74 Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 266944 Tech Academy
Least Frequently Used (LFU) Page Replacement Algo
 
08:14
This video teaches you Least Frequently Used (LFU) Page replacement algorithm using an example. It is also called as Not Frequently Used (NFU). The difference between LFU and LRU is that LFU needs a smaller history. It replaces the page which has the least frequency. If the frequencies are equal then it select the page using FIFO. You can check FIFO and LRU tutorials here : FIFO explanation : https://youtu.be/UTXkbcJUY74 LRU explanation : https://youtu.be/4wVp97-uqr0 Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 102524 Tech Academy
FIFO/FCFS Page Replacement Algo Explanation
 
04:57
In this video, I'll tell what is FIFO, page fault, page hit and I'll explain FIFO page replacement algorithm with the help of an example. LRU page replacement algo video : http://youtu.be/4wVp97-uqr0 Let me know in the comments if you find it helpful :-) Thank you for watching! Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 80598 Tech Academy
Updated Google Maps Tutorial  |  PART 1  ( Android Tutorials )
 
04:49
USB debugging : https://youtu.be/uu6Mrh1iHyQ Source code : https://goo.gl/FFYLcN This is an updated version of my previous tutorial. I received a lot of requests to upload an updated version of this tutorial. Later, we will learn how to track a moving person's location and some other things too. Watch next parts HERE : PART 2 : https://youtu.be/HD48FBwY9U0 PART 3 : https://youtu.be/rGkhzguavlc PART 4 : https://youtu.be/T2R9ETdd24Y PART 5 : https://youtu.be/AaLgEpDmJ6E Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 41467 Tech Academy
How to create a new activity
 
08:22
In this tutorial, I'll show you how to create a new Activity using Android Studio. Watch these tutorials: 1) How to install Android Studio and set JAVA_HOME : http://youtu.be/mxYainSDHe8 2) How to create a custom AVD : http://youtu.be/Cg7BVTk6r5E 3) How to create a basic app : http://youtu.be/q98NC73LEgI 4) How to update and install Android SDK manager : http://youtu.be/qq4Veq4RAOg Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 172933 Tech Academy
Android Studio : Basic App - Adding 2 numbers
 
11:08
This is a very basic Android Studio App Development Tutorial very easy to understand even if you are a beginner. Watch these videos first if you are a beginner - 1) How to Install Android Studio : http://youtu.be/mxYainSDHe8 2) How to set up a custom AVD : http://youtu.be/Cg7BVTk6r5E 3) Create simple calculator App : http://youtu.be/mrjOLG2Grt0 Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 88758 Tech Academy
How to create APK file for Distribution
 
05:33
In this video, I will show you how to create APK file after you have finished building your application. This is a mandatory step before you launch your application on Google Play store because this is how Google will verify that you own that particular application. Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 117376 Tech Academy
Login and Signup - SQLite Database Part - 1
 
12:57
In this video, I am going to start with the database part of the login and sign up activity. When user signs up, it will store the details of that user in the database. We'll create a contact class and table to store all the information about each user that signs up using this app. Then in the login activity, when a user types the username and password, it'll will search for that username and find respective password. If the typed password matches with this one then user will successfully sign up else it will show a toast error message. There will be 2 more parts which will be uploaded tomorrow. Thank you for watching. Share this video : http://youtu.be/NT1qxmqH1eM Watch the NEXT PART HERE : http://youtu.be/KxlLsk5j3rY Watch the FINAL PART HERE: http://youtu.be/A6Jq7NVBVxU Watch Login Activity tutorial : https://youtu.be/x6jQAaLz1O8 Watch Sign Up Activity tutorial : https://youtu.be/o6gQ-oYn1aY Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 274053 Tech Academy
How to set up a custom Launcher Icon
 
06:21
In this video, I am gonna show you how to set up a custom launcher icon for your android app. I created this icon using photoshop. Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 11302 Tech Academy
How to check Sqlite Database Values
 
05:00
In this tutorial, you'll learn how to check sqlite database of your app's database. Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 38870 Tech Academy
Login with Facebook  |  PART 1 (Android Tutorials)
 
12:03
This is a part of my 2017 Android tutorial series. In the last tutorial, we created login with twitter. For that we used twitter kit. In this tutorial, we are creating login with facebook and we are fetching the id, firstname, lastname and email address. We are also going to fetch the profile pic in the 3rd part. Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 14240 Tech Academy
How to set up an AVD using Android Studio
 
05:24
In this video, I'll show you how to create an AVD (Android Virtual Device). AVD is used to test your application while you are developing it so that you don't need to install it on your phone every time and test it. Watch calculator app tutorial here : http://youtu.be/mrjOLG2Grt0 How to install Android Studio : http://youtu.be/mxYainSDHe8 Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 33041 Tech Academy
How to create a Login form for your Android App
 
10:05
In this tutorial, we are going to create a login form using android studio. I am going to use the app I created in my last tutorial for creating a new activity. Here is the link : http://youtu.be/-xljI2_TRZg In the next tutorial, I am creating a signup activity which is similar to login activity but it'll have some more fields. watch PART 2 here : https://youtu.be/o6gQ-oYn1aY And in 3rd part, we'll work on database part. You can watch it here : https://youtu.be/NT1qxmqH1eM How to create custom AVD : http://youtu.be/Cg7BVTk6r5E How to install Android Studio : http://youtu.be/mxYainSDHe8 Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 285233 Tech Academy
Login and Signup - SQLite Database Part - 3 (TESTING)
 
04:53
In this video, I am going to test the database part of the login and sign up activity. When user signs up, it will store the details of that user in the database. We've created a contact class and table to store all the information about each user that signs up using this app. Now, we are going to make the remaining small changes and test this app using an AVD (Android virtual device). How to create a CUSTOM AVD TUTORIAL : https://youtu.be/Cg7BVTk6r5E Then in the login activity, when a user types the username and password, it'll will search for that username and find respective password. If the typed password matches with this one then user will successfully sign up else it will show a toast error message. Thank you for watching. Share this video : http://youtu.be/A6Jq7NVBVxU Watch the 2nd part of database tutorial HERE : http://youtu.be/KxlLsk5j3rY Watch the first part of database tutorial HERE : http://youtu.be/NT1qxmqH1eM Watch Login Activity tutorial : https://youtu.be/x6jQAaLz1O8 Watch Sign Up Activity tutorial : https://youtu.be/o6gQ-oYn1aY SOURCE CODE : https://www.dropbox.com/s/tmqhbm4etdmk9ec/ActivityDemo.rar?dl=0 Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 91523 Tech Academy
Login and Signup - SQLite Database Part - 2
 
14:07
In this video, I am going to continue with the database part of the login and sign up activity. When user signs up, it will store the details of that user in the database. We've created a contact class and table to store all the information about each user that signs up using this app. Now, we are going to create a Database the insert and search methods. Then in the login activity, when a user types the username and password, it'll will search for that username and find respective password. If the typed password matches with this one then user will successfully sign up else it will show a toast error message. The last part will be uploaded tomorrow. Click here to watch THE NEXT PART (FINAL TESTING) : http://youtu.be/A6Jq7NVBVxU Thank you for watching. Share this video : http://youtu.be/KxlLsk5j3rY Watch the first part of database tutorial HERE : http://youtu.be/NT1qxmqH1eM Watch Login Activity tutorial : https://youtu.be/x6jQAaLz1O8 Watch Sign Up Activity tutorial : https://youtu.be/o6gQ-oYn1aY Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 133228 Tech Academy
How to create a SIGN UP activity & show POPUP message - LOGIN PART 2
 
15:25
In this tutorial, I am creating a Signup activity which is similar to login activity. If you have watched the first part of this video which was about creating a login activity then you'll find it very easy. I am also going to show you how to show POPUP messages using TOAST in Android Studio. POPUP message : http://www.youtube.com/watch?v=o6gQ-oYn1aY&t=11m49s Watch first part of this video here : https://youtu.be/x6jQAaLz1O8 Watch the Database part : https://youtu.be/NT1qxmqH1eM Custom AVD tutorial : https://youtu.be/Cg7BVTk6r5E How to create your FIRST Android App : https://youtu.be/q98NC73LEgI How to install Android Studio : https://youtu.be/mxYainSDHe8 Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 81512 Tech Academy
Java Tutorials 03 :  Objects , Classes , Methods , Instance Variables
 
04:35
In this tutorial, We'll learn what are objects, classes, methods and instance variables. Next Part : Java 04 : Types of Variables, constructors, object creation - https://youtu.be/xv1uAG7KtD8 Previous Parts - Java 01 : Java Introduction - https://youtu.be/zhKkKBGdILY Java 02 : Download JDK & First Java Pogram - https://youtu.be/cKILojyi67c Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 34284 Tech Academy
Google Maps Tutorial : Part 1  (Android Tutorials)
 
05:53
In this tutorial, you'll learn how to create a basic google maps app using google maps v2 plugin. Android Studio makes it all easier by making everything ready for you. You just have to create a key and copy it in the app. I will teach you how to do that in this tutorial. It will show only a fixed location near nigeria. In the next part, I will show you how to show your current location. Source Code of full app : https://www.dropbox.com/sh/293c77aq7u23ebo/AAABWeCXBqs-3zdvKjm-x_Yfa?dl=0 (Above Link is not working, I apologize for the inconvenience) Next part : http://youtu.be/dr0zEmuDuIk Other Tutorials : How to check SQLite Database values : https://youtu.be/w_SWdnE4pPI Speech Recognition App Tutorial : https://youtu.be/nzkrRQgCEmE Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 299517 Tech Academy
Java Tutorials 05 : Data Types - I (Primitive)
 
07:58
In this tutorial, you'll learn all the primitive data types in java and what are signed and unsigned data types. Previous Java Tutorials : Java 01 : Intro - https://youtu.be/zhKkKBGdILY Java 02 : Download JDK & First Java Program - https://youtu.be/cKILojyi67c Java 03 : Objects , classes, methods , instance variables - https://youtu.be/sd-S0yu9qus Java 04 : Types of variables, constructors, object creation https://youtu.be/xv1uAG7KtD8 Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 1981 Tech Academy
Google Maps Tutorial : Part 3 (Change Map Type & Zoom)
 
10:23
In the last 2 tutorials, we created a map application which was showing a fixed location. In the 2nd part, we did the current location part and search a particular address on map. In this part, we will learn how to change the map type from normal to hybrid , satellite, etc. and how to zoom in and zoom out. Source Code of full app : https://www.dropbox.com/sh/293c77aq7u23ebo/AAABWeCXBqs-3zdvKjm-x_Yfa?dl=0 Part 1 : https://youtu.be/NHXa96-r8TY Part 2 : https://youtu.be/dr0zEmuDuIk Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 79305 Tech Academy
Google Maps Tutorial : Part 2 (Current location & Search Address)
 
14:43
In the last tutorial, we created a google maps app which is showing a fixed location near nigeria. In this part, I will show you how to show your current location and you will also learn how to search for a particular address or place. Source Code of full app : https://www.dropbox.com/sh/293c77aq7u23ebo/AAABWeCXBqs-3zdvKjm-x_Yfa?dl=0 Next part : http://youtu.be/J3R4b-KauuI Previous tutorial : https://youtu.be/NHXa96-r8TY In the next part, you will learn how to change the map type from normal to satellite, hybrid and how to zoom in and zoom out. Other tutorials : Speech Recognition App : http://www.youtube.com/watch?v=nzkrRQgCEmE Login & Signup with Database : http://www.youtube.com/watch?v=NT1qxmqH1eM Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 235140 Tech Academy
Login & SignUp - MySQL + PHP Tutorial - Part 1
 
08:35
Next part : http://youtu.be/wa_NgqcfvCw Previously, we have learned how to create a login and signup interface using SQLite database. But, SQLite database is suitable for storing small data since it stores data on android device locally. If you need a big database and you want to store a lot of data in it then MySQL database should be used. Previous tutorials : 1) How to create login form - https://youtu.be/x6jQAaLz1O8 2) How to create Signup form - https://youtu.be/o6gQ-oYn1aY 3) Animation & Transition Tutorial - https://youtu.be/eXQAkacyJjQ 4) How to check SQLite database values - https://youtu.be/w_SWdnE4pPI Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 13829 Tech Academy
Login with Twitter  |  Android Tutorial
 
14:22
Find more information about Twitter Kit for Android here : https://dev.twitter.com/twitterkit/android/overview This tutorial will show you how to add "Login with Twitter" Option to your application and how to use Twitter kit. You will be able to login using Twitter. If Twitter is already installed on the device and the user is logged in to the Twitter account then it will launch that application and ask for permission. Then, when you click on the connect button it will authenticate the user and fetch the username and display it on the homepage activity. If Twitter app is not installed on the phone then a browser will open up and the user will have to login to his/her twitter account to login to the app. There are 4 modules in the twitter kit : 1) TwitterCore 2) TwitterUi 3) TwitterComposer 4) Twitter + MoPub We are just going to use TwitterCore here. Because, that is the only thing we need to use the login functionality. You can do much more using this kit like loading tweets, post tweets, etc. Source code : https://goo.gl/aya6gY Find me here : Email : techacademy8@gmail.com Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 11291 Tech Academy
Updated Google Maps Tutorial  |  PART 4  (Android Tutorials)
 
07:11
Souce code : https://goo.gl/FFYLcN In the previous part, we completed the checkLocationPermission() method. In this part, we are going to create one more method and our get current location part of this tutorial series will get over. The method that we are going to create in this part of the tutorial is to check if the permission is granted or not. You may have noticed that, when we open google maps app, it asks for user permission to access GPS services. So, we are basically going to create that dialog box where the app will ask for user's permission to access location/GPS services. If the user declines, it will show a popup message that the permission was declined, and we won't be able to check our current location. Then, we are going to call the checkLocationPermission() method in the onCreate() method. How to enable USB debugging : (I apologize for the bad audio and video quality) https://youtu.be/uu6Mrh1iHyQ Watch other parts here : Part 1 : https://youtu.be/Ot8D-GZ8qfY Part 2 : https://youtu.be/HD48FBwY9U0 Part 3 : https://youtu.be/rGkhzguavlc Part 5 : https://youtu.be/AaLgEpDmJ6E Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 19875 Tech Academy
Google Maps Nearby Places Tutorial  |  PART 1  ( Android Tutorials )
 
16:02
Souce code : https://goo.gl/FFYLcN This is a continuation to Google Maps tutorials series. There are 5 previous parts to this tutorial. But I created a separate series for this because this nearby places tutorial will take around 4-5 parts to complete. If you want to watch the previous parts the links are below : Nearby Places Tutorials : Part 2 : https://youtu.be/ovlHW6Y1eQM Part 3 : https://youtu.be/paWEkAH4gSU Google Maps Tutorials : Watch previous parts HERE : Part 1 : https://youtu.be/Ot8D-GZ8qfY Part 2 : https://youtu.be/HD48FBwY9U0 Part 3 : https://youtu.be/rGkhzguavlc Part 4 : https://youtu.be/T2R9ETdd24Y Part 5 : https://youtu.be/AaLgEpDmJ6E Code for DataParser.java class : In the previous parts, we created the base for this tutorial. We first created a basic google maps activity where the default marker was set to Sydney, Australia. Then, in the next couple of parts we completed the get current location feature. In the last part, we created a search bar and a search button to search for a particular location in the google map. In this series, I will show you how to search nearby places like hospitals, restaurants, schools etc. I am going to show you just these 3 things but you can modify it according to your needs. In the first part, I created the 3 java classes that we need in this project. Then I added 3 buttons to the layout file to display hospitals, restaurants and schools. We set onClick properties and used switch case instead of using if-else. Then, we completed 2 of the classes which are DownloadUrl and DataParser. In the DownloadUrl class, we created readUrl() method which reads URL using HTTPURLConnection object and file handling methods such as input stream and Buffered Reader. Then after reading the url, we needed to parse it. So, we created Data parser class. This class contains 3 methods viz., getPlace(), getPlaces() and parse(). The parse() method will parse the data and pass it to getPlaces() method which will store it in form of List of HashMap. The getPlaces() method will fetch each place one by one using for loop and then call getPlace() method for each place. getPlace() method will convert the jsonArray to HashMap and add it to List of HashMap. In the next parts of this tutorial, we are going to complete the GetNearbyPlacesData class and also MapsActivity class. Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 57600 Tech Academy
Simple Calculator App (PART 1) - Intro and Layout
 
07:13
In this video, we'll create the basic layout of calculator application. I have also made a similar tutorial using Eclipse. Here is the link : https://www.youtube.com/watch?v=-lYlYwD-otw How to install android studio : https://www.youtube.com/watch?v=mxYainSDHe8 In the next part, we'll work on java file and link layout elements with the java elements. Thank you !!
Views: 30345 Tech Academy
QR and Barcode Scanner  |  Android Tutorial
 
18:55
In this tutorial, I am implementing a QR and Barcode Scanner. We are going to use ZXING library here to implement it. The code will be same for QR and Barcode scanning and it will work for both. I have also added the source code on github. So, if you get any errors then first check the code and if you still need my help just email me at techacademy8@gmail.com We need to ask 1 permission here - CAMERA and we need 2 features - Camera and camera.autofocus. We will add those things in Android Manifest file. Then, we will also create one intent. So, if there is a link in the code then you will be able to visit it using the alert message. Source Code : https://goo.gl/qiQVeF Find me here : Email : techacademy8@gmail.com Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 45966 Tech Academy
Google Maps  |  Calculate Distance Between 2 Locations (Android Tutorials)
 
07:12
How to enable USB Debugging : Hello everyone, In this tutorial, I am explaining how you can calculate the distance between your current location and your destination. I have implemented the class by 2 more classes which are GoogleMap.OnMarkerClickListener and GoogleMap.OnMarkerDragListener. So, when you click on the marker it will become draggable and then you can drag it to any location on the map that you want to set as destination. I have added a separate button to calculate the distance. So after setting the destination, I am storing the latitude and longitude values of the destination using onMarkerDragEnd method in 2 class variables so they will be accessible throughout the class. I created a separate case in the onClick method for the new button. When the user click on the button, we are calling Location class's distanceBetween() method which takes 5 parameters - start latitude, start longitude, end latitude, end longitude and array to store the results. It's return type is void. So, I created a float array to store the results and then passed all the parameters in that method and then it returned the distance between current location and the destination in meters. You can drag the marker to a new location after this and again click on the to button and it will again calculate the distance between your current location and the new destination. Thank you. Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 30631 Tech Academy
Updated Google Maps Tutorial  |  PART 2  (Android Tutorials)
 
09:42
Souce code : https://goo.gl/FFYLcN This is a continuation to the previous part. In this video tutorial series, you will learn how to create android app using Google Maps activity. In this we will use Google API key. In the previous part, we created a basic application using Google maps activity. We learned how to create our own API key and how to use it in our app. Then the default marker was set to syndey, Australia. In this part, we will work on the onMapReady() function. Watch other parts HERE : Part 1 : https://youtu.be/Ot8D-GZ8qfY Part 3 : https://youtu.be/rGkhzguavlc Part 4 : https://youtu.be/T2R9ETdd24Y Part 5 : https://youtu.be/AaLgEpDmJ6E Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 23592 Tech Academy
Show Directions  |  Google Maps Tutorial (Android Tutorials)
 
10:07
Learn more about Polyline encoding : https://developers.google.com/maps/documentation/utilities/polylinealgorithm Link to Source code : https://goo.gl/kWsFJT In this Google Maps tutorial, I am showing you how to display Directions from your location to the destination. The layout is exactly same and we are just going to change some things from the Duration tutorial. We are just fetching one value from the json response here which is polyline. Polyline stores many LatLng values from the path and gives perfect paths. If you fetch latitude and longitude values of the steps and display a line then it will not be as accurate. Hence, using polyline is the best way to do it. Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 43639 Tech Academy
SOLUTION to JDK ERROR while installing ANDROID STUDIO
 
03:03
This video will teach you how to solve JDK error which occurs while installing android studio. Download link for JDK : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 11487 Tech Academy
Updated Google Maps Tutorial  |  PART 5  (Android Tutorials)
 
11:55
Souce code : https://goo.gl/FFYLcN This is a video tutorial series in which you will learn how to create android app using google maps activity. In the previous 4 parts, we completed the get current location part of this tutorial. In this video, I will show you how to add a search bar and a search button to the maps activity and how to search for a particular location using that. First, we are going to work on the xml file. We will add a text field and a button. User will enter the location he wants to search in the google maps in the text field and then the user will click on the search button. We will check if the user has entered anything in the text field or not. This part is called exception handling. Once, we have made sure that the user entered something in the search bar, then we can fetch that string and search it using Geocoder class. Find more information about Geocoder class here : http://developer.android.com Watch previous parts HERE : 1) Part 1 : https://youtu.be/Ot8D-GZ8qfY 2) Part 2 : https://youtu.be/HD48FBwY9U0 3) Part 3 : https://youtu.be/rGkhzguavlc 4) Part 4 : https://youtu.be/T2R9ETdd24Y Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 19352 Tech Academy
Updated Google Maps Tutorial  |  PART 3  (Android Tutorials)
 
13:34
Souce code : https://goo.gl/FFYLcN In the previous 2 parts of this android tutorial series, we first created a map with the default location set to sydney, Australia. So, in this tutorial, we are going to complete 2 methods, viz., onConnected() and onLocationChanged(). In the onConnected() method, we will create a LocationRequest and set some properties to that object. In the onLocationChanged() method, we are going to get the latitude and longitude of the new location and set it to the LatLng object. We are going to create a marker and set properties to that marker using MarkerOptions class. Then, we will create one more method called checkLocationPermission() which will call checkSelfPermission() method. So the app has to explicitly ask the user for permission to access location/GPS services. It will display a dialog box when the app is opened the first time and the user can either grant the permission or deny it. If the permission is granted then and then only, the map will be shown with the current location. Otherwise, you won't be able to display your current location because you won't be able to access locaiton/GPS services. Watch other parts HERE : Part 1 : https://youtu.be/Ot8D-GZ8qfY Part 2 : https://youtu.be/HD48FBwY9U0 Part 4 : https://youtu.be/T2R9ETdd24Y Part 5 : https://youtu.be/AaLgEpDmJ6E Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 19043 Tech Academy
How to take a photo : Android Tutorial
 
11:50
In this tutorial, I will create an app which will click a photo using android's camera. This will teach you how to use camera hardware and you can also add some filters and editing tools to make a photo editing app. You can also use this for apps which will capture a photo and send it to someone. If you have any doubts or if you want to request a video then email me at techacademy8@gmail.com I am going to post all my codes in pastebin from now on so if you get any errors then you check my code and see where you went wrong. Also, see the following videos which will help you become a better android developer : 1) How to debug android apps : https://youtu.be/4GTbEcnYjSg 2) Android SQLite Database tutorial : https://youtu.be/NT1qxmqH1eM 3) Speech Recognition app Tutorial : https://youtu.be/nzkrRQgCEmE 4) Calculator App Tutorial : https://youtu.be/mrjOLG2Grt0 5) How to handle invalid inputs : https://youtu.be/da-4WbqCTR4 Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 31297 Tech Academy
Google Maps Nearby Places Tutorial |  Part 3  ( Android Tutorials)
 
12:47
Souce code : https://goo.gl/FFYLcN This is a continuation to Google Maps tutorials series. There are 5 previous parts to this tutorial. But I created a separate series for this because this nearby places tutorial will take around 4-5 parts to complete. If you want to watch the previous parts the links are below : Nearby Places Tutorials : Part 1 : https://youtu.be/_Oljjn1fIAc Part 2 : https://youtu.be/ovlHW6Y1eQM Google Maps Tutorials : Watch previous parts HERE : Part 1 : https://youtu.be/Ot8D-GZ8qfY Part 2 : https://youtu.be/HD48FBwY9U0 Part 3 : https://youtu.be/rGkhzguavlc Part 4 : https://youtu.be/T2R9ETdd24Y Part 5 : https://youtu.be/AaLgEpDmJ6E Code for DataParser.java class : In the previous parts, we created the base for this tutorial. We first created a basic google maps activity where the default marker was set to Sydney, Australia. Then, in the next couple of parts we completed the get current location feature. In the last part, we created a search bar and a search button to search for a particular location in the google map. In this series, I will show you how to search nearby places like hospitals, restaurants, schools etc. I am going to show you just these 3 things but you can modify it according to your needs. In the first part, I created the 3 java classes that we need in this project. Then I added 3 buttons to the layout file to display hospitals, restaurants and schools. We set onClick properties and used switch case instead of using if-else. Then, we completed 2 of the classes which are DownloadUrl and DataParser. In the DownloadUrl class, we created readUrl() method which reads URL using HTTPURLConnection object and file handling methods such as input stream and Buffered Reader. Then after reading the url, we needed to parse it. So, we created Data parser class. This class contains 3 methods viz., getPlace(), getPlaces() and parse(). The parse() method will parse the data and pass it to getPlaces() method which will store it in form of List of HashMap. The getPlaces() method will fetch each place one by one using for loop and then call getPlace() method for each place. getPlace() method will convert the jsonArray to HashMap and add it to List of HashMap. In the next parts of this tutorial, we are going to complete the GetNearbyPlacesData class and also MapsActivity class. Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 25708 Tech Academy
How to enable developer options in Android
 
01:59
In this video, I'll tell you how to enable developer options on your android phone. This will be a short video. I'll make 2-3 more videos in which I'll explain functions of developer options in detail including how to root your phone. So stay tuned for such videos. Also, I have started a new tradition called app of the day on twitter in which I'll post 1 app and it's short review with rating and after a week or so I'll post a video of all the 7 apps of the week. These apps will be all the apps which I use regularly and which are very good apps. Also, when you try that app, make sure to post your views about that app with a hashtag #AAappoftheday . AA is for android academy :-P Join me on social networks - Twitter - https://twitter.com/AndroidAcademy1 Facebook - https://www.facebook.com/AndroidAcademy8?ref=hl Pinterest - http://www.pinterest.com/androidacademy/ Tumblr - http://priyanka0304.tumblr.com/ Instagram - @androidacademy Thank you for watching and subscribe for more android videos and don't forget to hit the like button. I will be giving away a black nexus 4 when I'll get 100 subscribers. So, if you see this comment "I love nexus" to enter the giveaway ;-) Thank you guys!
Views: 777 Tech Academy
Java Tutorials 04 : Types of Variables, Constructors, Object Creation
 
04:11
In this video, we'll talk about different types of variables, constructors and how to create a new object. We'll also talk about accessing instance variables and methods using object. Next Part : Java 05 : Data types (primitive) http://youtu.be/E4GPqGVVGhk Previous Java Tutorials : Java 01 : Intro - https://youtu.be/zhKkKBGdILY Java 02 : Download JDK & First Java Program - https://youtu.be/cKILojyi67c Java 03 : Objects , classes, methods , instance variables - https://youtu.be/sd-S0yu9qus Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 3270 Tech Academy
Login with Facebook  |  PART 2 (Android Tutorials)
 
10:22
This is a part of my 2017 Android tutorial series. In the last tutorial, we created login with twitter. For that we used twitter kit. In this tutorial, we are creating login with facebook and we are fetching the id, firstname, lastname and email address. We are also going to fetch the profile pic in the 3rd part. Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 8335 Tech Academy
Login & SignUp - MySQL + PHP Tutorial -  Part 2
 
11:24
In the first part, we created the Login and Signup interface and we also created our database and table on 000webhost.com. In this tutorial, we will work on the PHP part. Previous tutorials : 1) Part 1 - https://youtu.be/CI05HZSQnDI 2) How to create login form - https://youtu.be/x6jQAaLz1O8 3) How to create Signup form - https://youtu.be/o6gQ-oYn1aY 4) Animation & Transition Tutorial - https://youtu.be/eXQAkacyJjQ 5) How to check SQLite database values - https://youtu.be/w_SWdnE4pPI Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 8023 Tech Academy
9 Hidden Features In Developer Options
 
03:42
In this video, I am going to tell you some hidden features you can find in android developer options. Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 94002 Tech Academy
Google Maps  |  Duration  (Android Tutorials)
 
19:51
Find me here : Hello everyone, In this tutorial, I am explaining how you can calculate the distance between your current location and your destination. I have implemented the class by 2 more classes which are GoogleMap.OnMarkerClickListener and GoogleMap.OnMarkerDragListener. So, when you click on the marker it will become draggable and then you can drag it to any location on the map that you want to set as destination. I have added a separate button to calculate the distance. So after setting the destination, I am storing the latitude and longitude values of the destination using onMarkerDragEnd method in 2 class variables so they will be accessible throughout the class. In the previous tutorial, I created a separate case in the onClick method for the new button. When the user click on the button, we are calling Location class's distanceBetween() method which takes 5 parameters - start latitude, start longitude, end latitude, end longitude and array to store the results. It's return type is void. So, I created a float array to store the results and then passed all the parameters in that method and then it returned the distance between current location and the destination in meters. You can drag the marker to a new location after this and again click on the to button and it will again calculate the distance between your current location and the new destination. In this tutorial, I am displaying the duration and the distance using Directions API. Thank you. Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 21337 Tech Academy
Simple Calculator App (PART 2) - Java Coding
 
08:59
In the previous video, we have created the layout of our application. In this video, we'll work with java components. Watch part 1 (layout ) here : https://www.youtube.com/watch?v=mrjOLG2Grt0 watch part 3 (how to run ) here : http://youtu.be/86108PN4hW8
Views: 17358 Tech Academy
Java Tutorials 06 : Tokens
 
10:36
In this tutorial, you'll learn different types of tokens in Java. There are 5 types of tokens in java - keywords, identifiers, literals, operators and separators. Previous Java Tutorials : Java 01 : Intro - https://youtu.be/zhKkKBGdILY Java 02 : Download JDK & First Java Program - https://youtu.be/cKILojyi67c Java 03 : Objects , classes, methods , instance variables - https://youtu.be/sd-S0yu9qus Java 04 : Types of variables, constructors, object creation https://youtu.be/xv1uAG7KtD8 Java 05 : Data Types ( Primitive ) https://youtu.be/E4GPqGVVGhk Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 7371 Tech Academy
Android SQLite Database Part - 1
 
09:13
In this video, I'll be telling you about how to make a database related application in android. For that, we'll be using SQLite database which is an in-built database of android OS. In this first part of the database tutorial, I'll tell you some basics of android SQLite Database operations and how to use them in java. And also we will make a Contact class. For database application, you need some basic knowledge about database and queries and it's operations. If you don't know that, then you can refer the following link http://www.w3schools.com/sql/default.asp
Views: 4432 Tech Academy
Handling Invalid Inputs - Calculator App
 
07:13
Some of you have asked me this question about why is my app stopping suddenly when I don't type anything and click on the button. When I made that tutorial, I was trying to make a basic tutorial which can be understandable to everyone who doesn't know java. So I didn't add minor parts like handling invalid inputs. But it is essential to add those parts and handle such conditions. Watch previous 2 parts here : part 1 - layout - http://youtu.be/mrjOLG2Grt0 part 2 - java coding - http://youtu.be/6SS403iQTTU part 3 - Testing - https://youtu.be/86108PN4hW8 I hope this solves your doubt. Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 4360 Tech Academy
How to Update and Install Android SDK Manager
 
03:25
In this tutorial, I am going to explain you what is SDK and how to update it. Watch these videos first if you are a beginner - 1) How to Install Android Studio : http://youtu.be/mxYainSDHe8 2) How to set up a custom AVD : http://youtu.be/Cg7BVTk6r5E 3) Create simple calculator App : http://youtu.be/mrjOLG2Grt0 Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 7982 Tech Academy
Google Maps Nearby Places Tutorial  |  PART 2  ( Android Tutorials)
 
11:16
Souce code : https://goo.gl/FFYLcN This is a continuation to Google Maps tutorials series. There are 5 previous parts to this tutorial. But I created a separate series for this because this nearby places tutorial will take around 4-5 parts to complete. If you want to watch the previous parts the links are below : Nearby Places Tutorials : Part 1 : https://youtu.be/_Oljjn1fIAc Part 3 : https://youtu.be/paWEkAH4gSU Google Maps Tutorials : Watch previous parts HERE : Part 1 : https://youtu.be/Ot8D-GZ8qfY Part 2 : https://youtu.be/HD48FBwY9U0 Part 3 : https://youtu.be/rGkhzguavlc Part 4 : https://youtu.be/T2R9ETdd24Y Part 5 : https://youtu.be/AaLgEpDmJ6E Code for DataParser.java class : In the previous parts, we created the base for this tutorial. We first created a basic google maps activity where the default marker was set to Sydney, Australia. Then, in the next couple of parts we completed the get current location feature. In the last part, we created a search bar and a search button to search for a particular location in the google map. In this series, I will show you how to search nearby places like hospitals, restaurants, schools etc. I am going to show you just these 3 things but you can modify it according to your needs. In the first part, I created the 3 java classes that we need in this project. Then I added 3 buttons to the layout file to display hospitals, restaurants and schools. We set onClick properties and used switch case instead of using if-else. Then, we completed 2 of the classes which are DownloadUrl and DataParser. In the DownloadUrl class, we created readUrl() method which reads URL using HTTPURLConnection object and file handling methods such as input stream and Buffered Reader. Then after reading the url, we needed to parse it. So, we created Data parser class. This class contains 3 methods viz., getPlace(), getPlaces() and parse(). The parse() method will parse the data and pass it to getPlaces() method which will store it in form of List of HashMap. The getPlaces() method will fetch each place one by one using for loop and then call getPlace() method for each place. getPlace() method will convert the jsonArray to HashMap and add it to List of HashMap. In the next parts of this tutorial, we are going to complete the GetNearbyPlacesData class and also MapsActivity class. Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 20944 Tech Academy
Speech To Text App TUTORIAL (using in-built feature)  |  Android tutorials
 
16:27
Android has an inbuilt feature speech to text through which you can provide speech input to your app. With this feature you can add some of the cool features to your app like adding voice navigation and it is very helpful when you are targeting disabled people. In the background how voice input works is, the speech input will be streamed to a server, on the server voice will be converted to text and finally text will be sent back to our app. Other tutorials : 1) Create a custom AVD :https://youtu.be/Cg7BVTk6r5E 2) Basic Android App :http://youtu.be/q98NC73LEgI 3) Calculator App :https://youtu.be/mrjOLG2Grt0 4) How to create a new activity :https://youtu.be/-xljI2_TRZg 5) How to create a login form :https://youtu.be/x6jQAaLz1O8 Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 101662 Tech Academy
Java Tutorials 02 : Download JDK & First JAVA Program
 
07:50
In this video, I will show you how to download JDK and how to write your first java program. JDK download link : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html We will just write a basic java program to print a statement on the output window. In the next tutorials, I am going to explain all the things in detail like objects, classes, methods, instance variables, etc. Next 2-3 tutorials will be mostly based on the concept and after that we can start programming. Java 01 : Intro to java https://youtu.be/zhKkKBGdILY Java 03 : Objects , classes, methods & instance variables https://youtu.be/sd-S0yu9qus Find me here : Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 912 Tech Academy
How to DEBUG android app and SOLVE ERRORS
 
13:11
In this video, I am going to solve all the errors by running the application in debug mode. A viewer submitted this project to me and I thought many of my viewers are getting similar kind of errors, so I decided to make a tutorial on that. In this particular tutorial, you will learn how to debug your android application which is a very important step in android application development. Secondly, you will also come across some very common mistakes which you make but they get neglected when we try to find them. Debug mode is very helpful for solving such errors. When the error is related to database, then you need to restart your AVD and wipe off the data while starting it again to remove all database files, otherwise new files won't be created. If you get any errors or if you have any doubts then feel free to email me. Email id- techacademy8@gmail.com Keep in mind that I need to check your code in order to solve those errors because sometimes the error is not enough to find out what is wrong. So, please attach your whole folder to the mail and I will reply you asap. I have a tutorial on how to create this login and sign up activity with the SQLite database. TUTORIALS : 1) Login activity tutorial - https://youtu.be/x6jQAaLz1O8 2) Database part 1 tutorial - https://youtu.be/NT1qxmqH1eM 3) How to create CUSTOM AVD - https://youtu.be/Cg7BVTk6r5E Thank you for watching this video. I hope it helped you. Find me here : Tumblr : https://www.tumblr.com/blog/priyanka0304 Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts Twitter : https://twitter.com/AndroidAcademy1 Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl
Views: 44234 Tech Academy