Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
346 views
in Technique[技术] by (71.8m points)

android - Samsung browser - how to add app in Share menu

I have noticed with the Samsung browser, when you hold the image, there is a "Visit" and "Shared" icon that pops up.

Note: this question is just for the Samsung browser, Chrome doesn't show these icons, and works fine.

So I see the major apps, such as facebook. How do I get my app to appear in there?

enter image description here

I have added the Intent in the Activity

  <activity
        android:name=".ui.activities.MessageReceiverActivity"
        android:label="@string/app_name"
        android:theme="@style/AppTheme">
        <intent-filter>
            <action android:name="android.intent.action.SEND" />
            <category android:name="android.intent.category.DEFAULT" />
            <data android:mimeType="text/plain" />
        </intent-filter>
        <intent-filter>
            <action android:name="android.intent.action.SEND" />
            <category android:name="android.intent.category.DEFAULT" />
            <data android:mimeType="*/*" />
        </intent-filter>
    </activity>
question from:https://stackoverflow.com/questions/65892014/samsung-browser-how-to-add-app-in-share-menu

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...