LiquidGalaxyLAB/Smart-City-Dashboard
GSOC'23 Project || Android app to visualize many available public data of various Smart Cities through Dashboards. It will also connect with Liquid Galaxy to show the data in Google Earth in bigger screens for better visualization.
前往 github 下载
Smart City Dashboard
Android app to visualize many available public data of various Smart Cities through Dashboards. It will also connect with Liquid Galaxy to show the data in Google Earth in bigger screens for better visualization. The aim of the project is to make the open data of various Smart Cities easy to visualize and understand for everyone. The project hopes to create more awareness among the public regarding the data of their own city and eases the data analysis for general improvement of the city.
Workflow:
- First the open data (except Weather API) is collected from the following sites: New York City, Chartlotte, Seattle, Austin, Boudler, Chicago, Toronto, Monterrey and City Scores.
- After the data is downloaded, it is processed into Dart models if it is
.csv
or is prepared to visualize in Liquid Galaxy is.kml
. - The processed data is shown as form of beautiful Line Chart, Pie Chart and Percentage Bar data with smooth animations.
- The charts and bars are rendered into an
.png
image. - The app then integrates the rendered image of the widget in a
.kml
file and sends to Liquid Galaxy for visualization. - The integration of the app with Liquid Galaxy has been done with the help of SSH Client functions and file transfer is done through SFTP Protocol.
Features:
- Works both with and without connecting to Liquid Galaxy.
- Visually appealing UI/UX with smooth animations.
- Dynamic Left Tab bar and 1 tap navigation for ease of use.
- Realtime weather data along with hourly and forecast data.
- Many categories of open data for each city like: Environemnt, Health, Transportation etc with
.kml
data as well to visualize in the Liquid Galaxy. - Same interface as the app in the Liquid Galaxy
- Has the option to download and visaulize open data as well as delete those whenever required so that the app doesn’t consume much storage.
- Integrated Google Map and many functions to control Liquid Galaxy.
- Allows various types of tours and orbit accross the cities.
- Visualizer for any custom
.csv
or.kml
files. - App tour to guide new users and highlight the features.
- 8+ Smart Cities data.
- 2 Themes (Dark/Light).
- 7 different languages.
App Installation
Prerequisites:
- Minimum 9-inch Tablet of resolution at least 2048 x 1536.
- Android SDK 24 or above (Codename: Android 7.0 or Nougat)
- Free Space of minimum 240 MB is required. Suggested Free Space is at least 500 MB (Including all in-app downloadable content).
Download Sources:
- Scan the QR Code or download from the Play Store link.
- Alternatively you can also download the apk from this link.
- If this alternate link doesn’t work then manually download the apk in this folder.
After the installation, you will get a tour when you open the app for the first time, providing guidance to how to use the app and highlighting all the important features. In case of any trouble, always check out the Help Page. Enjoy :D
Integration with Liquid Galaxy:
Follow the instructions given here to install and setup Liquid Galaxy in either multi-device rigs or virtual machines. For virtual machine setup follow this video or this document.
After this, go to the app Settings Page and under Connection and Settings
fillup the required details and click on CONNECT TO LG
and all done.
App Screenshots
Setting up locally
Prerequisites:
- Git
- Flutter SDK
v3.7.6 stable
- Dart
v2.19.3
- Android Studio or Visual Studio Code
- Minimum 9-inch Tablet of resolution at least 2048 x 1536 (Emulator or Real Device)
Setting up required Flutter and Dart version:
Before starting, make sure the Flutter and Dart SDK are of the mentioned version to make sure there is no version error or mismatching while running the project. If your Flutter SDK doesn’t match the given, use the following steps:
- Go to the folder where you installed Flutter (For example: C:/flutter/)
- Open terminal and execute these commands
then$ git checkout 3.7.6
$ flutter doctor
- Wait for the process to finish and your environment is ready to run the project!
Clonning the Project:
$ git clone https://github.com/Prayag-X/Smart-City-Dashboard.git
$ cd Smart-City-Dashboard
Preparing the API Keys (Optional):
There are 2 APIs that have been used in this project. The API Keys I have used are already given and not hidden to make the process of setting up the project easy. But its suggested to use your own keys if you are planning to work around the project for a longer time. (Please consider my API’s daily limit as well and dont misuse it :) )
- Google Maps API: To get your own key, you will need to follow the steps mentioned in this documentation. Then go to the project’s
android/app/src/main/AndroidManifest.xml
and paste the API key you got in place ofREPLACE_THE_API_KEY_HERE
.
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="REPLACE_THE_API_KEY_HERE"/>
- Weather API: Go to this link then sign up if you don’t have any account. Then subsribe to the FREE Basic plan of the API. Then select your project or keep it default. And
X-RapidAPI-Key
will be your key. Then go to the project’slib/services/weather_api.dart
and replace line 6’sREPLACE_THE_API_KEY_HERE
:
final String apiKey = 'REPLACE_THE_API_KEY_HERE';
Running the Project:
First install all the Flutter packages
$ flutter pub get
Then connect a tablet (emulator/device) of the mentioned requirements and run
$ flutter run
Open Source Contributions
It will be very appreciated if you want to contribute to this project. There are few ways you can contribute to this project:
- Add up more city data.
- Increase the data of each cities.
- Add more languages.
- Improve the overall stability of the app.
- Look up for possible bugs and try to fix it.
- Any imrprovement to the existing UI/UX.
Always feel free to open up any issues in the Issues section in case of any doubt or bug. I will be more than happy to help you out in every way possible. You can improve anything of the above mentioned things or work something on your own and make a Pull Request. I will review it asap. Happy Contributing :D
Credits
The project was successfully made thanks to my mentor of Google Summer of Code 2023 Merul Dhiman and Liquid Galaxy administrator Andreu Ibáñez who guided me in every way possible. Thanks to Yash Raj Bharti for solving many issues and doubts. Also thanks to Alejandro Illan Marcos for publishing the app in the Play Store and Victor Carreras for any Flutter related queries. The project wouldn’t be completed without the support of Mohamed Zazou, Navdeep Singh and Imad Laichi who tested the app relentlessly for any possible bugs and improvements.
License
This project is licensed under the MIT license.
Copyright @2023 Prayag Biswas
与 LiquidGalaxyLAB/Smart-City-Dashboard 相关优秀项目推荐下载
AppFlowy
47859
AppFlowy is an open-source alternative to Notion. You are in charge of your data and customizations. Built with Flutter and Rust.
localsend
33797
An open-source cross-platform alternative to AirDrop
spotube
23772
🎧 Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
revanced-manager
15035
💊 Application to use ReVanced on Android
gsy_github_app_flutter
14559
Flutter 超完整的开源项目,功能丰富,适合学习和日常使用。GSYGithubApp系列的优势:我们目前已经拥有Flutter、Weex、ReactNative、kotlin 四个版本。 功能齐全,项目框架内技术涉及面广,完成度高,持续维护,配套文章,适合全面学习,对比参考。跨平台的开源Github客户端App,更好的体验,更丰富的功能,旨在更好的日常管理和维护个人Github,提供更好更方便的驾车体验Σ( ̄。 ̄ノ)ノ。同款Weex版本 : https://github.com/CarGuo/GSYGithubAppWeex 、同款React Native版本 : https://github.com/CarGuo/GSYGithubApp 、原生 kotlin 版本 https://github.com/CarGuo/GSYGithubAppKotlin
dio
12249
A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.
gopeed
11832
A modern download manager that supports all platforms. Built with Golang and Flutter.
bloc
11441
A predictable state management library that helps implement the BLoC design pattern
getx
9899
Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
flame
8846
A Flutter based game engine.
flutter_deer
7595
🦌 Flutter 练习项目(包括集成测试、可访问性测试)。内含完整UI设计图,更贴近真实项目的练习。Flutter practice project (including integration testing and accessibility testing). Contains complete UI design drawings for a more realistic practice project.
fish-redux
7343
An assembled flutter application framework.
hiddify-next
7232
Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.
ente
6686
Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos
fl_chart
6451
FL Chart is a highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.
pixez-flutter
6360
一个支持免代理直连及查看动图的第三方Pixiv flutter客户端
Flutter-Responsive-Admin-Panel-or-Dashboard
6355
Responsive Admin Panel or Dashboard using Flutter
aidea
6021
AIdea 是一款支持 GPT 以及国产大语言模型通义千问、文心一言等,支持 Stable Diffusion 文生图、图生图、 SDXL1.0、超分辨率、图片上色的全能型 APP。
riverpod
5828
A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
pikapika
5463
美观易用且无广告的漫画和游戏客户端,同时支持MacOS,Windows,Android,iOS。