Page 1 of 1

BUTTON: Send multiple files to WhatsApp

Posted: 2020-05-13, 20:10 UTC
by endigo
Hi,
I want to create a BUTTON to send MULTIPLE files to WhatsApp.

I use following button settings:
Function type: Send to app
Command: WhatsApp:com.whatsapp:.ContactPicker
(I chose WhatsApp from associated drop-down list)
Parameters: stream:%P%S

This doesn't work, WhatsApp says something like: "File format (file type) not supported".

What is the correct button-settings' syntax?
...
Remarks:
  • stream:%P%N works, but sends only the first selected file, as intended
  • Sending multiple files via context-menu using 'Send to app' command works fine.
Can you help me? :) Thanks
...
TC 3.0, Android 7.1.2

Re: BUTTON: Send multiple files to WhatsApp

Posted: 2020-05-14, 04:30 UTC
by AndiAndi
I need a solution on this one as well

Re: BUTTON: Send multiple files to WhatsApp

Posted: 2020-05-14, 10:05 UTC
by ghisler(Author)
I will have to check that in the debugger. In principle, the two should use the same method. Maybe there is a difference in the sent MIME type (file type).

Re: BUTTON: Send multiple files to WhatsApp

Posted: 2020-05-15, 09:34 UTC
by ghisler(Author)
Sorry, the reason is that you used the wrong parameter. Instead of
stream:%P%S
just use
list:
with nothing behind the colon. You could specify the extra name, but leaving out the name will automaticall use Intent.EXTRA_STREAM.

%P%S just inserts the path names separated by spaces, e.g.
/storage/emulated/0/file1.txt /storage/emulated/0/file2.txt

That's not what apps expect when receiving the "Send to multi" data.

Re: BUTTON: Send multiple files to WhatsApp

Posted: 2020-05-15, 19:42 UTC
by AndiAndi
That works perfect

Many thanks

Re: BUTTON: Send multiple files to WhatsApp

Posted: 2020-05-19, 21:19 UTC
by endigo
Thanks! Now it works.

By the way, GREAT APP!

Re: BUTTON: Send multiple files to WhatsApp

Posted: 2020-09-12, 12:03 UTC
by johnamaro
ghisler(Author) wrote: 2020-05-15, 09:34 UTC Sorry, the reason is that you used the wrong parameter. Instead of
stream:%P%S
just use
list:
with nothing behind the colon. You could specify the extra name, but leaving out the name will automaticall use Intent.EXTRA_STREAM.

%P%S just inserts the path names separated by spaces, e.g.
/storage/emulated/0/file1.txt /storage/emulated/0/file2.txt

That's not what apps expect when receiving the "Send to multi" data.
I have try this method on Whatsapp third-party app which name is WhatsApp - plus but this doesn't work on this mod app can you please assist me about this Whatsapp - plus and if you want to anything about this you read this https // gbapps - net




Edit by moderator:
This user posts all over the net advertisement for this app, hidden behind bug reports.
Link disarmed, post locked.

Re: BUTTON: Send multiple files to WhatsApp

Posted: 2020-09-13, 07:06 UTC
by ghisler(Author)
Try sending content: URLs instead of file: URLs. The parameter would then be:
list:content:

If this doesn't work either and you are on Android 10 or newer, try forcing file: URLs:
list:file:

Re: BUTTON: Send multiple files to WhatsApp

Posted: 2020-10-19, 08:00 UTC
by scottwlff
endigo wrote: 2020-05-13, 20:10 UTC Hi,
I want to create a BUTTON to send MULTIPLE files to WhatsApp.https://gb-SPAM-apps.net/gb-SPAM-whatsapp-apk/ <<< here the added SPAM


I use following button settings:
Function type: Send to app
Command: WhatsApp:com.whatsapp:.ContactPicker
(I chose WhatsApp from associated drop-down list)
Parameters: stream:%P%S

This doesn't work, WhatsApp says something like: "File format (file type) not supported".

What is the correct button-settings' syntax?
...
Remarks:
  • stream:%P%N works, but sends only the first selected file, as intended
  • Sending multiple files via context-menu using 'Send to app' command works fine.
Can you help me? :) Thanks
...
TC 3.0, Android 7.1.2
Have you tried sharing multiple files via broadcast? If not, try it out.

How to use Broadcast Lists in WhatsApp

Read more at:
https://www <dot> gadget # snow <dot> com /how-to/how-to-message-multiple-wa-users-without-creating-group/
articleshow/6111112697.cms?



- - - Edit by moderator:
Quoted text from above , but with added hidden URL in [size =4] (do you spot it?) >> User banned
Please help us and report such posts (see the [!] button) if you find them on browsing the forum, thanks.
 

Re: BUTTON: Send multiple files to WhatsApp

Posted: 2020-10-20, 15:14 UTC
by ghisler(Author)
Try using:
list:
and alternatively
list:content:
without any parameters behind them.