Jump to content
Registration disabled at the moment Read more... ×
KimHJ

Send image with mms

Recommended Posts

I'm trying to send a mms and what I found was that I had to use ActionList, I selected Media Library and ShowShareSheetAction.

Then I added this:

procedure TSMSForm.ShowShareSheetAction1BeforeExecute(Sender: TObject);
begin
     ShowShareSheetAction1.TextMessage := MessageMemo.Text;
     ShowShareSheetAction1.Bitmap.Assign(MainForm.Image1.Bitmap)
end;

 

I assume it would ask me how I want to send the message by giving me choices on the device. I still have to find out how to include the phone number.

 

When I execute the ShowShareSheetAction1 I get this error.

java.lang.illegalargumentexception couldn't find meta-data for provider with authority 

 

The app have all the permissions.

Intenet, Access media lcation, Read media images and Send sms.

 

Thanks for any help.

Share this post


Link to post
21 hours ago, KimHJ said:

java.lang.illegalargumentexception couldn't find meta-data for provider with authority 

For this issue, it's likely you need to enable Secure File Sharing in the Entitlement List of the Project Options.

 

As for targeting apps that can send MMS specifically, I don't see anything in the Delphi "built-in" code that supports this. I could extend the ShareItems feature in Kastri to cater for this, though. 

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×