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.
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).
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.
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.
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.