manithnuon / Demo-GoogleBook-Android

An android demo about searching and displaying books details using Google book api.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo-YouTuBe-Android


An android demo about searching and displaying books details using Google book api. You can set search condition.


Screenshot

The search result list.
search result list

Set search condition.
set search condition

Book detail
played by videoview


Get start

In the Search.java file:

  1. Replace the "YOURAPIKEY" with your api key .

  2. Replace the "YOURAPPLICATIONNAME" with your application name .

    public class Search {
    
    public static String apiKey = "YOURAPIKEY";
    
    private static Books books;
    
    static {
        books = new Books.Builder(HTTP_TRANSPORT, JSON_FACTORY, new HttpRequestInitializer() {
        public void initialize(HttpRequest request) throws IOException {
        }
    }).setApplicationName("YOURAPPLICATIONNAME").build();
    }
    
    ......
    

    }

About

An android demo about searching and displaying books details using Google book api.


Languages

Language:Java 100.0%