Find Jobs
Hire Freelancers

Java BigDecimalArithmetic Sequential Server and Android App

$10-30 USD

Completed
Posted almost 3 years ago

$10-30 USD

Paid on delivery
I will include a basic java server program and android app example for you to get you started. See the Photos attached for full details. (A)“BigDecimalArithmetic” Server: Write a Java program that acts as a sequential server to process requests for performing operations on two (large)numbers from clients. The possible operations that your server can handle are: •add: add the two numbers •sub: subtract the second number from the first number •mult: multiply the two numbers •shuffle: “shuffle” the two numbers (see below for details) Your program should operate as follows: (1)Listen for a connection request from a client. (2)Make the connection. (3)Read the operation from the client. (4)Read two numbers(strings) from the client. (5)Perform the requested operation on the two numbers. (6)Return the result to the client. (It may be a calculated value or an error message.) (7)Disconnect. These steps should be repeated over and over again until the server is manually shut down(for example, using CTRL-c in the Linux environment). Note that the server performs only one operation per connection. If a client were to want another operation performed, then it would have to establish (request) another connection. The server should be listening for further requests. (B)Client App: Write an Android app as a client to test your server. The app should consist of two (or more) activities. The Main Activity requests the domain name and port of the server from the user. It then invokes a second activity that, for example, establishes the connection to the server; interacts with the user to get the desired operation and the two numbers; sends the request to the server; retrieves and displays the result of the operation from the server; and then disconnects. (If the result is an error, then that should be displayed instead.) If the user wishes to process another operation, they need to reconnect to the server by going back to the Main Activity’s UI. etc.
Project ID: 29930752

About the project

1 proposal
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello there! I have went through the project description. I understand the requirements and I am available to take this on. Feel free to message me and we can get started right away. Thanks
$20 USD in 7 days
5.0 (1 review)
1.6
1.6

About the client

Flag of UNITED STATES
Edison, United States
5.0
1
Payment method verified
Member since Apr 4, 2021

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.