/book-app

:closed_book: :iphone: A mobile application that queries Google books api to get the author of the book provided and the name of the book

Primary LanguageJava

book-app

A mobile application that depicts the use of Async Task in android. In this project we decided to query the Google books api to get result of author of a particular book based on the name of the book provided by the user.

Get started

  1. Download zip file or git clone https://github.com/olajhidey/book-app.git/
  2. Navigate to folder and then open with Android studio
  3. Run application.

Overview

The mobile application consist of an editText that collects the information concerning the book (Book name) then we take the query name and pass to our Google Books api which then provide us with possible authors of the book. But as at this time we decided to only show the first result from our response code.

The use of AsyncTask was very vital. Has it was used to load our NetworkUtils class which contains the operations to load the data from the internet it loaded it using the loadInBackground and the onPostExecute to get the result from the doInBackground method. Then appended the result to the textview in the scrollview. See screenshot below

Screenshot

Reference