Add link to app, app not listed

eng3 shared this question 27 days ago
In Progress

In Locus, when I click "Add link to app", there is a message at the top "Since Android 11+ Locus Map is not allowed to recognize all apps in your device so the list may be incomplete" There is a refresh button that causes the list to become much longer, it seems to add system apps, but my app is not listed. I found this link https://medium.com/androiddevelopers/package-visibility-in-android-11-cc857f221cd9

What is locus querying for? Example: queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY)

Maybe my app can change its intent-filter category to match.

Or better yet, can we just bypass the list and give me an option to just specify the package name?

Replies (9)

photo
1

Hello,

package name of required application needs to be hardcoded in the app manifest. If you miss any app that may be useful in the Locus Map functions panel, just let me know.

photo
1

well, I'm using tasker app factory so the app name could be anything since I'm creating my own app.

The issue isnt just the display of the list of applications? I thought I could just provide the package name but you can't call another application unless it is hardcoded into the manifest?

When the list of apps pulls up, there are alot of apps on there, I assume you havent hardcoded all of those.

I'm basically trying to send and intent whenever track recording starts or stops so I created a tasker app to start recording and send my intent. And another app to stop recording and send my intent. I created custom apps so that I could add buttons to the function panel. It would be nice to be able to start/stop track recording from the main screen anyways like in locus 3 before the option was removed.

photo
1

Not all are hardcoded, but many yes.
There are two options how to get access to certain apps.

What we talk here about is thanks to the exactly known "package name".

The second option is to filter apps that satisfy certain intent filters. Does your app has any activity or service? If so, you may be able to add a custom intent filter.

Give a try to this and let me know if it works:


<intent>
 <action android:name="android.intent.action.VIEW" />
 <data android:scheme="geo" />
</intent>

photo
1

I'm using Tasker's App Factory to create an app from a Tasker Task

https://play.google.com/store/apps/details?id=net.dinglisch.android.appfactory&hl=en_US&pli=1

https://tasker.joaoapps.com/userguide/en/appcreation.html


So I'm reaching out to you and also them to see what I can do on either side to try to resolve this.

I'll check with them about adding a custom intent filter.


This is pretty simple so I suppose if I really want this bad enough I can open up android studio and write my own app.


"geo" is the scheme I need for it to show up on the list in locus? Are there any other's that might work?

photo
1

I'll try to get the appdev to add this.


The only reason I was using app factory is when I use the LocusTasker Addin, it allows me to directly execute tasker tasks but the button icon on the panel cannot be customized and more than one task would become ambiguous. It seems like this is a limitation on the Locus side.

When Locus adds a link to an app, it uses the App Icon image thus I have a way to customize the icon.

photo
1

i use locus tasker, i just have a task that then pops up a menu to acitvate otehr tasks as i have loads of tasks that are locus related....you could add icons etc as well....

photo
1

If rather be able to do one click which can be accomplished with regex.

I'm limited to two tasks with locus tasker but so far it's enough.


How do I change the icon?

photo
1

you cant change the icon using the tasker addon

but you can in a subsequent tasker driven popup menu.


what would be good, ive mentioend this idea before

is for locus to be able to add standard android shortcuts

that way a shortcut to contact quck message etc which would be syuitable when checking in with people

, or specific tasker task

shortcuts would achieve a great variety....

photo
photo
1

Hi guys,

not sure how I may help here. I personally do not use Tasker or TaskerFactory, so it is a little harder for me to fully understand the problem, sorry.

Just an quick idea > can here help a "Quick bookmark" functionality in the Locus Map, that on tap trigger "android.intent.action.VIEW" to specified uri? You may try a custom protocol here, registered in the intent handler of your app. Something like "myBestApp://open".

photo
1

i used teh quickbookmark , it worked, mostly because tasker has its own url feature for calling tasks...

this was quickly surpased by Falcos Addon....

Main issue is eng3 wants several different tasker tasks each with own icon...

photo
1

You can also activate tasks in Tasker by voice. To do this, you need a trigger—I'm using a remote control on my bike.

photo
1

some of my locus tasks i activate by various phone shakes, or pressing buttons on my watch... it is usefull to run things while not leaving the locus main screen

photo
photo
1

Was für eine Watch hast du

photo
1

Amazfit TRex

photo
Leave a Comment
 
Attach a file