Mar 7, 2015 Replies: 54 WhatsApp Library Version: 1.1 This is a wrapper for this Github-project. WhatsApp Author: Devil-App Version: 1.1 Whatsapp Fields: AUDIO_TYPE As Int IMAGE_TYPE As Int VIDEO_TYPE As Int Methods: OpenChatWithNumber (phoneNumber As String) Open Chat with Number Example:<code> Dim whapp As WhatsApp whapp.OpenChatWithNumber("+39334336444")</code> createPhoneNumber (displayName As String, mobileNumber As String, email As String) This method create a contact. Example:<code> Dim whapp As WhatsApp whapp.createPhoneNumber("Devil","+393343365647","[email protected]"</code> existPhoneNumber (phoneNumber As String) As Boolean This method determines if a mobileNumber is a contact. Example:<code> Dim whapp As WhatsApp if whapp.existPhoneNumber("+393343365647") then MsgBox("Ok","msg")</code> isInstalled As Boolean This method determines if Whatssap are installed. Example:<code> Dim whapp As WhatsApp if whapp.isInstalled then MsgBox("Installed","Msg")</code> launchMarket This method go to Market. Example:<code> Dim whapp As WhatsApp whapp.launchMarket</code> shareMediaWithContact (uri As Uri, mediaType As Int) Share Media with Contact Example:<code> Example: shareMediaWithContact(Activity.this, uriMedia, IMAGE_TYPE); Example: shareMediaWithContact(Activity.this, uriMedia, AUDIO_TYPE); Example: shareMediaWithContact(Activity.this, uriMedia, VIDEO_TYPE); Dim whapp As WhatsApp whapp.shareMediaWithContact(uriMedia, whapp.VIDEO_TYPE)</code> shareTextWithContact (text As String) Share Text with Contact Example:<code> Dim whapp As WhatsApp whapp.shareTextWithContact("Hi...how are you")</code> Permissions: android.permission.READ_CONTACTS android.permission.SEND_SMS android.permission.WRITE_CONTACTS Example ( with mp4, mp3 example 3.7 Mb ) and so you can download here: Devil-App Library in attachment LAST REL 1.1 Bye Marco Attachments WhatsApp-Library.zip WhatsApp-Library.zip 4.2 KB · Views: 2,874 WhatsApp-Lib1.1.zip WhatsApp-Lib1.1.zip 4.3 KB · Views: 3,327 Whatsapp-Source.zip Whatsapp-Source.zip 6.8 KB · Views: 3,228 Last edited: Aug 17, 2017 Click to expand...
WhatsApp Library Version: 1.1 This is a wrapper for this Github-project. WhatsApp Author: Devil-App Version: 1.1 Whatsapp Fields: AUDIO_TYPE As Int IMAGE_TYPE As Int VIDEO_TYPE As Int Methods: OpenChatWithNumber (phoneNumber As String) Open Chat with Number Example:<code> Dim whapp As WhatsApp whapp.OpenChatWithNumber("+39334336444")</code> createPhoneNumber (displayName As String, mobileNumber As String, email As String) This method create a contact. Example:<code> Dim whapp As WhatsApp whapp.createPhoneNumber("Devil","+393343365647","[email protected]"</code> existPhoneNumber (phoneNumber As String) As Boolean This method determines if a mobileNumber is a contact. Example:<code> Dim whapp As WhatsApp if whapp.existPhoneNumber("+393343365647") then MsgBox("Ok","msg")</code> isInstalled As Boolean This method determines if Whatssap are installed. Example:<code> Dim whapp As WhatsApp if whapp.isInstalled then MsgBox("Installed","Msg")</code> launchMarket This method go to Market. Example:<code> Dim whapp As WhatsApp whapp.launchMarket</code> shareMediaWithContact (uri As Uri, mediaType As Int) Share Media with Contact Example:<code> Example: shareMediaWithContact(Activity.this, uriMedia, IMAGE_TYPE); Example: shareMediaWithContact(Activity.this, uriMedia, AUDIO_TYPE); Example: shareMediaWithContact(Activity.this, uriMedia, VIDEO_TYPE); Dim whapp As WhatsApp whapp.shareMediaWithContact(uriMedia, whapp.VIDEO_TYPE)</code> shareTextWithContact (text As String) Share Text with Contact Example:<code> Dim whapp As WhatsApp whapp.shareTextWithContact("Hi...how are you")</code> Permissions: android.permission.READ_CONTACTS android.permission.SEND_SMS android.permission.WRITE_CONTACTS Example ( with mp4, mp3 example 3.7 Mb ) and so you can download here: Devil-App Library in attachment LAST REL 1.1 Bye Marco
B b4auser1 Well-Known Member Licensed User Longtime User Mar 8, 2015 #4 WhatsApp slaps unofficial app users with permanent ban
luke2012 Well-Known Member Licensed User Longtime User Mar 12, 2015 #5 Thanks @MarcoRome ! Anyone have tried the library ?
MarcoRome Expert Licensed User Longtime User Mar 12, 2015 #6 Hi Luke, you can try download example here: EXAMPLE Bye Last edited: Sep 17, 2021
jsanchezc Member Licensed User Longtime User Mar 25, 2015 #8 Great work!!! I try to send text to contact but always open whatsapp contact list to choose.... i would like to send text direct to contact....
Great work!!! I try to send text to contact but always open whatsapp contact list to choose.... i would like to send text direct to contact....
MarcoRome Expert Licensed User Longtime User Mar 27, 2015 #9 jsanchezc said: Great work!!! I try to send text to contact but always open whatsapp contact list to choose.... i would like to send text direct to contact.... Click to expand... Hi jsanchezc. This library is a wrapper for this project Github-project. In this project isnt present this function "direct" Unfortunately there is no "direct call" as you desire, or rather it is not documented anywhere (i haven't found the same working). In any case, if you can find something working i can integrate it into the library.
jsanchezc said: Great work!!! I try to send text to contact but always open whatsapp contact list to choose.... i would like to send text direct to contact.... Click to expand... Hi jsanchezc. This library is a wrapper for this project Github-project. In this project isnt present this function "direct" Unfortunately there is no "direct call" as you desire, or rather it is not documented anywhere (i haven't found the same working). In any case, if you can find something working i can integrate it into the library.
Y yuval Member Licensed User Longtime User Aug 11, 2015 #10 thanks, is there a way to open a whatsApp group chat ?
MarcoRome Expert Licensed User Longtime User Aug 11, 2015 #11 yuval said: thanks, is there a way to open a whatsApp group chat ? Click to expand... No with this release. Maybe i can add this in future release.
yuval said: thanks, is there a way to open a whatsApp group chat ? Click to expand... No with this release. Maybe i can add this in future release.
scsjc Well-Known Member Licensed User Longtime User Aug 21, 2015 #12 Hello, very nice library, but i have a question.... why need : android.permission.SEND_SMS ??? i need only share image, and this permission is not very nice to people ( red alert displayed on screen before install ) thanks.
Hello, very nice library, but i have a question.... why need : android.permission.SEND_SMS ??? i need only share image, and this permission is not very nice to people ( red alert displayed on screen before install ) thanks.
MarcoRome Expert Licensed User Longtime User Aug 21, 2015 #13 scsjc said: Hello, very nice library, but i have a question.... why need : android.permission.SEND_SMS ??? i need only share image, and this permission is not very nice to people ( red alert displayed on screen before install ) thanks. Click to expand... You are right ... you have in attachment new version 1.1 without permission SEND_SMS.
scsjc said: Hello, very nice library, but i have a question.... why need : android.permission.SEND_SMS ??? i need only share image, and this permission is not very nice to people ( red alert displayed on screen before install ) thanks. Click to expand... You are right ... you have in attachment new version 1.1 without permission SEND_SMS.
scsjc Well-Known Member Licensed User Longtime User Aug 21, 2015 #14 MarcoRome said: You are right ... you have in attachment new version 1.1 without permission SEND_SMS. Click to expand... Thanks !!!!!!!!!!!!!!
MarcoRome said: You are right ... you have in attachment new version 1.1 without permission SEND_SMS. Click to expand... Thanks !!!!!!!!!!!!!!
MarcoRome Expert Licensed User Longtime User Aug 21, 2015 #15 scsjc said: Thanks !!!!!!!!!!!!!! Click to expand... Not at all. This more that big community is BIG FAMILY. Good work
scsjc said: Thanks !!!!!!!!!!!!!! Click to expand... Not at all. This more that big community is BIG FAMILY. Good work
scsjc Well-Known Member Licensed User Longtime User Aug 21, 2015 #16 MarcoRome said: Not at all. This more that big community is BIG FAMILY. Good work Click to expand... Yes of course, for me this community are the best place to developing anything. Thanks to all.
MarcoRome said: Not at all. This more that big community is BIG FAMILY. Good work Click to expand... Yes of course, for me this community are the best place to developing anything. Thanks to all.
Roberto P. Well-Known Member Licensed User Longtime User Jan 22, 2016 #17 I have a question for this interesting library: you think you can use this system to send bulk messages to contacts? such as sending commercial messages to customers of a shop without using sms? thank you
I have a question for this interesting library: you think you can use this system to send bulk messages to contacts? such as sending commercial messages to customers of a shop without using sms? thank you
MarcoRome Expert Licensed User Longtime User Jan 22, 2016 #18 Roberto P. said: I have a question for this interesting library: you think you can use this system to send bulk messages to contacts? such as sending commercial messages to customers of a shop without using sms? thank you Click to expand... Hi Roberto. I dont think. But anyway you have gateway SMS with very competitive prices
Roberto P. said: I have a question for this interesting library: you think you can use this system to send bulk messages to contacts? such as sending commercial messages to customers of a shop without using sms? thank you Click to expand... Hi Roberto. I dont think. But anyway you have gateway SMS with very competitive prices
Roberto P. Well-Known Member Licensed User Longtime User Jan 23, 2016 #20 Hello Marco Rome (Italy?) I did not understand when and how to send messages automatically without having to open the application? Basically, I would like to send the same message to a list of contacts. thank you roberto
Hello Marco Rome (Italy?) I did not understand when and how to send messages automatically without having to open the application? Basically, I would like to send the same message to a list of contacts. thank you roberto