How to find another application

I am trying to create an application to receive stocks from a StumbleUpon application. I can, at the moment, get the "share url" browser, but when sharing with StumbleUpon my application does not appear in the list.

I think that I may not have registered the correct intentions in the manifest. Is there a way to find what this app does?

Thanks.

+4
source share
1 answer

You can get some intent information from logcat. When I shared with StumbleUpon, I noticed this in the log:

12-08 19:01:18.915: I/ActivityManager(139): Starting activity: Intent { act=android.intent.action.SEND typ=text/plain flg=0x3000000 cmp=com.google.android.gm/.ComposeActivityGmail (has extras) } from pid 4213 

From this, I was able to get the application that appears in the StumbleUpon share list with the following filter:

 <intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="text/plain"/> </intent-filter> 
+2
source

Source: https://habr.com/ru/post/1384337/


All Articles