WhatsApp Library
Version: 1.1
This is a wrapper for this Github-project.
WhatsApp
Author: Devil-App
Version: 1.1
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
Version: 1.1
This is a wrapper for this Github-project.
Author: Devil-App
Version: 1.1
- Whatsapp
Fields:- AUDIO_TYPE As Int
- IMAGE_TYPE As Int
- VIDEO_TYPE As Int
- 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","info@devil-app.com"</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>
- 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
Last edited: