/Android_Apps

This file contains source codes to my android apps

Primary LanguageJava

Android-Apps

This file contains source codes to my android apps.

Instructions on how to run each app

  1. To install android studio you need to first download and install JDK (Java Development Kit)
  2. Next download and install android studio

1. Installing The Java Development Kit: Windows Guide

i. Check If You Have Java on Your Computer

Open the Terminal

Before you start, you will need to open a program on your computer called the Terminal. To do this, go to the Task Bar at the bottom of your computer screen, click Start, and navigate to Run...
Screen Shot 2019-12-23 at 10 51 23 AM

Type cmd in the box that pops up. (Your box might look slightly different than ours, depending on what version of Windows your computer is running.)
Screen Shot 2019-12-23 at 10 52 21 AM
This will open the Terminal window.

Use the Terminal to find information

Now you are ready to check if you have the Java Developer Kit, version 7 or greater, already installed on your computer. To check if you have JDK installed (and which version), open a terminal window and type:

java -version

Then hit enter.

The example below shows Java version 8.0_05 -- the version number comes after the “1.”

(Note: As of May 2015, the most recent version was 8.0_45.)
Screen Shot 2019-12-23 at 10 53 57 AM

If you have Java 7 or greater, you can move on to the next node: Install Android Studio.

If the JDK is not available, or the version is lower than 7, go on to Step 2, below.

ii. Download the Java Development Kit

Download the Java Development Kit, aka, the JDK, from this page (http://www.oracle.com/technetwork/java/javase/downloads/index.html).

Oracle, the company that maintains Java, has a lot of options and acronyms. We're looking for the plain old JDK. This is the kit you need to start developing your apps with Java.

As of May 2015, the download icon for the JDK looked like this:
Screen Shot 2019-12-23 at 10 55 42 AM

After you click the download link, you'll see a list of options for download. Go to the Java SE Development Kit menu of options. Do not go to the demos and samples (the menus look very similar, so make sure to read the heading at the top).

Install

You've got a lot of options here, but the two you care about are the Windows options.

If your computer is only a few years old, you're most likely going to download the 64-bit option. If your computer is a little older you can follow these instructions (https://support.microsoft.com/en-us/kb/827218) to double check.

I'm going to download the 64-bit option (highlighted below).
Screen Shot 2019-12-23 at 10 57 30 AM
Accept the license agreement, and download it. Once you've downloaded it, go ahead and double click it to install.

iii. Verify that Java is Installed

Go back to Step 1 and follow the instructions to open your Terminal and verify that you have Java version 7 or higher installed.

Do not move on with Android Studio install until after you have installed the JDK.

Without a working copy of Java, the rest of the process will not work. If you can't get the download to work, look for error messages, and try googling to find a solution.

Link to Java download site (http://www.oracle.com/technetwork/java/javase/downloads/index.html)

1. Installing The Java Development Kit: Mac Guide

i. Check If You Have Java on Your Computer

Open the Terminal

Before you start, you will need to open a program on your computer called the Terminal. To do this, click the search icon (magnifying glass) on the top right of your desktop, and type in "terminal."
Screen Shot 2019-12-23 at 11 14 43 AM
You can also navigate to the Terminal from your Applications > Utilities folder.

Use the Terminal to find information

Now you are ready to check if you have the Java Developer Kit, version 7 or greater, already installed. To check if you have JDK installed (and which version), open the Terminal and type:

java -version into the window, and hit enter.

The example below shows Java version 8.0 -- the version number comes after the “1.”
Screen Shot 2019-12-23 at 11 16 09 AM
If you have Java 7 or greater, move on to the next node: Install Android Studio.

If the JDK is not available, or the version is lower than 7, go on to Step 2, below.

ii. Download the Java Development Kit

Download the Java Development Kit, aka, the JDK, from this page (http://www.oracle.com/technetwork/java/javase/downloads/index.html).

Oracle, the company that maintains Java, has a lot of options and acronyms. We're looking for the plain old JDK. This is the kit you need to start developing your apps with Java.

As of May 2015, the download icon for the JDK looked like this:
Screen Shot 2019-12-23 at 11 17 42 AM
After you click the download link, you'll see a list of options for download. Go to the Java SE Development Kit menu of options.

Do not go to the demos and samples (the menus look very similar, so make sure to read the heading at the top).

Install

Select the JDK for your operating system (Mac OSX). In most cases, if you have a machine that is less than 4 years old, you should choose the x64 (64-bit) version (highlighted below). Search online for instructions if you have an older machine and are unsure what version to download.
Screen Shot 2019-12-23 at 11 18 57 AM
Accept the license agreement to download and locate the file, and double click it to begin the installation process.

iii. Verify that Java is Installed

Go back to Step 1 and follow the instructions to open your Terminal and verify that you have Java version 7 or higher installed.

Do not move on with Android Studio install until after you have installed the JDK.

Without a working copy of Java, the rest of the process will not work. If you can't get the download to work, look for error messages, and try googling to find a solution.

Link to Java download site (http://www.oracle.com/technetwork/java/javase/downloads/index.html)

2. Download and Install Android Studio

Make sure you're computer is capable of running Android Studio by checking the system requirements (https://developer.android.com/sdk/index.html?utm_source=udacity&utm_medium=course&utm_campaign=android_basics#Requirements).
If on a corporate network, you may need to Set Your Proxy Settings (https://developer.android.com/studio/intro/studio-config#proxy) or check in with your IT team on help setting up Android Studio.

i. Installation Guide: Windows

Install Android Studio

Navigate here (https://developer.android.com/sdk/index.html?utm_source=udacity&utm_medium=course&utm_campaign=android_basics), to the Android developers site to install Android Studio. This page will automatically detect your operating system.
Screen Shot 2019-12-24 at 1 00 12 PM
Accept the terms and conditions to start the download. Double-click the downloaded file and follow all the prompts. Open the downloaded file, and follow the Android Studio Setup Wizard. Accept the defaults configuration for all steps.
Screen Shot 2019-12-24 at 1 01 26 PM
Screen Shot 2019-12-24 at 1 05 14 PM
When you reach this screen, make sure that all components are selected.

Setup Wizard

After finishing the install, the Setup Wizard will download and install some additional components. Be patient, this might take some time depending on your internet speed.

Screen Shot 2019-12-24 at 1 06 49 PM

Install Finished!

When you are finished, you will see this window:
Screen Shot 2019-12-24 at 1 10 17 PM

Important Notes

Note 1: When you download and install Android Studio the appearance of the windows that you'll deal with may be different from the ones provided above, that's OK as the version you'll download is different from the one that was being downloaded when the screenshots above were taken. So, the overall process is the same.

Note 2: For the third screenshot that shows the components, if you get fewer components, it's OK, the most important thing is to have them all selected.

Note 3: The setup Wizard above will launch when you try to open Android Studio for the first time to download some additional components, follow-up with the wizard until it finishes and Android Studio launches.

ii. Installation Guide: Mac

Install Android Studio

Navigate here (https://developer.android.com/sdk/index.html?utm_source=udacity&utm_medium=course&utm_campaign=android_basics), to the Android developers site to install Android Studio. This page will automatically detect your operating system.
Screen Shot 2019-12-24 at 1 15 31 PM
Accept the terms and conditions to start the download. Double-click the downloaded file and follow all the prompts. Drag the Android Studio icon into your Applications folder.

Setup Wizard

The setup wizard will setup Android Studio for you.
Screen Shot 2019-12-24 at 1 16 32 PM
You can go ahead and choose Standard Setup and accept all the licenses.

Install Finished!

When you are finished, you will see this window:
Screen Shot 2019-12-24 at 1 18 06 PM
If you're installing a recent version of Android Studio (from around April/May/June 2015) on a Mac, a standard installation might fail with a bunch of errors. If that happens, try doing a "Custom Setup" instead. Just keep clicking "Next" through all of the custom options (there's nothing you actually need to change) and let it install. If using a custom install doesn't fix your issue, keep troubleshooting and look through discussion posts!

License

Copyright © 2019 Bright Nwanoruo Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.


2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.


3. Neither the name of The author nor the names of its contributors may
   be used to endorse or promote products derived from this software
   without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.