Write a very basic Android App using Room. If you don't have Room experience, don't apply.
One app developed in Android Studio using the latest version of Gradle.
The App has 3 Text fields on the main screen called 'Capture Interval', 'Number' and Two buttons.
Using Room, it has 2 tables called ServerQueue with the following fields.
1) ServerQueueID integer Identity (if you can't use Identity, use a GUID)
2) CreateDate Datetime default GetDate()
3) BatteryLevel integer
4) SentToServer Integer
On Button1 Click, kick off a Handler every Capture Interval Seconds.
On Handler going off, Insert 1 Row into GPSData with a Random Lat and Long. You can use Dates as Time in Seconds since 1970.
Every N Inserts, Trigger a message to a Service, that has a TCP Client connected to a fixed IP and Port and this does
1) Select top 1 from ServerQueue where SentToServer = 0, then using ServerQueueID, Select * from GPSData where ServerQueueID = @ServerQueueID, build a packet, (just a String Builder), then send to the server using TCPClient.
2) On Receipt of ServerQueueID on the Socket, Delete from GPSServer where ServerQueueID = @ReturnedServerQueueID and Update ServerQueue, set SendToServer= 1 where ServerQueueID = @ServerQueueID
On Button 2 Click, just do a Select * from ServerQueue and show it on screen - even if it's just in a text box.
if you don't have Room experience or can't do the project in the next 3 days, or quote more than $100 USD, don't apply.
12 freelancere byder i gennemsnit $226 på dette job
Hello, How are you? I am a senior Android(Java) app developer and I am pretty much sure that I can exceed your expectation. It'd be great if you could share more details with me. Thank you.
I am Google Certified Android Developer with experience of more than 4 years. I can help you build this application of yours using room framework. let's have a quick discussion about it over the chat.
hey, I have read your requirments. i have more than 3 years of experience in android development and i build several apps using room data base. i can be a best fit for your job.