Android Question add my application to the Android "Share Via" menu

RichyK68

Active Member
Licensed User
Longtime User
Hi, I'm trying to get my application into the Android "Share Via" menu for images, I've tried lots of examples from online and it still won't appear in the list. I even tried this post:

http://www.b4x.com/forum/basic4android-updates-questions/9616-share-gallery.html#post53281

but my application still refuses to appear in the Share Via menu.

My manifest currently looks like this (from the B4A IDE):

'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: Manifest Editor
AddManifestText(

<uses-sdk android:minSdkVersion="4" />

<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />

<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="image/*" />
</intent-filter>

)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.

I thought that sharing my app might be easier than trying to find a way to get contentchooser to let the user pick multiple images, but neither method is working for me.

Any advice?

Cheers,

Richard
 

bgsoft

Well-Known Member
Licensed User
Longtime User
Please, you could put a small example?

Thank you
 
Upvote 0

bgsoft

Well-Known Member
Licensed User
Longtime User
Thanks Erel
 
Upvote 0
Top