An open API service indexing awesome lists of open source software.

https://github.com/khubaibkhan4/news-app


https://github.com/khubaibkhan4/news-app

Last synced: 29 days ago
JSON representation

Awesome Lists containing this project

README

          

# News-App

News-App for Android


This News-App for Android is built using the News API from newsapi.org. It allows you to browse and read news articles from various sources, search for news articles, and view detailed news articles.


Getting Started


To get started with the News-App for Android, follow these steps:



  1. Clone the repository to your local machine.

  2. Open the project in Android Studio.

  3. Build and run the app on an emulator or on your Android device.


Features


Browse News


The News-App for Android allows you to browse news articles from various sources. The app displays the headlines for the top news articles, and you can tap on a headline to read the full article.


Search News


The app also allows you to search for news articles based on keywords. To search for news articles, tap on the search icon in the top right corner of the app and enter your search query.


Check News Category Wise


The app allows you to view news articles by category, such as business, entertainment, health, science, sports, and technology. To view news articles by category, tap on the hamburger menu icon in the top left corner of the app and select the category you want to view.


View Detailed News


The app allows you to view detailed news articles, including the headline, source, author, description, and article content. To view a detailed news article, tap on a headline to open the article view.


API Key


To use the News API from newsapi.org, you will need to obtain an API key. Once you have obtained an API key, you can add it to the app by modifying the NewsApiService class in the services package.


Dependencies


The News-App for Android uses the following dependencies:



  • Retrofit: for making API requests

  • OkHttp: for handling HTTP requests and responses

  • Gson: for converting JSON data to Java objects

  • Glide: for loading and caching images


License


This project is licensed under the MIT License - see the LICENSE file for details.