Cache visit log for geocahing.HU

Attila Bierbaum shared this question 2 months ago
Answered

Hello.

We have an addon for displaying caches from geocaching.hu. Now we made a restapi(post) endpoint for logging the findings.

Is it possible to determine a different post url for GeocachingData.CACHE_SOURCE_GEOCACHING_HU to logging in locus "log visit" function?


thanks a lot

Comments (6)

photo
1

Good day Attila,

what exactly you wants from Locus Map to do? To directly log a caches on your web server over already existing logging solution? It is very tightly attached to Groundspeak API system, so it may be a problem. Is your add-on able to also log a caches or Locus Map should do it?

Menion

photo
1

thanks for your reply

My addon download caches via perodicupdatereceiver

I would like to send a post request from LocusMAP's log visit function to our server's API endpoint

see attached

thanks

photo
1

I'm thinking how this should work. What you need is some special workflow, like


  • User tap on highlighted "log visit" button
  • Instead of choises online/offline, it directly starts offline logging
  • After confirmation of log, app notify add-on that certain log was created
  • Add-on sends log on web server

Right? This is an almost impossible task without any really tight modifications made especially for your add-on.

We already have public API how to work with field notes, check this helper class: https://github.com/asamm/locus-api/blob/master/locus-api-android/src/main/java/locus/api/android/features/geocaching/fieldNotes/FieldNotesHelper.java

I'm thinking about possible workflow:

Does it make sense to you? Maybe you with above information may get any other useful idea how to solve it?

photo
1

for first sight it is a bit difficult to me :DI'll try to understand your guide

thanks

photo
1

Good evening Attila,


any progress about your implementation? As I read my previous post, it seems to be really quite complicated. Were you able to figure out some usable solution?

Menion

photo
1

hello


I didn't event got enough spare time for this "project" :(