Discussions

 View Only
  • 1.  Possible to Create a button to record the GPS location?

    Posted 05-04-2023 14:43

    Is there any way to have a button, that when pushed takes the GPS location of the mobile device, and records it into a field? Just got that request, and I dont even know where to start.



    ------------------------------
    Mike Tamoush
    ------------------------------


  • 2.  RE: Possible to Create a button to record the GPS location?

    Posted 05-04-2023 20:55

    Kirk Trachys Magic Buttons has an example of this, but the example doesnt work. Anyone smart enough to read his code page and decode the error?



    ------------------------------
    Mike Tamoush
    ------------------------------



  • 3.  RE: Possible to Create a button to record the GPS location?

    Posted 05-05-2023 07:24

    His Son Sam Trachy took over his Office Hours course. go to this link Office Hours | Quickbase 
    If anyone can help you he can. He has a course every weekday



    ------------------------------
    Michael Hall
    ------------------------------



  • 4.  RE: Possible to Create a button to record the GPS location?

    Posted 05-05-2023 07:36

    Its also here on his YouTube channel  Kirk Trachy - YouTube



    ------------------------------
    Michael Hall
    ------------------------------



  • 5.  RE: Possible to Create a button to record the GPS location?

    Posted 05-05-2023 07:38

    https://youtu.be/HLPkp-SFZnE



    ------------------------------
    Mark Shnier (Your Quickbase Coach)
    mark.shnier@gmail.com
    ------------------------------



  • 6.  RE: Possible to Create a button to record the GPS location?

    Posted 05-05-2023 10:21

    Thanks all! Looks like the app in the video no longer exists, and the code has been slightly modified and added into magic buttons. The code seems to no longer work, so I will fuss with it, and also I signed up for office hours on Monday and will ask Sam if he can find the bug!



    ------------------------------
    Mike Tamoush
    ------------------------------



  • 7.  RE: Possible to Create a button to record the GPS location?

    Posted 05-05-2023 10:43

    As a follow up, it looks the the original video hard codes things like the app token, table ID, and field IDs, then grabs those variables from the button push. I went back to hard coding like the video, hoping this was the issue. Unfortunately, still does not work hard coded. My theory is the google link it is using is defunct, but hopefully it is just user error.



    ------------------------------
    Mike Tamoush
    ------------------------------



  • 8.  RE: Possible to Create a button to record the GPS location?

    Posted 05-08-2023 14:04

    Update:

    Got a new code page during office hours that allows this functionality to work. Sadly, code pages do not work on mobile, which is really where you would want this GPS functionality. I think it may work if you use the browser version of Quickbase, but that is not really applicable in my case. Still coming up with a better solution.

    One suggestion is to use the 'get my address' function of mobile and turn that into a latitude and longitude, but I am not sure how I would do that.



    ------------------------------
    Mike Tamoush
    ------------------------------