Android post to server intent when hitting geofence

Since it's not possible for Android to run javascript in a background service, I'd like to propose the following extra configuration.

I was thinking to use the TransitionReceiver ([login to view URL]) to post to a server and only trigger the notification when the server responds with true. This can be true/false, 1/0, {"notification":true} or whatever is semantically correct and in line with this project. Of course there might be a better solution than the TransitionReceiver, that's up to the developer.

Additionally I'd like to be able to post extra data when adding the geofence. This extra data is optional, parsed with [login to view URL] and also posted to the server. A possible way to add the geofence could be (see "post" object):

[login to view URL]({

id: String, //A unique identifier of geofence

latitude: Number, //Geo latitude of geofence

longitude: Number, //Geo longitude of geofence

radius: Number, //Radius of geofence in meters

transitionType: Number, //Type of transition 1 - Enter, 2 - Exit, 3 - Both

notification: { //Notification object

id: Number, //optional should be integer, id of notification

title: String, //Title of notification

text: String, //Text of notification

smallIcon: String, //Small icon showed in notification area, only res URI

icon: String, //icon showed in notification drawer

openAppOnClick: Boolean,//is main app activity should be opened after clicking on notification

vibration: [Integer], //Optional vibration pattern - see description

data: Object //Custom object associated with notification


post: { //Post to server in background when hitting geofence (optional, Android only)

url: String, //The url which is posted to

timeout: Integer, //Defaults to 0. Milliseconds the Java code waits with executing the notification after the post is done (if server responded with true)

notificationOnError: Boolean, //Defaults to false. Should the notification be triggered when the server responds with an error (404, 500)?

data: Object //Optional custom object associated with post, parsed with [login to view URL] and sent to server with "data" parameter


}).then(function () {

[login to view URL]('Geofence successfully added');

}, function (reason) {

[login to view URL]('Adding geofence failed', reason);


Required skills: a little bit hybrid development (Js, Cordova, Ionic/Phonegap) and Java

Evner: Android, Ionic Framework, Java

Se mere: client server android application source code java, java code backup android contacts, convert android code java work, code generator android java, quiz source code java android, code java gallery android, car racing game code java android, interface android existing java, quiz java android code project, modify android existing code, flash media server camera android, server chat android, chat server client android, rtmp server connection android, java code port android, server multiplayer android game, java android source code image detection, stream server iphone android, server environment android, android upload http post, android upload http post php, upload file using http post android, share data server client android, server settings proces form mail post, server client android

Om arbejdsgiveren:
( 0 bedømmelser ) Porvorim, India

Projekt ID: #12538387

7 freelancere byder i gennemsnit ₹18730 på dette job


Hi there, I’d like to be considered for your job position. I’m a Software Developer with a strong background developing android & web application. I can turn your requirement in a way that represents your brand and Flere

₹41111 INR in 3 dage
(20 bedømmelser)

*-->Dear Hiring Manager, WE ARE HAPPY TO WORK ON THIS PROJECT. PLEASE CHECK OUR WORK. We have 10 years experience with various technical fields like Software Architecture,Product Development,Algorithm Trading, Thr Flere

₹40000 INR in 32 dage
(18 bedømmelser)

Hello Hiring Manager, I read your job descriptions carefully, I am very interesting in your job. I have developed apps such as Social networking & lifestyle(Tinder style dating, chatting, sharing), Food & drink(R Flere

₹16666 INR in 15 dage
(16 bedømmelser)

Dear Sir/Madam I have been in this industry for 5 years, i have an talented team and such jobs are our daily practice. I can complete your project on time and within your budget. I have worked on similar projects Flere

₹5000 INR in 3 dage
(6 bedømmelser)

Dear Client, Greeting of the day ahead !!! Thanks for providing us opportunity to place bid over the project and communicate with you. I am a serious bidder here and i have already worked on a similar project befor Flere

₹8333 INR in 6 dage
(0 bedømmelser)

I have already done inhouse project of my company related to geofencing using the data from i can complete this project in time

₹11111 INR in 6 dage
(0 bedømmelser)

A proposal has not yet been provided

₹8888 INR in 2 dage
(0 bedømmelser)