Android App working mainly as Background Service

Zaprto Objavljeno pred 5 letoma/leti Plačilo ob prevzemu
Zaprto 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

Android Mobile App Development

ID projekta: #18537630

Več o projektu

8 predlogov Oddaljen projekt Aktiven pred 5 letoma/leti

8 freelancerjev ponuja v povprečju za €187 na tem delu

huzefagadi

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č

€222 EUR v 1 dnevu
(125 ocen)
7.3
usmanrana07

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

€111 EUR v 1 dnevu
(68 ocen)
6.5
grigorywazin

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č

€555 EUR v 5 dneh
(27 ocen)
6.1
MonuSwint

We believe designing and building modern applications for mobile and web is different than learning new programming languages or using middleware tools. It’s kind of collections of multiple systems where we have to kee Več

€222 EUR v 2 dneh
(7 ocen)
3.9
diyuthakur1

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č

€23 EUR v 3 dneh
(5 ocen)
3.8
umeshleeway

I can do this

€211 EUR v 2 dneh
(0 ocen)
0.0
gasmjns

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

€100 EUR v 1 dnevu
(1 Ocena)
0.0
khanzada01

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č

€55 EUR v 2 dneh
(0 ocen)
0.0