The support forum is temporarily read-only. For urgent requests, please email contact[at]psyberia.net

[closed] Is there a complete list of android intents?

Any question about the app? Ask it here
Post Reply
nightcustard
Posts: 7
Joined: Tue Apr 21, 2020 1:22 pm

[closed] Is there a complete list of android intents?

Post by nightcustard »

Hi - I'm looking into the possibility of using the Android app Tasker to send intents to AlpineQuest Off-road Explorer (Vers. 2.2.4), primarily at this stage to see if I can display where my dog has run off to (!) on an off-line map (he's got an old phone on his harness for sending lat/long SMS messages).
I've searched Google which lead me the AQ forum and found a number of available intents in various threads - before I get to work on them, is there a list showing all available AQ intents and what they do?
Many thanks, Mike
nightcustard
Posts: 7
Joined: Tue Apr 21, 2020 1:22 pm

Re: Is there a complete list of android intents?

Post by nightcustard »

Maybe I should elaborate a little before someone kindly points out that there's a section covering intents in the online help. Yes, there is but the intents and extra listed differ from those discussed in the forum and there appears to be many fewer extras. Maybe my question should read: are the AQ intents limited to those listed in the online help or if are there others, is there a list and short description available? Apologies if it's a stupid question but one lives in hope๐Ÿ˜‰
Psyberia-Support
Site Admin
Posts: 6408
Joined: Wed Apr 14, 2010 9:41 pm

Re: Is there a complete list of android intents?

Post by Psyberia-Support »

Hi and sorry for the delay.
Right now unfortunately there is no clear online help page on intents supported by the application.
So I'm writing one now, but I'll only publish it after version 2.2.5 has been released because there will be some changes (should be in a few days).

But here is the intent that you would need:
Action:
  • "net.psyberia.intent.action.DISPLAY_LOCATION"
Extras:
  • "net.psyberia.intent.extra.TRACK_ID" (String): name of the track in which to save this point (for example "My dog").
  • "net.psyberia.intent.extra.SET_ID" (String): same, but if you want to save the location in a set (separate points) instead of in a track (path).
  • "net.psyberia.intent.extra.LONGITUDE" (double): WGS84 longitude.
  • "net.psyberia.intent.extra.LATITUDE" (double): WGS84 latitude.
  • "net.psyberia.intent.extra.ELEVATION" (double): WGS84 elevation in meter.
  • "net.psyberia.intent.extra.NAME" (String): name of the point (ignored if saved into a track).
  • "net.psyberia.intent.extra.COMMENT" (String): comment of the point (ignored if saved into a track).
  • "net.psyberia.intent.extra.DESCRIPTION" (String): description of the point (ignored if saved into a track).
  • "net.psyberia.intent.extra.ICON" (String): icon of the point (ignored if saved into a track).
Note that this feature is not intensively used and tested, so let me know if you see anything suspicious.
Do you like AlpineQuest ? Leave a small comment on Google Play !
nightcustard
Posts: 7
Joined: Tue Apr 21, 2020 1:22 pm

Re: Is there a complete list of android intents?

Post by nightcustard »

Many thanks for the comprehensive reply! I'll have a play ๐Ÿ˜ and let you know if I see anything odd. One immediate question: are the lat and long extras in d.m.s, decimal degrees or in whatever format is chosen in 'settings'? Cheers Mike
nightcustard
Posts: 7
Joined: Tue Apr 21, 2020 1:22 pm

Re: Is there a complete list of android intents?

Post by nightcustard »

Hi again - I've got the intent working, which is great and thanks for your help. Is there an intent to remove the previous marker, so only the latest position is shown? An alternative could be to delete the whole set of markers before closing AQ, I guess. Apologies if it's obvious! Cheers Mike
Psyberia-Support
Site Admin
Posts: 6408
Joined: Wed Apr 14, 2010 9:41 pm

Re: Is there a complete list of android intents?

Post by Psyberia-Support »

Hi again,
You can add this extra string (sorry I forgot it):
net.psyberia.intent.extra.MEM_ID = "My dog".

So each new point with this memory id will replace the previous one.
Do you like AlpineQuest ? Leave a small comment on Google Play !
nightcustard
Posts: 7
Joined: Tue Apr 21, 2020 1:22 pm

Re: Is there a complete list of android intents?

Post by nightcustard »

Excellent! I'll give it a shot - many thanks ๐Ÿ˜๐Ÿ˜๐Ÿ˜
nightcustard
Posts: 7
Joined: Tue Apr 21, 2020 1:22 pm

Re: Is there a complete list of android intents?

Post by nightcustard »

Excellent! I'll give it a shot - many thanks ๐Ÿ˜๐Ÿ˜๐Ÿ˜
Update: it works perfectly - just one point shown, which itself is deleted next time the same ID is used.
Hopefully one last question* - the ICON extra is a string parameter - how does this work? Is it the location of an icon file? What format should the icon file be?
* actually three questions ๐Ÿ˜‰
nightcustard
Posts: 7
Joined: Tue Apr 21, 2020 1:22 pm

Re: Is there a complete list of android intents?

Post by nightcustard »

Re. my last question about icons - please ignore, I read the help file and the answer was there ๐Ÿ™„
Psyberia-Support
Site Admin
Posts: 6408
Joined: Wed Apr 14, 2010 9:41 pm

Re: Is there a complete list of android intents?

Post by Psyberia-Support »

For information, I've created this help page on intents: https://www.alpinequest.net/en/help/v2/intents (as of version 2.2.5).
Do you like AlpineQuest ? Leave a small comment on Google Play !
Post Reply