(Source code introduction
// 1. Remote login (user name and password are more than 3 characters long, successful, you can set your own password on the server)
// 2. Including loading effect (multithreading, current event return data)
// 3. If the login is unsuccessful, you can prompt the reason for the error
// 4. Save the login information (such as user name and password, which can be set by yourself)
// 5. There are super complete and detailed comments (novices can understand)
//You can set it as your own UI library
//Note:
//1. The Android manifest file needs to be set
// & lt; activity android:name=& quot;. IndexPage& quot; android:label=" Page after login & quot& amp; gt;& amp; lt;/ activity& gt;& amp; lt; br/& gt;
// & lt; activity android:name=& quot;. Register& quot; android:label=" Register & quote& amp; gt;& amp; lt;/ activity& gt;& amp; lt; br/& gt;
// & lt; uses-permission android:name=& quot; android. permission. INTERNET& gt; & amp; lt;/ & amp; permissions; gt;
//2。 You need to write a server servlet code)