Possible API/Intent Feature requests

Started by seanf711, April 15, 2015, 10:26:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

seanf711

I am with a Wilderness Search and Rescue group out of AZ,USA.  Quite a few of us use Orux for back country navigation.  I am also a software developer.  I have created an app to push data in to Orux, but I am seeing that for what I want to do that the API does not support everything.



  I have a need to push data in for multiple tracks.  As the data comes in, I would be adding to existing tracks.  If there was something like this:

        double[] targetLat = {32.20128, 32.20247, 32.202554};

        double [] targetLon = {-110.76152, -110.76706, -110.76206};

        Intent i = new Intent("com.oruxmaps.VIEW_MAP_ONLINE");



        i.putExtra("targetLatPoints", targetLat);

        i.putExtra("targetLonPoints", targetLon);

       i.putExtra("trackName", "Track 1");

        i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

        context.startActivity(i);



If there was something similar to what is shown in red, that would either create a track if there is not one already named that, and if there is already one by that name, it adds to the exiting track.



Next, for waypoints, would it be possible to add a flag that allows for the map to not jump to the newly created waypoint?



For anyone curious, I am building an app that bridges Orux and this app: https://aprsdroid.org/">https://aprsdroid.org/ .  



Thanks,

Sean

z3us

#1
Using these, would it be possible to integrate oruxmaps with tasker?

seanf711

#2
I think some people do you Tasker with Orux.  That is definitely not what I am trying to accomplish.  The intents are documented here:

http://oruxmaps.com/oruxmapsmanual_en.pdf">http://oruxmaps.com/oruxmapsmanual_en.pdf  on the last page.

seanf711

#3
I have also implemented a version that uses the Intent that allos for the loading of a gpx that I create on the fly.  I think it gives me what I would want to accomplish, but the dialog to select the gpx options comes up each time the gpx is refreshed.  If there was a flag for the intent Intent.ACTION_VIEW that allowed for the suppression of the dialog and to not recenter the map, it would give me what I am looking for.



thanks,

Sean