Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 2.78 KB

README.md

File metadata and controls

60 lines (46 loc) · 2.78 KB

Converter App

The Converter App is an Android application built using Java in Android Studio. This app offers a range of conversion tools, including unit conversion, currency conversion, BMI calculation, love calculation, CGPA/SGPA calculation, temperature conversion, and time conversion. It’s designed with a user-friendly interface and follows Material Design principles.

Features

  1. Unit Conversion: Convert between various units (e.g., length, weight, volume).
  2. Currency Conversion: Convert currencies with real-time exchange rates.
  3. BMI Calculator: Calculate Body Mass Index based on height and weight.
  4. Love Calculator: Simple fun feature to calculate compatibility.
  5. CGPA and SGPA Calculator: Calculate CGPA, SGPA, and percentage.
  6. Temperature Converter: Convert between Celsius, Fahrenheit, and Kelvin.
  7. Time Conversion: Convert between different time units (seconds, minutes, hours).
Demo

Dependencies

This project uses several libraries to enhance the UI and functionality:

  • CardView: Used for presenting content with cards.
    implementation 'androidx.cardview:cardview:1.0.0'
  • RecyclerView: Used for displaying lists and grids of data.
    implementation 'androidx.recyclerview:recyclerview:1.2.1'
    
  • Material Design Components: Provides modern UI components based on Material Design.
    implementation 'com.google.android.material:material:1.5.0'
    

Getting Started

Prerequisites

  • Android Studio: Download and install Android Studio.
  • Java SDK: Ensure you have Java SDK installed (Android Studio manages this automatically for most users).

Installation

  1. Clone the Repository:
    git clone https://github.com/dilip12git/converter_android_app.git
    cd converter_android_app
  2. Open in Android Studio:
    • Open Android Studio and select Open an Existing Project.
    • Navigate to the cloned directory and open it.
  3. Sync Project with Gradle Files:
    • Android Studio should automatically prompt you to sync Gradle files.
  4. Run the App:
    • Connect an Android device or use an emulator.
    • Click on the "Run" button in Android Studio.

Navigation and UI

The app uses a RecyclerView to display lists of options for each converter type. Here's an example of setting up a RecyclerView adapter in Java:

recyclerView = findViewById(R.id.recycler_view); // Initialize RecyclerView
recyclerView.setLayoutManager(new GridLayoutManager(this,2));
recyclerView.setAdapter(adapter);