Question about identifying/using intents from app manifest!

86 views
Skip to first unread message

JC

unread,
Apr 15, 2020, 5:06:46 PM4/15/20
to Tasker
Hope everyone is doing well right now. I just got a Samsung Gear smartwatch and I would love to be able to send an intent through Tasker that activates the "Find My Watch" feature. 

I used logcat to find a number of possible intents that might work, but my knowledge of intents is so limited that I can't really seem to get anything to work.

Even simply trying to launch the app's home screen (using Action: android.intent.action.MAIN, Category: Launcher)  is not working, despite using a variety of possible package names for the app. Here is the first line of the manifest:

    <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="com.samsung.accessory.wmanager" android:versionCode="2120031361" android:versionName="2.2.30.20031361" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" package="com.samsung.android.app.watchmanager" platformBuildVersionCode="2120031361" platformBuildVersionName="2.2.30.20031361">
    <uses-sdk android:minSdkVersion="18" android:targetSdkVersion="28"/>


And here are the immediate items after the user permission declarations:

 <application android:label="@string/app_name" android:icon="@drawable/galaxy_wearables" android:name="com.samsung.android.app.twatchmanager.TWatchManagerApplication" android:testOnly="false" android:allowBackup="false" android:hardwareAccelerated="true" android:largeHeap="false" android:supportsRtl="true" android:resizeableActivity="true" android:networkSecurityConfig="@xml/network_security_config" android:appComponentFactory="android.support.v4.app.CoreComponentFactory">
        <activity android:theme="@style/TransActivityFullScreenWithActionbar" android:label="@string/app_name" android:name="com.samsung.android.app.watchmanager.setupwizard.SetupWizardWelcomeActivity" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
            <intent-filter>
                <action android:name="com.samsung.uhm.action.STEALTH_MODE"/>
                <action android:name="com.samsung.android.spv.ACTION_VIEW_DETAIL"/>
                <category android:name="android.intent.category.DEFAULT"/>
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.DEFAULT"/>
                <category android:name="android.intent.category.BROWSABLE"/>
                <data android:scheme="samsunggear" android:host="launch"/>
                <data android:scheme="galaxywearablefromqr" android:host="launch"/>
            </intent-filter>




I think that if I can at least get the main screen to show up/this intent to fire off correctly, I should be able to get the rest of it using Tasker's logcat. Any help is appreciated, thank you!








João Dias

unread,
Apr 16, 2020, 4:01:10 AM4/16/20
to tas...@googlegroups.com
Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance


--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/544c2210-f018-41e2-96b8-c5ef0ba7a357%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages