日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫COMP S311、代做Java編程語言
代寫COMP S311、代做Java編程語言

時間:2025-02-15  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



COMP S311 
Advanced Java Programming and 
Mobile Application Development
Autumn 2024 Presentation 
Assignment 03 
Please submit this assignment to OLE by 10 February 2025 
COMP S311 Assignment 03 (Autumn 2024) 
2
Preamble 
This assignment covers COMPS 311 Units 6 to 7. You will attempt problems related to 
resources, layout, fragments, networking and concurrency. Hope you will enjoy this 
assignment. 
Kevin Tse 
COMP S311 CC 
 
COMP S311 Assignment 03 (Autumn 2024)
3
Question 1 – Basics and resources [20 marks] 
In this question, you create an Android app that displays some text according to the device 
orientation.
- The name of the app is “COMPS311A3”, and the package name of the app (i.e. app id) 
is “comps311.a3.q1”.
- By default, the app displays your name in English, your student ID, and the current 
time in three lines.
The following are sample outputs when the app is.
Submit one whole Android project that contains all your work for this question.
 
COMP S311 Assignment 03 (Autumn 2024)
4
Question 2 – Layout and UI [40 marks] 
In this question, you develop a simple calculator app. A skeleton project, called Calculator, 
is provided to you. Complete the app according to the following screenshots and 
requirements.
COMP S311 Assignment 03 (Autumn 2024) 
5
a. Modify the default/portrait activity_main.xml layout (included in the skeleton 
project) to add the 17 buttons (0, 1, …, 9, . the dot, =, +, -, *, /, C) under the output 
display. 
b. Create a new activity_main.xml landscape layout that contains the same 
components in the default layout (with the same IDs). 
c. In the MainActivity class, modify the onCreate method as follows: 
o Fill in the buttonIDs integer array with the IDs of the 17 buttons. 
o In the for-loop, find the button from the ID and set up the button’s click listener. The click-listener puts the text (label) of the button to the 
CalculatorData (using the enter method), obtains the output of the 
CalculatorData (using the getOutput method), and displays the output 
to the UI. 
d. Create an XML menu file; in the file, create an “About” options menu item and show 
it as an action item. You may use a built-in Android drawable resource as its icon. 
When the item is selected, an “About” dialog box appears to show your name and 
your student ID. 
e. Create three options menu items “Large text size”, “Medium text size”, and 
“Small text size”. These menu items are checkable, mutually exclusive, and in a 
group. They control the text size of the output display. To set the text size in code, 
you may use the constants SMALL_TEXT_SIZE, MEDIUM_TEXT_SIZE, and 
LARGE_TEXT_SIZE in the MainActivity class. 
Submit one whole Android project that contains all your work for this question. 
 
COMP S311 Assignment 03 (Autumn 2024) 
6
Question 3 – Fragments, networking and 
concurrency [40 marks] 
In this question, you develop an Android that views protocol and host of an URL. A skeleton 
project, called UrlInfo, is provided to you. Complete the project by working through the 
following tasks. 
a. In the MainActivity class, create and show the MainFragment when the app 
starts. The main screen is similar to the left screenshot shown below. 
b. In the MainFragment class, set up the “Get URL Info” button to determine the 
protocol and host of the input URL. Display the result in the result field; in case of 
error, display the error message instead. Note that multithreading should be applied in 
network communication in order to maintain responsiveness of user interface. Also, 
you should execute all the UI operations in the UI thread. 
c. In the MainFragment class, append a history message to the MainActivity’s 
history object (StringBuilder) after the protocol and host have been retrieved 
by clicking on the "Get URL Info" button. For a history message, it contains the 
protocol, host, and the surfing date/time; in case of error, no history message should 
be logged. Refer to the right screenshot below for some example history messages. 
d. In the MainFragment class, set up the “View History” button to show the history 
messages. 
e. Create a HistoryFragment class and its associated fragment_history.xml
layout, for displaying the MainActivity’s history result. Refer to the right 
screenshot below. 
The following screenshots show the main screen (left) and history screen (right) of the app. 
Submit one whole Android project that contains all your work for this question. 
COMP S311 Assignment 03 (Autumn 2024)
7
End of Assignment 
COMP S311 Assignment 03 (Autumn 2024) 
8
Appendix A Assignment Submission Format
• Submit a report containing answer to the required questions. Your report should be 
stored in a Word format. 
• You should then ZIP up the report document with other required files (such as Java 
program files). Name the ZIP file in the format of Assignment03-
SXXXXXXXX.zip, where XXXXXXXX is your student ID. 
• Submit the ZIP file to the OLE Assignment Submission system. 
• If you have a difficulty with submission, please discuss with your tutor or the course 
coordinator. 
Appendix B Extension Application 
• Please submit the assignments on or before the cut-off dates. 
• Your tutor is authorized to grant extension of up to seven days. 
• Only in the circumstances of sickness (with medical proof), long business trips (at 
least a week long and happen within 2 weeks of the cut-off dates), and exceptional 
events would extension of 8 to 21 days be considered. Please apply through the 
OLE Assignment Records and Extension System. You may be required to send in 
supporting documents. 
• No marks will be awarded for any late assignments without prior approval obtained 
from the Course Coordinator and/or the Dean. 
• If you are in an exceptionally difficult situation and unable to submit within 21 days, 
 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp



 

掃一掃在手機打開當前頁
  • 上一篇:代做Operating Systems 、代寫C++程序語言
  • 下一篇:蕓豆分強制下款怎么辦?蕓豆分客服電話在線解決客戶問題!
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 酒店vi設計 deepseek 幣安下載 AI生圖 AI寫作 aippt AI生成PPT 阿里商辦

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        亚洲国产精品尤物yw在线观看| 久久综合电影一区| 黄色亚洲大片免费在线观看| 国产精品久久久一区二区三区| 久久久青草婷婷精品综合日韩| 国产精品高潮呻吟久久av黑人| 亚洲精品视频啊美女在线直播| 妖精视频成人观看www| 亚洲国产日韩一级| 欧美在线观看你懂的| 国产欧美日韩亚州综合| 欧美激情视频网站| 亚洲淫片在线视频| 亚洲制服av| 国产欧美精品一区二区三区介绍| 在线视频欧美日韩精品| 亚洲伦理久久| 一个人看的www久久| 国产精品久久久久久久久借妻| 欧美jizzhd精品欧美喷水| 激情综合色综合久久综合| 在线视频欧美日韩精品| 日韩视频免费在线| 国产婷婷色一区二区三区| 久久人人97超碰人人澡爱香蕉| 免播放器亚洲| 国产麻豆91精品| 久久av资源网站| 久久久久国产精品一区三寸| 欧美在线免费播放| 久久久精品一区二区三区| 欧美中文字幕不卡| 亚洲欧洲精品一区二区三区波多野1战4| 国产精品久久久免费| 日韩亚洲欧美一区| 欧美精品在线观看一区二区| 国产农村妇女精品| 亚洲第一成人在线| 欧美日韩视频在线观看一区二区三区| 一区二区亚洲欧洲国产日韩| 久久精品国产精品亚洲精品| 亚洲免费一在线| 亚洲国产精品va在线看黑人| 欧美喷潮久久久xxxxx| 欧美gay视频激情| 久久伊伊香蕉| 国产精品呻吟| 一区二区在线观看视频| 亚洲国产精品成人综合| 亚洲精选国产| 午夜精品亚洲| 国产综合色产在线精品| 亚洲黄色在线观看| 亚洲三级免费电影| 你懂的成人av| 激情综合电影网| 国模私拍视频一区| 在线日韩欧美视频| 欧美精品在线一区二区| 狠狠色综合网站久久久久久久| 国产精品综合网站| 欧美成人免费小视频| 国产精品久久久久久久久免费| 久久久精品久久久久| 亚洲视频一区二区| 亚洲黑丝在线| 欧美阿v一级看视频| 欧美一区二区成人6969| 久久久久久久国产| 欧美巨乳波霸| 精品999在线播放| 国产日韩欧美在线一区| 最新国产拍偷乱拍精品| 欧美性大战xxxxx久久久| 伊人久久成人| 亚洲麻豆国产自偷在线| 午夜精品电影| 激情婷婷亚洲| 亚洲国产二区| 欧美国产日韩一区二区三区| 国产精品扒开腿做爽爽爽视频| 国产麻豆午夜三级精品| 国产一区二区在线观看免费| 日韩一区二区精品视频| 国产精品v欧美精品∨日韩| 夜夜嗨av一区二区三区四区| 欧美高清在线视频| 久久免费视频网| 国产噜噜噜噜噜久久久久久久久| 99成人精品| 亚洲精品乱码久久久久| 亚洲免费观看视频| 国产一区二区三区高清| 国产精品户外野外| 新狼窝色av性久久久久久| 尤物yw午夜国产精品视频明星| 国产欧美欧洲在线观看| 亚洲欧美综合v| 欧美午夜性色大片在线观看| 欧美区二区三区| 亚洲欧洲精品成人久久奇米网| 亚洲欧洲美洲综合色网| 亚洲国产一区二区三区高清| 欧美视频在线一区二区三区| 麻豆精品国产91久久久久久| 欧美中文字幕视频| 欧美精品偷拍| 亚洲欧洲日产国码二区| 欧美制服丝袜第一页| 欧美日韩福利视频| 国产精品久久久久永久免费观看| 久久国产日韩| 午夜精品久久久久久久久久久| 亚洲欧美经典视频| 在线观看av一区| 欧美专区在线| 亚洲美女av电影| 国产精品黄视频| 久久精品国产亚洲a| 日韩一区二区精品视频| 欧美福利电影在线观看| 欧美日韩一区精品| 激情综合色综合久久| 国产情侣一区| 亚洲图片在区色| 亚洲男人影院| 亚洲另类在线一区| 亚洲视频高清| 在线性视频日韩欧美| 国产精品社区| 加勒比av一区二区| 亚洲免费视频一区二区| 一区二区三区免费网站| 欧美精品一区二区三区在线播放| 最新国产の精品合集bt伙计| 欧美成人黄色小视频| 久久免费视频这里只有精品| 久久久久免费观看| 欧美一区成人| 欧美一区二区三区啪啪| 亚洲国产精品va在线看黑人| 欧美精品激情| 国产精品日韩高清| 韩国v欧美v日本v亚洲v| 国产欧美视频在线观看| 欧美影院午夜播放| 欧美在线电影| 影音先锋一区| 亚洲永久字幕| 午夜精品久久久久久久白皮肤| 亚洲亚洲精品三区日韩精品在线视频| 黄色日韩网站视频| 国产一区二区精品久久99| 亚洲一区二区三区影院| 国产精品欧美风情| 国产视频精品免费播放| 亚洲精品123区| 亚洲免费成人av电影| 久久久国产91| 久久精品国产一区二区三区免费看| 亚洲理伦在线| 国产精品在线看| 国产伦精品免费视频| 午夜精品久久久久久久久久久久久|