Search book contents

om.google.zxing.client.android.SEARCH_BOOK_CONTENTS

Use Google Book Search to search the contents of the book provided.

Intent specific extras: ISBN: The book to search, identified by ISBN number. QUERY: An optional field which is the text to search for.

Use

public void startSearchBookContents(String isbn, String query) {
    Intent intent = new Intent("om.google.zxing.client.android.SEARCH_BOOK_CONTENTS"); 
    intent.putExtra("ISBN", isbn); // String
    intent.putExtra("QUERY", query); // String
    if (intent.resolveActivity(getPackageManager()) != null) { 
        startActivity(intent);
    }
}

Example intent filter

<activity ...>
    <intent-filter>
        <action android:name="om.google.zxing.client.android.SEARCH_BOOK_CONTENTS" />
        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
</activity>
            

Apps Providing an Implementation

Search on Github

Search on Google Play, AppBrain, Amazon App store or similar (not yet available - please make this happen!)

For Specification Writers

Edit on Github