Skip to content

Park.ai #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 52 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
1ddcfee
Add files via upload
CHAITANYASAI-del Mar 27, 2021
6263e68
Add files via upload
CHAITANYASAI-del Mar 27, 2021
53093db
Delete README.md
CHAITANYASAI-del Mar 27, 2021
4b123b9
Delete submission_README.md
CHAITANYASAI-del Mar 27, 2021
db4f789
Add files via upload
CHAITANYASAI-del Mar 27, 2021
0a487f0
Create lol
CHAITANYASAI-del Mar 27, 2021
fa079e6
Add files via upload
CHAITANYASAI-del Mar 27, 2021
0704ded
Delete lol
CHAITANYASAI-del Mar 27, 2021
cc1e720
Add files via upload
CHAITANYASAI-del Mar 27, 2021
240cd5d
Create lol
CHAITANYASAI-del Mar 27, 2021
2c6e3ae
Create imp
CHAITANYASAI-del Mar 27, 2021
f3b30ab
Delete lol
CHAITANYASAI-del Mar 27, 2021
5afb541
Add files via upload
CHAITANYASAI-del Mar 27, 2021
a7fc14f
Delete android/build/android-profile directory
CHAITANYASAI-del Mar 27, 2021
8b35194
Create imp
CHAITANYASAI-del Mar 27, 2021
63a7c7f
Create lol
CHAITANYASAI-del Mar 27, 2021
1802e03
Delete imp
CHAITANYASAI-del Mar 27, 2021
1a26963
Add files via upload
CHAITANYASAI-del Mar 27, 2021
8a25a61
Add files via upload
CHAITANYASAI-del Mar 27, 2021
1bc4957
Delete lol
CHAITANYASAI-del Mar 27, 2021
ee97302
Create lol
CHAITANYASAI-del Mar 27, 2021
e90796c
Add files via upload
CHAITANYASAI-del Mar 27, 2021
eaf68eb
Create lol
CHAITANYASAI-del Mar 27, 2021
8fb3468
Add files via upload
CHAITANYASAI-del Mar 27, 2021
c3f12e8
Delete lol
CHAITANYASAI-del Mar 27, 2021
dae8618
Create imp
CHAITANYASAI-del Mar 27, 2021
ad7289e
Add files via upload
CHAITANYASAI-del Mar 27, 2021
e6e10fd
Delete imp
CHAITANYASAI-del Mar 27, 2021
21c7e49
Add files via upload
CHAITANYASAI-del Mar 27, 2021
e50650f
Add files via upload
CHAITANYASAI-del Mar 27, 2021
af9e25f
Create imp
CHAITANYASAI-del Mar 27, 2021
5b229e7
Add files via upload
CHAITANYASAI-del Mar 27, 2021
d3de2a6
Delete imp
CHAITANYASAI-del Mar 27, 2021
5017760
Delete lol
CHAITANYASAI-del Mar 27, 2021
aea5401
Add files via upload
CHAITANYASAI-del Mar 27, 2021
d4e19c3
Delete Park.ai.key
CHAITANYASAI-del Mar 27, 2021
c5393a0
Create lol
CHAITANYASAI-del Mar 27, 2021
b51c21b
Add files via upload
CHAITANYASAI-del Mar 27, 2021
11c8b5c
Delete lol
CHAITANYASAI-del Mar 27, 2021
edd967e
Update README.md
CHAITANYASAI-del Mar 27, 2021
cf48fe8
Update README.md
CHAITANYASAI-del Mar 27, 2021
ddbc6d7
Update README.md
CHAITANYASAI-del Mar 27, 2021
d3cf06f
Update README.md
CHAITANYASAI-del Mar 27, 2021
36d2790
Update and rename README.md to submission_README.md
CHAITANYASAI-del Mar 28, 2021
1d7d454
Rename submission_README.md to README.md
CHAITANYASAI-del Mar 28, 2021
74b614e
Update README.md
CHAITANYASAI-del Mar 28, 2021
6a14051
submission_README.md
CHAITANYASAI-del Mar 28, 2021
5ea79f7
Update and rename README.md to submission_README.md
CHAITANYASAI-del Mar 28, 2021
400f5f0
Rename submission_README.md to README.md
CHAITANYASAI-del Mar 28, 2021
7150547
Update README.md
CHAITANYASAI-del Mar 28, 2021
5545c4c
Update README.md
CHAITANYASAI-del Mar 28, 2021
88d819d
Update README.md
CHAITANYASAI-del Mar 28, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added PPT/Park.ai.pptx
Binary file not shown.
70 changes: 57 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,62 @@
# HaXplore 2.0 - Submission Report Format

# HaXplore 2.0, CodeFest 2021 Submissions
This is the official code repository for park.ai. This application was developed during HaXplore 2.0,
the online hackathon conducted by Codefest, the annual departmental fest of Computer Science department, IIT BHU Varanasi.

# park.ai
> park anywhere and everywhere, legally!

* [CHAITANYA SAI]([email protected])

* [SANKOJU MANASA]([email protected])

* [RIYA PATRO]([email protected])

* [BANDI PAVAN KUMAR]([email protected])

# Overview

park.ai is a cross-platform application which allows people to host and park their vehicles at private parking spaces.
People can now host their own private parking spaces on a rental basis. It also allows the user to find available parking spaces
near them using the app.

## Why park.ai?

1) On any given working day approximately 40% of the roads in urban India are taken up for just parking the cars.
2) Tremendous pressure on parking spaces have led to serious concerns like traffic congestion, accidents, disproportionate demand and supply ratio, environmental hazards etc.
3) Pollutants like oil and grease are washed off from the parking lots into the water bodies during the rains. The pollutants contaminate the water table and are also responsible for urban heat island effect. The pollutants it emits causes health hazards and may cause respiratory and cardiovascular damages.

Guess what? It removes all the above and many more!

# Demo Video :

[Park.ai Demo Video ](https://drive.google.com/file/d/1-qCiXpouc5tzsX8U-aXwSrFSjCoQ1jz3/view?usp=sharing)

# Presentation(ppt) :

[Park.ai ppt ](https://drive.google.com/file/d/1yjOP_oc5GCR5Af3qyaxcSxrgupLeRLiY/view?usp=sharing)


# Tech Stack used

* java
* python


# Usage

This is a user friendly application which could be easily used,
developed whole source code just need to run on android studio build an app run on the emulator or mobile using android studio or eclipse IDE .


# Tracks used

N.A.

# AWS Services Used

N.A.

## Submissions
1. The Team Leader has to fork this repository using his/her GitHub Account. You can change the name of the fork repository as you wish. This repository will contain the complete submission, including the code, design and submission idea file.
2. In Devfolio, update the Github submission link with the link to the above-forked repository.
3. For the first phase of the hackathon, you have to rename the ***submission_README.md*** file to ***README.md*** and update it with your idea in the format specified in the file.
4. The deadline to complete the above task is **27th March 6 PM sharp**.

## Project Track:
Choose from -
- #### [Amazon Web Services Track](https://docs.google.com/document/d/16wxLl_8Eqw_bcjY28FnP3bc2YihB6pCN5aPAmF5An_o/edit?usp=sharing)
- #### [Polygon - Hackathon Season Prize](https://www.notion.so/Polygon-Devfolio-Hackathon-Season-Prize-de8961d5eeff4780963749da0b75037c)
- #### [Portis - Hackathon Season Prize](https://www.notion.so/Portis-by-Shapeshift-Devfolio-Hackathon-Season-Prize-e198dfd094a9411b8cd0f80d76a04a90)
- #### [Tezos - Hackathon Season Prize](https://www.notion.so/Tezos-Devfolio-Hackathon-Season-Prize-e90b6811b0df43e5a7dadf534fc000ff)


You can find more details about the project tracks [here](https://drive.google.com/file/d/1699uvvBwiLcC8T6Cw9KYcHh-PysUI2448Vmz4Y7d7K8/view).
19 changes: 19 additions & 0 deletions android/android.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="android" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="java-gradle" name="Java-Gradle">
<configuration>
<option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" />
<option name="BUILDABLE" value="false" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
222 changes: 222 additions & 0 deletions android/app/app.iml

Large diffs are not rendered by default.

79 changes: 79 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 27
defaultConfig {
applicationId "org.envision.parkai"
minSdkVersion 23
targetSdkVersion 27
versionCode 1
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

dexOptions {

jumboMode true
javaMaxHeapSize "4g"

}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:0.5'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-auth:16.0.1'
implementation 'com.google.android.gms:play-services-auth:15.0.1'
implementation 'com.flaviofaria:kenburnsview:1.0.7'
implementation 'org.aviran.cookiebar2:cookiebar2:1.0.9'
implementation 'com.google.firebase:firebase-database:16.0.1'

implementation 'com.google.firebase:firebase-messaging:17.0.0'
implementation 'de.hdodenhof:circleimageview:2.2.0'

implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.android.support:cardview-v7:27.1.1'
// implementation "com.github.firdausmaulan:GlideSlider:1.3.1"
implementation 'com.android.support:recyclerview-v7:27.1.1'
//implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.wajahatkarim3.EasyFlipView:EasyFlipView:2.1.0'
implementation 'com.flaviofaria:kenburnsview:1.0.7'
implementation 'com.google.zxing:core:3.2.1'
implementation 'com.journeyapps:zxing-android-embedded:3.2.0@aar'
implementation 'com.google.android.gms:play-services-maps:15.0.1'
// implementation 'com.github.ViksaaSkool:AwesomeSplash:v1.0.0'
implementation 'com.ramotion.cardslider:card-slider:0.2.0'
implementation 'com.github.bluejamesbond:textjustify-android:2.1.6'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.google.firebase:firebase-storage:16.1.0'
//implementation 'com.firebaseui:firebase-ui-database:3.2.1'
implementation 'com.firebaseui:firebase-ui-database:3.3.1'
implementation 'org.aviran.cookiebar2:cookiebar2:1.0.9'
implementation 'com.kyleduo.blurpopupwindow:blurpopupwindow:1.0.9'
implementation 'com.github.f0ris.sweetalert:library:1.5.1'
implementation 'com.orhanobut:dialogplus:1.11@aar'
// implementation 'com.github.Commit451:ModalBottomSheetDialogFragment:1.0.2'
//implementation 'com.github.javiersantos:BottomDialogs:1.2.1'
implementation 'com.yanzhikai:TextPathView:0.1.2'
implementation 'com.narayanacharya:WaveView:0.9.3'
implementation 'com.google.firebase:firebase-inappmessaging-display:17.0.0'
// implementation 'com.github.simbiose:Encryption:2.0.1'


}

apply plugin: 'com.google.gms.google-services'
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
55 changes: 55 additions & 0 deletions android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"project_info": {
"project_number": "664957964073",
"firebase_url": "https://parkai.firebaseio.com",
"project_id": "parkai",
"storage_bucket": "parkai.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:664957964073:android:9535200ba8b39d61",
"android_client_info": {
"package_name": "org.envision.parkai"
}
},
"oauth_client": [
{
"client_id": "664957964073-qvp1jcj5q0293lp026uhcnhact3tbd06.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "org.envision.parkai",
"certificate_hash": "b76ca9626da59c0925ab5cc6d2af370d7dd37fd6"
}
},
{
"client_id": "664957964073-0caefc2argj27o43k5nl8vj552l5aij9.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyBGLDzir3E1XnIw7Fxmm3qpGvQuEsq-KL0"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 2,
"other_platform_oauth_client": [
{
"client_id": "664957964073-0caefc2argj27o43k5nl8vj552l5aij9.apps.googleusercontent.com",
"client_type": 3
}
]
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}
21 changes: 21 additions & 0 deletions android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package org.envision.parkai;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();

assertEquals("org.envision.parkai", appContext.getPackageName());
}
}
40 changes: 40 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.envision.parkai">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />


<application
android:allowBackup="true"
android:icon="@drawable/park"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:largeHeap="true"
tools:replace="android:icon"
android:theme="@style/AppTheme">
<activity
android:name=".LoginActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity
android:name=".MainActivity"
android:screenOrientation="portrait" />

<activity
android:name=".LiveTileDescription" />
<activity
android:name=".LoginNumberPlate" />
</application>

</manifest>
Loading