So "OK Google Open MyApp" works just fine but I want it to do something.
I added
via the manifest editor but it still doesn't do anything
IF I say
"New Note" I am asked which app, and Gmail and Keep are displayed
"New Note with with Keep" will start a new note with Keep - same with Gmail
but "New Note with MyApp" and I am asked which app again, Gmail or Keep
I tried adding this to my manifest text taken from HERE
but I get:
When I compile.
Just adding this compiles:
But still doesn't open my app it asks Google or Keep.
Thanks in advance for any help.
I added
B4X:
AddReceiverText(SWAddNote,
<intent-filter>
<action android:name="com.google.android.gms.actions.CREATE_NOTE" />
</intent-filter>)
via the manifest editor but it still doesn't do anything
IF I say
"New Note" I am asked which app, and Gmail and Keep are displayed
"New Note with with Keep" will start a new note with Keep - same with Gmail
but "New Note with MyApp" and I am asked which app again, Gmail or Keep
I tried adding this to my manifest text taken from HERE
B4X:
<intent-filter>
<actionandroid:name="com.google.android.gms.actions.CREATE_NOTE"/>
<categoryandroid:name="android.intent.category.DEFAULT"/>
<dataandroid:mimeType=”*/*”>
</intent-filter>
but I get:
B4X:
Generating R file. Error
AndroidManifest.xml:18: error: Error parsing XML: not well-formed (invalid token)
Just adding this compiles:
B4X:
<intent-filter>
<action android:name="com.google.android.gms.actions.CREATE_NOTE" />
</intent-filter>
But still doesn't open my app it asks Google or Keep.
Thanks in advance for any help.