Mapping and GIS Solutions Community

 View Only
Expand all | Collapse all

To Mock or Not Mock - That is the Question. Android use with TMM and ESRI apps

  • 1.  To Mock or Not Mock - That is the Question. Android use with TMM and ESRI apps

    Posted 03-22-2024 09:26

    Hello Trimble,

    With latest TMM version 4.0.0.1923 testing on Samsung Android Tab3 tablets (and Samsung Galaxy S+22 phones), there are 3 ESRI mobile apps (QuickCapture, Survey 123 and Field Maps).  Can you inform us which one, or possibly all 3 are we to disable or enable MOCK location before initiating TMM?  Another question then would be is closing TMM prior to launching any of the 3 apps a requirement or not.

    Testing on control, and not getting the true accuracy results as displayed in either TMM or GPS "Accuracy" in the apps. So, chasing the core question - to Mock or NOT to Mock and using the "internal" receiver in each of these apps would be great to have your TMM folks tell us what is best practice.   

    Appreciate your time in this matter.   



    ------------------------------
    Joel Cusick
    ------------------------------


  • 2.  RE: To Mock or Not Mock - That is the Question. Android use with TMM and ESRI apps

    Posted 03-24-2024 14:14

    Hi Joel,

    Both Survey123 and QuickCapture use Mock Location on Android, so you should select TMM as the Mock Location provider in your Android developer options. You should also ensure that TMM is running and connected to the receiver of course.

    Field Maps integrates to the receiver directly, and uses TMM for setting of GNSS options like corrections and coordinate systems. You can leave TMM running at all times, not connected to the receiver, when using Field Maps.

    Field Maps reads the TMM GNSS configuration when it sets up the connection to the receiver, so if you want to change these settings you can change to Internal GNSS in Field Maps, flip to TMM and change your GNSS settings, then go back to Field Maps and select your Trimble receiver again. 

    I hope that's clear, feel free to reach out to me directly.

    Best Regards,



    ------------------------------
    Mark Kellaway
    ------------------------------



  • 3.  RE: To Mock or Not Mock - That is the Question. Android use with TMM and ESRI apps

    Posted 03-25-2024 12:55
    Thanks Mark,
    As always, excellent description.   

    You can understand how confusing this can get with one app (field maps never use Mock on Android) while the other two - QuickCapture and Survey 123 you do engage Mock Locations.   If you (Trimble) could suggest ESRI program the other two apps with Trimble's TPSDK, it would be beneficial.

    Currently working on a potential datum bust in QuickCapture, and had to hear it formally from you that Mock Locations is still a requirement.   

    You can close this out as answered.

    Thanks again.


    Joel Cusick
    GIS Specialist
    Region 11 - Alaska Regional Office





  • 4.  RE: To Mock or Not Mock - That is the Question. Android use with TMM and ESRI apps
    Best Answer

    Posted 03-25-2024 14:10

    Thanks Joel! We're regularly talking to the folks at Esri and I'll be sure to pass your feedback along.

    Best regards,

    Mark.



    ------------------------------
    Mark Kellaway
    ------------------------------



  • 5.  RE: To Mock or Not Mock - That is the Question. Android use with TMM and ESRI apps

    Posted 04-14-2024 13:39

    Hi Mark,

    See this post.  Datum shift in ESRI QuickCapture | Mapping and GIS Solutions Community (trimble.com)

    It would be great to talk to the team handling QuickCapture and Survey123.  I've posted some test results to the Ideas forum for Quick Capture.



    ------------------------------
    Joel Cusick
    ------------------------------



  • 6.  RE: To Mock or Not Mock - That is the Question. Android use with TMM and ESRI apps

    Posted 04-14-2024 18:19

    Hi Joel,

    I have passed your feedback, and links to the posts, to some of our contacts at Esri.

    Best regards,

    Mark.



    ------------------------------
    Mark Kellaway
    ------------------------------



  • 7.  RE: To Mock or Not Mock - That is the Question. Android use with TMM and ESRI apps

    Posted 10 days ago

    Hi Mark,

    It appears that to make an initial connection between TMM and a Trimble R1 for the first time,  Mock Location must be set to TMM.  My tests reveal no connection is possible until MOCK is set.   

    It is then prudent therefore once a connection is made, settings are complete to turn MOCK off for Field Maps?  Is this true?  Closing TMM on an Android - is that the same as turning Mock to Nothing?

    Sorry to belabor this point.   I was hoping to keep Mock location off when the first connection was made to a fresh device, but does not appear to be the case. 

    Thanks for your time.  Joel



    ------------------------------
    Joel Cusick
    ------------------------------



  • 8.  RE: To Mock or Not Mock - That is the Question. Android use with TMM and ESRI apps

    Posted 10 days ago

    Hi Joel,

    There should be no relationship between Mock Location and receiver connectivity in TMM, and all our use/testing here confirms this. If you're not pairing to the R1 from inside TMM it might be worth pairing directly from the Android Bluetooth settings window first to see if that addresses the issue. If TMM is not running or not connected to a receiver then Android will use whatever other information it has to hand for the position, how that position is handled depends on how the calling app 'talks' to Location Services.
    I'm not sure I understand your question regarding Field Maps and Mock Locations, Field Maps doesn't feed Mack Locations, and in the Field Maps + Trimble scenario will talk to the receiver directly.

    If this is causing any concern I'd be happy to jump on a call for a chat.

    Best regards,

    Mark.



    ------------------------------
    Mark Kellaway
    ------------------------------



  • 9.  RE: To Mock or Not Mock - That is the Question. Android use with TMM and ESRI apps

    Posted 9 days ago
    Mark, I am going to chalk up my last question to stupidity on my part. I had another device paired to the R1 I was testing with TMM and that other device by chance powered off and bam,,,, I connected thinking mock on was culprit. 

    Back in the day this support call was followed by...' did you check the antenna cable?'  Ha. 

    Thanks for your support Mark!