An Application made with Android Studio that utilized National Renewable Energy Laboratory (PV Watts) API to detect nearby utility companies and electricity rates.

Related tags

App ElectricApp
Overview

Electric App

Electric App is a mobile application made on Android Studio that utilized the National Renewable Energy Laboratory (PV Watts) API to detect nearby utility companies and electricity rates.

Authors

Demo

Will insert soon, my AVD is lagging at the moment.

Screenshots

Splash Page Login Page Register Page
Utility Tool Page Utility Info Page Utility Rate Page
Utility Rate Result Page Utility Info Result Page

Acknowledgements

Features

  • Firebase Authentication
  • Usage of NREL API
  • Works Across Locations in U.S

API Reference

Requesr URL

  GET /api/utility_rates/v3.format?parameters
Parameter Required Type Description
format Yes string The output response format
api_key Yes string Your API key
address Depends string The address to use. Required if lat/lon not provided.
lat Depends decimal The latitude for the location to use. Required if address not given.
lon Depends decimal The longitude for the location to use. Required if address not given.
radius No decimal The radius (in miles) around the search location to search for utility rates with intersecting boundaries. With the default radius of 0, only utility rates whose boundaries contain the search location point will be returned.
limit No decimal The maximum number of results to return. If no limit is specified then all matching results will be returned.

Response Fileds

Field Value Description
utility_name string The name of the utility company. If there are multiple utility companies serving the location, the names will be returned as a pipe-delimited string.
company_id integer The ID of the utility company. If there are multiple utility companies serving the location, the IDs will be returned as a pipe-delimited string.
utility_info collection An array of hashes containing the name(s) and ID(s) of the utility company or companies serving the location.
residential decimal The residential electricity rate ($/kWh).
commercial decimal The commercial electricity rate ($/kWh).
industrial decimal The industrial electricity rate ($/kWh).

Environment Variables

To run this project, you will need to add the following environment variables to your UtilityCompanyActivity.java & UtilityRateActivity.java file

API_KEY

From API Key Usage

Run Locally

Clone the project

  git clone https://github.com/musa211/ElectricApp

Open with Android Studio

Run using your AVD (virtual device)

Start the server

Documentation

Async Http Client

Recycler View

Lessons Learned

What did you learn while building this project? What challenges did you face and how did you overcome them?

This is my first significant project utilizing Android Studio. I learned how to implement

  • Firebase Authentication
  • Sending JSON Request
  • Recycler View & Adapter
  • Email Validation Using Regex
  • Interactive UI
  • Activities & Intents
  • Clickable Images
  • Input Controls
  • Menus and Pickers
  • User Navigation

I faced issue with handling the JSON output file and working with the different layouts. JSON issue was overcomed through appropriate logging. I just used trial and error for issues with the layouts.

FAQ

Do I need an API Key in order to use this application?

Yes, but I provided a default key to use but feel free create your own.

What IDE to I use to run this application?

Android Studio, and make sure to install an AVD.

Badges

Add badges from somewhere like: shields.io

Language

Line of Code

Repo Size

Commit Activity

Contributors

You might also like...
Clone of Snapchat app made using android studio and java.
Clone of Snapchat app made using android studio and java.

Snapchat-Clone Clone of Snapchat app made using android studio and java. Screenshots of the app : License MIT License Copyright (c) 2021 Nisa Efendi

Attendance Management app made in Kotlin for students. Made during ASJ, Google Developer Students Club, AITR Indore
Attendance Management app made in Kotlin for students. Made during ASJ, Google Developer Students Club, AITR Indore

Android-Study-Jams Attendance Management Problem Statement: Based on the observation, there is no available student attendance system in many educatio

YourStore app made in Kotlin for Local e-commerce. made during ASJ, Developer Students Club, BIT Mesra
YourStore app made in Kotlin for Local e-commerce. made during ASJ, Developer Students Club, BIT Mesra

Android-Study-Jams YourStore , Vocal for Local Problem Statement: Over past two years, local businesses have faced lot of troubles due to Covid-19 and

This is a Interview application which made by me in interview task what it do? that will give you the result from Api and also save data in the cache using RoomDb so that we can access it offline.
This is a Interview application which made by me in interview task what it do? that will give you the result from Api and also save data in the cache using RoomDb so that we can access it offline.

Clean-MVVM-App An Android application built using Clean + MVVM architecture. Components used in the app. Kotlin - As a programming language. Material

Clone of real world Chatting application Whatsapp built on Android Studio and Firebase
Clone of real world Chatting application Whatsapp built on Android Studio and Firebase

Clone of real world Chatting application Whatsapp built on Android Studio and Firebase

Mobile translation application built using android studio and java.
Mobile translation application built using android studio and java.

Translate I'm here when you need translation 👀 🔨 Libraries used in the project : implementation 'com.google.mlkit:translate:16.1.2' implementation '

App made using Kotlin to retrieve data from an API and show in a recyclerview with Login and SignUp features
App made using Kotlin to retrieve data from an API and show in a recyclerview with Login and SignUp features

App made using Kotlin to retrieve data from an API and show in a recyclerview with Login and SignUp features.

Utility Android app for generating color palettes of images using the Palette library. Written in Kotlin.
Utility Android app for generating color palettes of images using the Palette library. Written in Kotlin.

Palette Helper is a simple utility app made to generate color palettes of images using Google's fantastic Palette library. It's mostly a for-fun pet p

Utility Android app for generating color palettes of images using the Palette library. Written in Kotlin.
Utility Android app for generating color palettes of images using the Palette library. Written in Kotlin.

Palette Helper is a simple utility app made to generate color palettes of images using Google's fantastic Palette library. It's mostly a for-fun pet p

Owner
null
🚀 Stock Market App / See listed companies and details with Jetpack Compose.

?? Stock Market App ?? Preview ?? ✨ See listed companies and details with Jetpack Compose ✨ ?? Libraries Retrofit2 Open CSV Compose Destinations Dagge

Yağmur Erdoğan 6 Sep 19, 2022
Android application showing list of Countries with National capital and flag.

Countries Android application showing list of Countries with National capital and flag. Implemented using Android MVVM architecture and used RxJava, D

Kartikay singh 1 Nov 28, 2021
Arjun Naik 1 Apr 16, 2022
A news app made using android studio in Java with features like favourite news, Location detector for local news, and especially made with HUAWEI APIs

HuaweiGlobalNewsApp A news app made using android studio in Java with features like favourite news, Location detector for local news, and especially m

Christian Imanuel Hadiwidjaja 1 Oct 30, 2021
School project: Weather forecast application made in android studio using Kotlin, SQLite and OpenWeatherMaps free API.

A*star 4-cast School project made in android studio using Kotlin, SQLite and free API from OpenWeatherMap.org. A weather forecast app with C(U)RD oper

Felicia Olsson 2 Apr 3, 2022
SNS app showing nearby parks and forests

?? LittleForest Little Forest는 공원과 자연휴양림을 소개하고, 사진을 공유하는 안드로이드 SNS 어플리케이션입니다. 우리

hyobeom han 0 Dec 26, 2021
An android app that shows you nearby food places

FoodNow An android app that shows you nearby food places Features include Search

Danny P 0 Dec 24, 2021
This is an android app using which users can chat to people nearby them with help of Bluetooth.

This is an android app using which users can chat to people nearby them with help of Bluetooth. This app is developed in Kotlin programming language. It is still in its early stages of development and currently let user to one-person-one-time chat at a time. It is under heavy development ????

Shalu Ambasta 4 Sep 28, 2022
An app to detect color palettes in the real world - powered by VisionCamera

Colorwaver An app to detect colorwaves (swatches/palettes) in the real world - powered by VisionCamera and Reanimated. I wrote this app in less than a

Marc Rousavy 476 Dec 25, 2022
Aplicativo Studio Ghibli apresenta uma filmes do studio de animação japonesa Ghibli.

App-Studio-Ghibli Aplicativo Studio Ghibli para Android, apresenta os filmes e personagens do studio de animação japonesa Ghibli. Recursos Base de dad

Agatha Monfredini de Paula Faria 0 Nov 5, 2021