Checking the output

To check our output, first, run the server from the Social_Network Spring project. Then you can run two different emulators or Android devices as client users.

Now open the Android app. Click the New Member? button to create a new account. Fill in all the required details and click the Registration button:

If the username is already taken, then it will alert you like this:

Now if you press the Profile button, the second left on the toolbar, you will see the Profile details. If you press the Update button, the top-left icon of the toolbar, your post will update, as you can see in the following screenshot:

Click on any post and you will see the specific post, and you can add a comment using the Fab button:

We are at end of this long journey. Now your client application is ready to use. Here you can post a status, see the posted status, check the details of the post, and put comments on that post. We have shown you how to use the server and handle the resources from the server in an Android application. You can find some minor functions and layouts on GitHub that may be helpful with this application. We recommend you create another application with your own imagination and deploy it. That will be more effective, and you can learn more about what you want to learn. There are lots of alternative ways to handle HTTP requests, and so you can learn more. If you want to learn more, have a look at the Further reading section.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.37.191