Share Menu And Text

lymey

Active Member
Licensed User
Longtime User
Hi!

I have written an app that requires a login to send a message. I have successfully added it to the share menu using the manifest:

B4X:
<application
      android:icon="@drawable/icon"
      android:label="my-app">
      <activity
         android:windowSoftInputMode="stateHidden"
         android:launchMode="singleTop"
         android:name=".main"
         android:label="my_app"
         android:screenOrientation="unspecified">
         <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
         </intent-filter>
         <intent-filter>
    <action android:name="android.intent.action.SEND" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:mimeType="text/*" />
</intent-filter>
      </activity>

It shows up nicely in the share menu but when I select it the shared text doesn't seem to show up anywhere. The user may have to login first too.
Is there something I have to do in my app to 'accept' the text?

Thanks!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…