Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Mobile Computing Set Up Copyright 2015 by Janson Industries.

Similar presentations


Presentation on theme: "1 Mobile Computing Set Up Copyright 2015 by Janson Industries."— Presentation transcript:

1 1 Mobile Computing Set Up Copyright 2015 by Janson Industries

2 2 Objectives ▀ Explain how to download and install u Android SDK u Java JDK (if needed) u Eclipse and the Android plugin ▀ First create a folder called Mobile on your C:

3 Copyright 2015 by Janson Industries 3 Installing on a Computer ▀ We will download all files to Mobile u If you are going to install on many machines you only have to download once ▀ Then download SDK using Internet Explorer from: u http://developer.android.com/sdk/in dex.html#Other

4 Copyright 2015 by Janson Industries 4 Double click installer to download

5 Copyright 2015 by Janson Industries 5 Accept the conditions and click download button

6 Copyright 2015 by Janson Industries 6 Click the Save drop down button and select Save As

7 Copyright 2015 by Janson Industries 7 Specify to the Mobile folder

8 Copyright 2015 by Janson Industries ▀ The installer should start (if not double click the downloaded file) then click Next 8 Android SDK

9 Copyright 2015 by Janson Industries ▀ If you get this window, you need to download the Java JDK 9 Android SDK

10 Chapter 1© copyright Janson Industries 201510 Java JDK ▮ To download the JDK, go to: ▮ http://www.oracle.com/technetwork/java/javase /downloads/index.html ▮ Click on the latest JDK download button for the latest update (i.e. (JDK8)u31, etc. ) ▮ Select the JDK for your computer (i.e. Windows) ▮ Download to your C drive (at home)

11 Chapter 1© copyright Janson Industries 201511 Select the latest JDK version

12 Chapter 1© copyright Janson Industries 201512 Scroll down and click the accept agreement radio button Double click the operating system of your computer (Windows), select 32 bit even if you have a 64 bit one

13 Chapter 1© copyright Janson Industries 201513 Scroll down and click the accept agreement radio button Double click the operating system of your computer (Windows), select 32 bit even if you have a 64 bit one

14 Chapter 1© copyright Janson Industries 201514 Specify to Save As by clicking the Save drop down button and selecting Save As

15 Chapter 1© copyright Janson Industries 201515 Create and save to a folder called Mobile

16 Chapter 1© copyright Janson Industries 201516 JDK on the PC ▮ To install the JDK: ▮ Run jdk-8(u#)-windows-i586-p.exe (where # is the latest version and update numbers) ▮ Create folders to hold the JDK and JRE called jdk and jre ▮ Delete the original.exe file jdk-8(u#)-windows- i586-p.exe

17 Chapter 1© copyright Janson Industries 201517 Using Computer open the Mobile folder

18 © copyright Janson Industries 2015Chapter 118 ▮ Run the exe file by double clicking ▮ Click the Next button JDK on the PC ▮ Only takes up 162 meg ▮ Final install will take up 180 meg

19 Chapter 1© copyright Janson Industries 201519 If you get this, you downloaded the wrong JDK

20 Chapter 1© copyright Janson Industries 201520 Or this (or any other msg), you downloaded the wrong JDK

21 Chapter 1© copyright Janson Industries 201521 Click Next

22 Chapter 1© copyright Janson Industries 201522 Accept the default components (notice the JRE is just one part of the JDK) You can control where the JDK is installed by clicking the Change... button

23 Chapter 1© copyright Janson Industries 201523 To save on typing later, we’ll change directory to just JDK i.e. F:\JDK (or C:\JDK\ at home) then click the OK button

24 Chapter 1© copyright Janson Industries 201524 JDK install window redisplayed with new location Click Next

25 Chapter 1© copyright Janson Industries 201525 Shows where JRE will be installed. Change to…

26 Chapter 126 Navigate to location then click Make New Folder

27 Chapter 127 Specify jre then click OK

28 Chapter 1© copyright Janson Industries 201528 JRE install window redisplayed with new location

29 Chapter 1© copyright Janson Industries 201529 You may have to shut down some running apps

30 Chapter 1© copyright Janson Industries 201530 And again…

31 Chapter 1© copyright Janson Industries 201531 Two folders called jdk and jre are created in F:\ (verify with My Computer) Delete jdk-8(u#)-windows-i586-p.exe and click the Close button

32 Copyright 2015 by Janson Industries ▀ Go back to the Android window and click back 32 Android SDK

33 Copyright 2015 by Janson Industries ▀ Then click Next again 33 Android SDK

34 Copyright 2015 by Janson Industries ▀ This time the JDK will be found 34 Android SDK

35 Copyright 2015 by Janson Industries ▀ If the JDK is not found add location of the F:/JDK/bin to the system environment variable “path” ▀ Click Start button ▀ Control Panel ▀ System ▀ Environment Variables 35

36 Copyright 2015 by Janson Industries ▀ Scroll down ▀ Select Path ▀ Click edit 36 If JDK Not Found

37 Copyright 2015 by Janson Industries ▀ Add a ▀ Semicolon ▀ The location of the jdk ▀ The bin subfolder ▀ ;F\jdk\bin ▀ Click OK 37 If JDK Not Found Reboot the computer and start the Android install again

38 Copyright 2015 by Janson Industries ▀ Your choice 38 Android SDK

39 Copyright 2015 by Janson Industries ▀ Change so it goes into Mobile folder 39 Android SDK

40 Copyright 2015 by Janson Industries ▀ Click Next 40 Android SDK

41 Copyright 2015 by Janson Industries ▀ Specify the Start Menu folder name and click Install 41 Android SDK

42 Copyright 2015 by Janson Industries ▀ After success click Next 42 Android SDK

43 Copyright 2015 by Janson Industries ▀ Then click Finish 43 Android SDK

44 Copyright 2015 by Janson Industries ▀ If you have the time, can select all platforms ▀ I'm just selecting some 44 Android SDK

45 Copyright 2015 by Janson Industries ▀ Scroll down and select all the Google Play extras then Install 45 Android SDK

46 Copyright 2015 by Janson Industries ▀ Accept License 46 Android SDK

47 Copyright 2015 by Janson Industries ▀ Then click Install 47 Android SDK

48 Copyright 2015 by Janson Industries ▀ This may take a while… ▀ If there are some dependencies, click Yes ▀ If they require you to sign in, Cancel ▀ Restart ADB 48 Android SDK

49 Copyright 2015 by Janson Industries ▀ The first time you install this shouldn't show - Click OK if it does - then click Close 49 Android SDK

50 Copyright 2015 by Janson Industries ▀ If not all installed, click Install again 50 Android SDK

51 Copyright 2015 by Janson Industries ▀ Click Accept All then Install ▀ If prompted to restart ABD, yes 51 Android SDK

52 Copyright 2015 by Janson Industries ▀ If asked to sign in, Cancel ▀ If everything doesn’t install, no sweat 52 Android SDK

53 Copyright 2015 by Janson Industries 53 Download Eclipse 32 bit into Mobile folder from: http://www.eclipse.org/downloads/

54 Copyright 2015 by Janson Industries 54

55 Copyright 2015 by Janson Industries 55 Save as

56 Copyright 2015 by Janson Industries 56 Save to Mobile folder

57 Copyright 2015 by Janson Industries ▀ Eclipse file should look like this 57 Eclipse

58 Copyright 2015 by Janson Industries ▀ Extract the eclipse file into Mobile folder, an eclipseXXX folder is created 58 Eclipse

59 Copyright 2015 by Janson Industries ▀ Inside that an eclipse folder is created 59 Eclipse

60 Copyright 2015 by Janson Industries ▀ Start eclipse by double clicking eclipse.exe 60 Android Plugin

61 Copyright 2015 by Janson Industries ▀ If you get a security warning, click Run 61 Android Plugin

62 Copyright 2015 by Janson Industries ▀ Create a folder to hold all your work ▀ I strongly recommend your thumb drive ▀ Then specify here 62 Android Plugin

63 Copyright 2015 by Janson Industries 63 At the Welcome page click Help, then Install New Software

64 Copyright 2015 by Janson Industries 64 Click Add, in the top-right corner.

65 Copyright 2015 by Janson Industries ▀ Enter "ADT Plugin" for the Name & https://dl-ssl.google.com/android/eclipse/ for the Location and click OK https://dl-ssl.google.com/android/eclipse/ 65 Android Plugin

66 Copyright 2015 by Janson Industries 66 Select the checkbox next to Developer Tools and click Next

67 Copyright 2015 by Janson Industries ▀ A list of tools is displayed, click Next ▀ Read and accept the license agreement(s), then click Finish ▀ Ignore any security warnings 67 Android Plugin

68 Copyright 2015 by Janson Industries ▀ When the installation completes, restart Eclipse ▀ Specify the thumb drive workspace ▀ Should be default 68 Android Plugin

69 Copyright 2015 by Janson Industries 69 Need to tell Eclipse about the SDK. Click Browse and navigate to the Mobile folder If this doesn’t appear skip to this slidethis slide

70 Copyright 2015 by Janson Industries 70 Select android-sdk and click OK

71 Copyright 2015 by Janson Industries 71 Window redisplayed with new location. Click Finish.

72 Copyright 2015 by Janson Industries 72 Click Accept All and Install If asked, restart ADB

73 Copyright 2015 by Janson Industries 73 If you skipped to this slide, need to tell Eclipse about the SDK. Click Window, and then Preferences. If not, skip the next slide. Tutorials more java related not mobile device related. Close Welcome pane.

74 Copyright 2015 by Janson Industries 74 Make sure the Android SDK location is correct, if not change and click Apply

75 Copyright 2015 by Janson Industries 75 If you forgot to install the 3 rd Tools item you'll have to do it now

76 Copyright 2015 by Janson Industries ▀ Must create an Android device emulator ▀ Click ▀ Window ▀ Android Virtual Device manager ▀ New 76 Emulator (Android Virtual Device)

77 Copyright 2015 by Janson Industries ▀ Specify name (Emulator), Device, Android version ( 4.0), Skin, RAM (512) and SD size (100) ► The older the version the more devices the app will run on ▀ Click OK ▀ Close the AVD Mgr 77 Emulator (AVD)

78 Copyright 2015 by Janson Industries 78 Other Resources ▀ Here’s a link to 200 videos about Android development (including how to install everything): u http://thenewboston.org/list.php?cat=6 http://thenewboston.org/list.php?cat=6 ► Blocked on campus


Download ppt "1 Mobile Computing Set Up Copyright 2015 by Janson Industries."

Similar presentations


Ads by Google