Author Topic: Developer API to not control display  (Read 1035 times)

Offline trogdan

  • Newbie
  • *
  • Posts: 6
    • View Profile
Developer API to not control display
« on: December 13, 2012, 18:26:34 »
Menion,

I have an issue using the developer api.  It works great, however, anytime i send data to Locus, it automatically brings Locus activity to the front (big problem), centers the display on the new object draw, and zooms the map to fit the entire feature in the window.  

Is it possible to not have these automatically happen?  I would like Locus to remain in the background, and have the tracks and points update, but not have the Locus map move.  It makes it hard because I'm using it as a real-time display, so points and tracks are being added and updated in the background, and i can't move around the display because Locus is auto-zooming and panning.

edit
Looks like SendDataSilent will prevent LocusPro activity from being brought to the front, but it still centers and zooms on the new tracks, even when 'zoom lock' is selected in the Locus app.

edit
The call importFileLocus does not have a "silent" option. As a result, Locus pro always comes back to be the top activity, I can't interact with other apps while it's being updated in the background.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11783
  • Thanked: 409 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Developer API to not control display
« Reply #1 on: December 14, 2012, 17:40:58 »
Hello trogdan,
  I'll check reported issue on Google Code as main place for discuss about these stuff
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!