Created
May 17, 2012 15:34
-
-
Save vanhoefm/2719669 to your computer and use it in GitHub Desktop.
WhatsApp Self Verification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
paramSmsManager.sendDataMessage( | |
(String)localObject1, // Destination address: Phone number entered by the user | |
null, // Source address: null means the current default SMSC is used | |
A, // Destination port: Random number between 16000 and 16099 | |
paramString.getBytes(), // Data: "WhatsApp <code> WhatsApp internal use - safe to discard" | |
(PendingIntent)localObject2, // Sent Intent: Not important for this discussion | |
null // Delivery Intent: Not important for this discussion | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment