The News Application is an Android-based app that delivers the latest news headlines across multiple categories using a News API. Built with Java and XML in Android Studio, this app provides an intuitive interface for users to explore, read, and share real-time news.
- ποΈ Browse latest news headlines from various categories
- π Search functionality for customized news browsing
- π€ Share articles with others via social platforms
- π Opens full articles in web view
- π§ Category-based news (e.g., technology, sports, health, etc.)
- π Clean and minimal user interface
- Language: Java
- UI Design: XML
- IDE: Android Studio
- API: News API (e.g., NewsAPI.org)
- Networking: Retrofit / Volley (depending on implementation)
- JSON Parsing: Gson or standard parsing
news-application/ β βββ app/ β βββ java/com/example/newsapp/ β β βββ MainActivity.java β β βββ NewsAdapter.java β β βββ NewsModel.java β β βββ NewsService.java β β βββ ... β βββ res/ β β βββ layout/ # XML UI layouts β β βββ drawable/ # App icons and images β βββ AndroidManifest.xml βββ build.gradle βββ README.md
- Android Studio installed
- News API Key from https://newsapi.org
- Internet connectivity
-
Clone the repository:
git clone https://github.com/rishika712/news-application.git
-
Open the project in Android Studio.
-
Add your News API key:
Navigate to NewsService.java or relevant API call file.
Replace "YOUR_API_KEY" with your actual API key.
-
Build and Run:
Connect an Android device or use an emulator.
Click Run
βΆοΈ from Android Studio.
This project is licensed under the MIT License.