RenewGen is a comprehensive Android application designed to educate users about renewable energy sources and facilitate sustainable energy solutions. The app provides detailed information about various renewable energy technologies including Solar, Wind, Hydro, Geothermal, Biomass, and Wave energy, along with practical tools for energy management and community engagement.
- Comprehensive Coverage: Detailed information about 6 major renewable energy sources
- Interactive Learning: Overview, Technology, Production, Efficiency, and Impact sections for each energy type
- Visual Content: Rich graphics and illustrations explaining complex concepts
- Statistics & Facts: Up-to-date data on global renewable energy trends
- AI-Powered Chat: Integrated chatbot for energy-related queries using ReGen AI
- GPS Integration: Location-based services for energy resource mapping
- Real-time Tracking: Order and delivery tracking for energy products
- Multi-language Support: Available in English, Hindi, Spanish, and French
- Social Platform: Community forums and discussion boards
- E-commerce: Purchase renewable energy products and services
- Payment Integration: Secure payment processing with multiple options
- Feedback System: User feedback and rating system
- Firebase Authentication: Secure login and registration
- Profile Management: User profiles with customizable settings
- Notifications: Push notifications for updates and alerts
- Privacy Controls: Comprehensive privacy policy and data protection
- Language: Kotlin
- Platform: Android (Min SDK 24, Target SDK 34)
- Architecture: MVVM with View Binding
- UI: Material Design 3, ConstraintLayout, GridLayout
- Database: Room Database for local storage
- Networking: Retrofit with Gson converter
- Authentication: Firebase Auth with UI
- Backend: Firebase Firestore, Firebase Analytics
- Location: Google Play Services Location
- Charts: MPAndroidChart for data visualization
- Barcode: ZXing for QR code scanning
- WebRTC: Real-time communication capabilities
- Build System: Gradle with Kotlin DSL
- Dependency Management: Version Catalogs (libs.versions.toml)
- Code Quality: ProGuard for release builds
- Testing: JUnit, Espresso for unit and UI testing
- Android Studio Arctic Fox or later
- JDK 11 or higher
- Android device or emulator with API level 24+
-
Clone the repository
git clone https://github.com/your-username/RenewGen.git cd RenewGen -
Open in Android Studio
- Launch Android Studio
- Select "Open an existing Android Studio project"
- Navigate to the cloned directory and select it
-
Configure Firebase
- Create a Firebase project at Firebase Console
- Add your Android app with package name
com.example.re - Download
google-services.jsonand place it inapp/directory - Enable Authentication, Firestore, and Analytics in Firebase
-
Build and Run
- Sync project with Gradle files
- Build the project
- Run on device or emulator
- Launch the app
- Create an account or sign in with existing credentials
- Set your language preference
- Grant necessary permissions (Location, Notifications)
- Navigate through different energy categories
- Read detailed information and statistics
- View interactive charts and data visualizations
- Use the AI chat for specific queries
- Join discussions in community forums
- Share posts and connect with other users
- Access educational content and resources
- Browse renewable energy products
- Place orders with integrated payment system
- Track deliveries in real-time
- Provide feedback on purchases
app/
βββ src/main/
β βββ java/com/example/re/
β β βββ activities/ # Activity classes for different screens
β β βββ services/ # Background services (Tracking, Notifications)
β β βββ receivers/ # Broadcast receivers
β β βββ *Activity.kt # Main activity files
β βββ res/
β β βββ drawable/ # Icons, images, and vector graphics
β β βββ layout/ # XML layout files
β β βββ menu/ # Menu resources
β β βββ navigation/ # Navigation graph files
β β βββ values/ # Strings, colors, themes
β β βββ xml/ # Configuration files
β βββ assets/
β β βββ bot/ # AI bot resources
β β βββ knowledge/ # Knowledge base files
β βββ AndroidManifest.xml # App manifest
βββ src/test/ # Unit tests
βββ src/androidTest/ # Instrumentation tests
βββ build.gradle.kts # Module build configuration
- Debug: Development build with debugging enabled
- Release: Production build with ProGuard optimization
- Configure API keys in
local.propertiesfor development - Set up Firebase configuration for different environments
- Configure Google Maps API key for location services
We welcome contributions to RenewGen! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Follow Kotlin coding standards
- Write unit tests for new features
- Update documentation for API changes
- Ensure compatibility with minimum SDK version
This project is licensed under the MIT License - see the LICENSE file for details.
- Icons and graphics from Material Design Icons
- Educational content sourced from renewable energy research
- Open-source libraries and frameworks used in development
For support, email support@renewgen.com or join our community forum.
Made with β€οΈ for a sustainable future
