Getting Started with the News+ API
masterTo develop a new extension for News+, follow these three steps:
- Import the API: Add the
reader-api-r1.jarfile to your Android project. - Implement the Extension: Create a new service class that extends the
ReaderExtensionclass. - Register the Service: Add a
<service>tag to yourAndroidManifest.xmlwith the required<intent-filter>and<meta-data>elements.
Once installed, your extension will appear in the News+ extension list (accessible by pressing the title in the action bar).
/* Step 1: Import reader-api-r1.jar into your Android project */