COMP28512: Mobile Systems - Proxy Server's - Computer Science Assignment Help

Download Solution Order New Solution
Assignment Task:

Task: Messaging with Android Smartphones 

1. Introduction 

The aim of this task is to become familiar with Android development and emulation facilities for developing and testing applications. Ultimately these applications can be downloaded to real smart-phones via a USB connection. 

The application we aim to produce is a messaging system capable of exchanging, firstly, strings of text, secondly recorded text messages, images and MP3 files, and finally real time speech. Task 4 is concerned with introductory material and Task 5 will follow on with more advanced parts of the application. 

The communication will take place via SIP-like proxy servers running some pre-developed software on PCs. The communications will ultimately be wireless using WiFi, but initially it will be by wired Ethernet between Android emulators and the ‘proxy-servers’. Such an application could be useful in ad-hoc or emergency situations where the normal communications infrastructure has failed and standard global messaging services cannot be accessed. The proxy-servers will provide registration, communication with a location-server (DNS) and protocols for inviting, accepting and acknowledging call set-up initiatives. To simplify the PC software, there will a single proxy server with a built-in location-server.

Questions we may ask you:
1. What is the purpose of the following files and directories created by Gradle?:
(a) src/main/java.

(b) res/

(c) AndroidManifest.xml
2. Why are literal strings discouraged in Android? What is the preferred alternative?
3. How did you use logcat to debug your software?
4. What is a 'call-back Method?
5. Do all the UI components work correctly?
6. Which emulator and which real device did you use?

Questions
1. What is multi-threading and how is it done?
2. Why does this application have to be multi-threaded?
3. How does the ‘runOnUiThread’ method deal with inter-thread communications in Android?

4. Why is ‘runOnUiThread’ needed for the NetworkConnectionsAndReceiver thread but not
for the Transmitter thread?(Otherwise, the two thread might try to write this text box at the same time)


A smarter application
You can already have a text conversation (a 'chat') with BarryBot but it inconvenient to have to type the Sip messages (Register etc) yourself. Therefore create a new EditText box to allow the user to enter a name and create a 'Register' button for registering this name automatically with the server. Create further UI components for 'WHO' and 'INVITE'. Then create an interface for exchanging messages conveniently between the registered name and the invited name. Your application should be able to accept, reject and end conversations. Demonstrate a two-way message link for interchanging short one-line messages with BarryBot using the proxy-server.
Questions:
1. What are the main features of your new layout and how do they work?
2. How can you test somebody calling you?
3. What happens if you try to register with a name that is already in use?
4. Why do you need to disconnect yourself when exit? If you don’t, what happens?
5. What are the possible disadvantages of using the proxy server's MSG command to convey the communications to and from clients, especially if you are thinking about introducing spoken messages and multimedia?

This COMP28512: Computer Science Assignment has been solved by our Computer Science Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.