WHAT ARE THE DIFFERENCES BETWEEN A GENERAL PURPOSE COMPUTER (LIKE DESKTOP OR LAPTOP COMPUTER) AND A SMARTPHONE (20%)
What are the differences between a general purpose computer (like desktop or laptop computer) and a smartphone (20%)
Q2: Based on the given block data below, answer the following questions. [Hint: You may use Wireshark to decode it. Or you can do internet search for ‘packet dump decode’. Then place the block of data into the input data section. You will be able to find the answer from the decoding result.] (20%)
00 11 bc b5 49 40 b8 8d 12 00 0d fa 08 00 45 00
00 37 99 09 00 00 ff 11 ea 9f 0a 07 03 1a 42 aa
e8 41 c7 19 00 35 00 23 a3 9e 02 90 01 00 00 01
00 00 00 00 00 00 05 6d 69 74 72 65 03 6f 72 67
00 00 01 00 01
Source IP address:
Destination IP address:
Source Port #:
Destination Port #:
Q3: Install and Configure Android Studio on your computer (not on VM). Configure a new Device Emulator (use phone, not TV or Tablet) – not to use the default Device emulator, or use your Android phone. The latest one may not work. Change the text on the default emulator “Hello World!” to “Hello, this is your-name!” on the display on another Device emulator or your cell phone. Do a screen shot including the Android Studio on the screen and the project name shows your name. Turn in the screen shot. Anyone can put more features on the device will get bonus points. The more impressive, the more bonus points. (60%)
I already showed the class how to download and install the Android Studio, and how to configure a new Device emulator and an Android phone in the class.
This is how to create a new project using the default features come with the new project.
If you are in the "Quick Start", click the first icon in the center "Start a new Android Studio Project".
On the "Configure Your new project", enter your application name, such as "ITEC625_HW2_Jon_Moor", company Domain: "UMUC", project location: (use the default, you can only see it from a terminal. Or you can assign it to your home directory/Documents, which you can see). Click "Next".
Choose any one of the item. I will choose "Phone and Tablet". Use a minimum SDK that match with your physical phone or the Device Emulator you created in the class both hardware and software. In most cases, "API 23: Android 6.0 (Marshmallow)" is what many students have chosen in the class. I haven't used other type. So, don't use them for HW2. Click "Next".
Choose the first "Activity" icon "Blank Activity". You can choose others, but I am not sure it will have "Hello World" on it, which you need to modify. Click "Next".
In next screen, enter the name that related to the class HW2 Q3 assignment. Click "Finish".
Next the system will finish configure the files. When it is done, you will see a virtual phone.
You can click the words "Hello World" on the virtual phone and change it to "Hello, this is Sophia!". Use your name instead of "Sophia". The alternative is to use the right hand lower section. Scroll to "Text" and you will see "Hello World". Change text there. Now you can see the text
Next, click "Run", then "1. app". Or simply "Run App". The running device currently listed as "Emulator Unknown Android 2.3.4 API 10". You can select a new Device Emulator that one the Device Choose" screen and "Launch Emulator" by selecting another emulator you choose. The same effect will apply.
You may also choose to plug in your Android phone (not the latest version, which didn't work with Windows 10, but might work with an earlier Windows version). Remember to choose "Setting/more/Developer options" to set the developer option "ON". You should see the "Hello, this is Sophia!" pop up on the screen. The first time you run it, it will ask you if you want to accept the application/connection. Accept it.
Take a screen shot with your name on either the emulator phone or your Android phone. That is your HW2 Q3 submission.