Android App working mainly as Background Service
€8-30 EUR
Plačilo ob prevzemu
I need an Android App working basically as background Service since need only a single GUI for testing purposes
Features required:
has to work as background service: thus once installed and opened once has to perform task_01
task_01 has to be performed also every time phone is switched on.
Create variable url_1= '[login to view URL]';
Create variable time_1= '01:00:00';
Create variable interval_1 = 900;
Create variable icon_logo ='[login to view URL]';
Following Tasks
task_01:
once a day at {time_1} or when phone is switched on or when app receive a fcm notification from server with title value='send'
1) send every {interval_1} seconds own phonenumber and IMEI to {url_1} as json:
{
"phonenumber": "+31333444555666",
"IMEI": "1234324222321",
"name": {name}
}
2) parse the following json response payload:
{
"name": "John",
"starttime": "08:30:00",
"endtime": "16:45:00",
"frequency": "60",
"distance": "20",
"interval_2": 900,
"time": 1544657880415,
"debug": true,
"notification": "channel_id|notification_icon|textTitle|textContent|Priority",
"action" : "default", # accepted values: default,download,clear
"url_2": "[login to view URL]",
"url_3": "[login to view URL]"
}
3) if it is not possible to get phonenumber, first time app is open create a form where it is asked to user to enter her/his name and a send button to send the above payload as json
task_02:
Analyze task_01 payload and according to the parameters received perform the following actions:
a) If "debug" = true, task_01 response has to be shown on a the screen in a simple page,
If "debug" = false, app will open the browser to the {url_2} value contained in task_01 response.
b) If "notification" value is not "" use its value to build a notification.
c) according to "action" value do as follows:
case "default":
1) from {starttime}
to {endtime}
every {frequency} seconds
or when position has changed of more than {distance} meters:
I) create the following payload (as json):
{
"phonenumber": "+31333444555666",
"imei":"123451344343"
"time": 1544657960972, //# current time of the phone in milliseconds from 01-01-0970
"latitude": 49.12253456,
"longitude": 3.3345254,
"distance": 35,
"speed": 25.4,
"freespace_kB": 2451
}
II) Save it in local database table setting "send" flag as false
III)Send to {url_3} all payloads for which "send" flag is false
2) receive and parse the response that will be like:
{
"status": "OK",
"time": 1544657960972 //# time passed in the above payload
}
3) If "status" = "OK" using "time" value as key, flag as "sent" the payload in local database
# in this way if there are some connection problems, payloads will not be lost.
case "download":
1) Send to {url_3} all payloads saved into the local database.
case "clear":
1) Delete all payloads marked with "sent" in the local database.
Further Requests:
Create a variable page where can be easy to change with Android Studio:
1) Value of url_1, time_1 and interval_1, icon_logo
2) The app Name,
4) Any other value that can be customized
ID projekta: #18537630
Več o projektu
8 freelancerjev ponuja v povprečju za €187 na tem delu
Hello, I can do this in 2 hours. I am android expert and I have developed apps who runs in background. It is bit tricky so beware if anyone asks you that they do it. I have done this before and I can do it rig Več
Hi! I can start it right away. I'm experienced Android developer. Contact me for quick and quality results. I can answer your concerns in better way. Looking forward to hear back. Thanks
Dear client. I read your description carefully and fully understand what you want. I am a Senior Android App Developer who has 8+ year's rich experience and very strong skills in Java, C/C++ and Hybrid Development. If Več
Hello, My name is Dipika, I am from India. I'm an Android developer and have 3 years experience in mobile development. My work - my hobby and I like my work. I am highly motivated and easy educable person. My code Več
Hi, I am android developer. And interested in doing your project. We can use alarm manager and start up receiver to schedule you job. Lets work together
Hi Greetings, I got all your points. quick question. Backend is also firebase or a webservice? I mean where to POST this data every T intetrval. I am android expert and have 3+ years experience but just new here Več