Bad Guys - Android: how steal SMS messages

This is the second part of "Bad Guys - Android", you can find the first article here

The code speaks for itself, so I will not give explanations!

Requirements:
- Need to know how to program Android and Java
- Android Studio
- Malicious web Server

Let's see the finished code:
activity_main.xml
image

AndroidManifest.xml
image

MainActivity.java
image

image

image

image

Let's make apk file and download it to your android device; this app shows SMS, but meanwhile sends
all SMS messages to my malicious web server!

data.php
image

Users should be careful to read the permissions of the app!

Study hard :)