charitha 7 years ago
parent 58d6611076
commit 609857f624

@ -74,8 +74,8 @@ public class EventReceiverServiceImpl implements EventReceiverService {
JsonObject jsonObject = gson.fromJson(eventPayload, JsonObject.class); JsonObject jsonObject = gson.fromJson(eventPayload, JsonObject.class);
Object payload[] = { Object payload[] = {
jsonObject.get(TIME_STAMP).getAsLong(), jsonObject.get(TIME_STAMP).getAsLong(),
jsonObject.get(LONGITUDE).getAsDouble(), jsonObject.get(LATITUDE).getAsDouble(),
jsonObject.get(LATITUDE).getAsDouble() jsonObject.get(LONGITUDE).getAsDouble()
}; };
try { try {
if (AndroidAPIUtils.getEventPublisherService().publishEvent( if (AndroidAPIUtils.getEventPublisherService().publishEvent(

Loading…
Cancel
Save