-
Notifications
You must be signed in to change notification settings - Fork 0
/
generic5.html
188 lines (172 loc) · 8.25 KB
/
generic5.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE HTML>
<html>
<head>
<title>Activity 5 - DigitalFIRE-WebStyle</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header">
<div class="inner">
<!-- Logo -->
<a href="index.html" class="logo">
<img src="images/TTUCS-logo.JPG" alt="" />
<!--<span class="symbol"></span><span class="title"></span>-->
</a>
<!-- Nav -->
<nav>
<ul>
<li><a href="#menu">Menu</a></li>
</ul>
</nav>
</div>
</header>
<!-- Menu -->
<nav id="menu">
<h2>Menu</h2>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="generic1.html">Activity 1</a></li>
<li><a href="generic2.html">Activity 2</a></li>
<li><a href="generic3.html">Activity 3</a></li>
<li><a href="generic4.html">Activity 4</a></li>
<li><a href="generic5.html">Activity 5</a></li>
</ul>
</nav>
<!-- Main -->
<div id="main">
<div class="inner">
<h1>Activity 5</h1>
<!--<span class="image main"><img src="images/pic13.jpg" alt="" /></span>-->
<span class="image main"><img src="images/ttu/images/pic5.jpg" alt="" /></span>
<br>
<pre> <b>Estimated Time: 15 Minutes</b></pre>
<h2><font size="6">↠</font><font color="blue">1.1</font> Objective</h2>
<p>
<ul>
<li>In this Activity 5, the installed app from previous activity is modified to connect with <a href="https://pythonbasics.org/webserver/" style="text-decoration:none" onmouseover="style='text-decoration:underline'" onmouseout="style='text-decoration:none'">Python web server</a> running on local computer and login credentials are monitored on Logcat window.</li>
</ul>
</p>
<h2><font size="6">↠</font><font color="blue">1.2</font> Description</h2>
<p>In this Activity, we will modify settings inside app to connect with python web server setup on local system and monitor the logs using "Logcat" on Android Studio.</p>
<br>
<h2><font size="6">↠</font><font color="blue">1.3</font> Instructions</h2>
<p>
<ul>
<li>Step 1: Leave the python web server running on port 8080. Do not disturb the server.</li>
<br>
<li>Step 2: Open new command prompt window and check your system ip address with command "ipconfig". Make a note of IPv4 address in the ipconfig command output.</li>
<br>
<li>Step 3: Now go to android studio -> AVD (Android Virtual Device) -> Run Device in emulator -> Open app (which is installed through login.apk file)</li>
<br>
<li>Step 4: Inside the app, at the lower right corner, click the three-dot icon.</li>
<br>
<li>Step 5: Click Reset, Click the three-dot icon again.</li>
<br>
<li>Step 6: Click "Preferences" -> Click "Bank Service Address" -> Put your system ip address identified from Step2 here.</li>
<br>   <img src="images/ttu/Activity5/bank-service-address.PNG" width="50%" height="50%">
<br>
<li>Step 7: Similarly go to "Preferences" page again -> Click "HTTP Port" -> Set port as 8080</li>
<br>
<li>Step 8: Now go to app login page (start page) and enter credentials. Default account credentials are provided on the same login page.</li>
<br>
<li>Step 9: When you enter credentials and click "Login" button, you can see logs in "Logcat" window.</li>
<br>   <img src="images/ttu/Activity5/logcat.PNG" width="100%" height="100%">
<br>
<li>Step 10: Take a screenshot of logs in "Logcat" window showing the credentials in plaintext format. Please send the screenshot to Professor through mail for submission.</li>
</ul>
</p>
<br>
<h2><font size="6">↠</font><font color="blue">1.4</font><font color="orange">★ ★ ★</font> Self-Assessment <font color="orange">★ ★ ★</font> </h2>
<p>Please complete the following self-assessment over Activity 5</p>
<a href="Challenge5.html">Start Assessment</a>
<br>
<h2><font size="6">↠</font><font color="blue">1.5</font><font color="orange"></font> Activity 5 - Feedback <font color="orange"></font> 😍😁😶🙁😞</h2>
<p>Please complete the following survey questions over Activity 5</p>
<a href="https://educttu.az1.qualtrics.com/jfe/form/SV_cBfXvZ69tCEhUGy">Start Survey Questions</a>
</div>
</div>
<!-- Footer -->
<footer id="footer">
<div class="inner">
<section>
<h2>Contact Us</h2>
<form method="post" action="https://formspree.io/f/mjvzpjvb">
<div class="fields">
<div class="field half">
<input type="text" name="name" id="name" placeholder="Name" />
</div>
<div class="field half">
<input type="email" name="email" id="email" placeholder="Email" />
</div>
<div class="field">
<textarea name="message" id="message" placeholder="Message"></textarea>
</div>
</div>
<ul class="actions">
<li><input type="submit" value="Send" class="primary" /></li>
</ul>
</form>
</section>
<section>
<h2>Follow</h2>
<ul class="icons">
<li><a href="#" class="icon brands style2 fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="#" class="icon brands style2 fa-facebook-f"><span class="label">Facebook</span></a></li>
<li><a href="#" class="icon brands style2 fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon brands style2 fa-dribbble"><span class="label">Dribbble</span></a></li>
<li><a href="#" class="icon brands style2 fa-github"><span class="label">GitHub</span></a></li>
<li><a href="#" class="icon brands style2 fa-500px"><span class="label">500px</span></a></li>
<li><a href="#" class="icon solid style2 fa-phone"><span class="label">Phone</span></a></li>
<li><a href="#" class="icon solid style2 fa-envelope"><span class="label">Email</span></a></li>
</ul>
</section>
<section>
<br><br>
<h2>About Us</h2>
<ul style="list-style: none;">
<li><b>Website Ownership and Management</b></li>
<li>Dr. Akbar Namin, Ph.D.</li>
<li>Associate Professor</li>
<li>Department of Computer Science</li>
<li>Texas Tech University</li>
<li>TX - USA</li>
<li>Email: akbar.namin@ttu.edu</li>
</ul>
</section>
<section>
<h2></h2>
<br><br><br>
<ul style="list-style: none;">
<li><b>Website Developer</b></li>
<li>Prathyush Turaga</li>
<li>Research Assistant</li>
<li>Department of Computer Science</li>
<li>Texas Tech University</li>
<li>TX - USA</li>
<li>Email: pturaga@ttu.edu</li>
</ul>
</section>
<ul class="copyright">
<li>© Texas Tech University. All rights reserved</li>
<!--<li>Design: <a href="http://html5up.net">HTML5 UP</a></li>-->
</ul>
</div>
</footer>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
<link rel="stylesheet" href="AIchat.v1.css" type="text/css" media="screen" />
<script type="text/javascript" src="dependencies.v1.js"></script>
<script type="text/javascript" src="AIchat.v1.js"></script>
</body>
</html>