Skip to content

Commit

Permalink
Added files from Android Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
vaky49 committed Jan 10, 2019
1 parent 238a1b5 commit ae42b08
Show file tree
Hide file tree
Showing 92 changed files with 3,834 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
.externalNativeBuild
Binary file added .idea/caches/build_file_checksums.ser
Binary file not shown.
29 changes: 29 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
# CSBooking
# Uber_android_app_clone

▷ Create an android app like uber

▷ Full Video Tutorial Playlist here: https://www.youtube.com/playlist?list=PLxabZQCAe5fgXx8cn2iKOtt0VFJrf5bOd
▷ Lesson on how to import this project here: https://www.youtube.com/watch?v=2TkNZ-Vael4

▷ Become a Patreon: https://www.patreon.com/simpleCoder<br />
▷ Donate with PayPal: https://www.paypal.me/simcoder<br />
▷ Twitter: https://twitter.com/S1mpleCoder<br />
▷ GitHub : https://goo.gl/88FHk4<br />

▷ If you have any question please ask, I'll try to answer to every question and even look at your code if that is necessary.


**Important Links**

Project Download: https://goo.gl/imccvo<br />
FIrebase: https://goo.gl/9Wahb1<br />
geofire: https://goo.gl/SYXc2b<br />
Glide: https://github.com/bumptech/glide<br />
Place Autocomplete: https://developers.google.com/places/android-api/autocomplete<br />
Google-Directions-Android: :https://github.com/jd-alexander/google-directions-android<br />

P.S: If ou're going to download the full project please use your own firebase API, the one in the project will NOT be mantained and the app may not work.
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
56 changes: 56 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 28
//buildToolsVersion '26.0.2'
defaultConfig {
applicationId "com.example.CSBooking"
minSdkVersion 23 //16
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})

//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
//implementation 'com.google.firebase:firebase-core:11.6.0'

implementation 'com.google.firebase:firebase-core:16.0.6'
implementation 'com.google.firebase:firebase-database:16.0.5'
implementation 'com.google.firebase:firebase-auth:16.1.0'
implementation 'com.google.firebase:firebase-storage:16.0.5'
implementation 'com.firebase:geofire-android:2.1.2'

//implementation 'com.google.android.gms:play-services:15.0.1'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-maps:16.0.0'
implementation 'com.google.android.gms:play-services-places:16.0.0'
implementation 'com.github.bumptech.glide:glide:4.0.0'
implementation 'com.android.support:design:28.0.0'
//implementation 'com.android.support:design:26.1.0'
//implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.github.jd-alexander:library:1.1.0'
implementation 'com.paypal.sdk:paypal-android-sdk:2.15.3'
testImplementation 'junit:junit:4.12'
}



apply plugin: 'com.google.gms.google-services'
55 changes: 55 additions & 0 deletions app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"project_info": {
"project_number": "207667700413",
"firebase_url": "https://csbooking-e6eef.firebaseio.com",
"project_id": "csbooking-e6eef",
"storage_bucket": "csbooking-e6eef.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:207667700413:android:d7a7d00426291252",
"android_client_info": {
"package_name": "com.example.CSBooking"
}
},
"oauth_client": [
{
"client_id": "207667700413-v1m8rpnm8101b35l6t8k3dnngiuh07fs.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.example.CSBooking",
"certificate_hash": "2c5e34d6ffbc93da7bb11032308e2d289ed5dc9a"
}
},
{
"client_id": "207667700413-bf8lnsb48rd3ojgeu6f7iv49dg4tg1gg.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAaEq3Ol65Tt9weJxkt-lED8YIbnZBQrrM"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 2,
"other_platform_oauth_client": [
{
"client_id": "207667700413-bf8lnsb48rd3ojgeu6f7iv49dg4tg1gg.apps.googleusercontent.com",
"client_type": 3
}
]
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}
25 changes: 25 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\Users\manel\AppData\Local\Android\sdk1/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# 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 com.example.CSBooking;

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.*;

/**
* Instrumentation 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("com.simcoder.uber", appContext.getPackageName());
}
}
26 changes: 26 additions & 0 deletions app/src/debug/res/values/google_maps_api.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<resources>
<!--
TODO: Before you run your application, you need a Google Maps API key.
To get one, follow this link, follow the directions and press "Create" at the end:
https://console.developers.google.com/flows/enableapi?apiid=maps_android_backend&keyType=CLIENT_SIDE_ANDROID&r=FC:A0:45:F4:26:3D:D3:51:C1:92:FF:60:41:5E:E7:76:DE:A8:D9:CD%3Bcom.simcoder.uber
You can also add your credentials to an existing key, using these values:
Package name:
FC:A0:45:F4:26:3D:D3:51:C1:92:FF:60:41:5E:E7:76:DE:A8:D9:CD
SHA-1 certificate fingerprint:
FC:A0:45:F4:26:3D:D3:51:C1:92:FF:60:41:5E:E7:76:DE:A8:D9:CD
Alternatively, follow the directions here:
https://developers.google.com/maps/documentation/android/start#get-key
Once you have your key (it starts with "AIza"), replace the "google_maps_key"
string in this file.
-->
<string name="google_maps_key" templateMergeStrategy="preserve" translatable="false">
AIzaSyArce1JmtBOratA3p5HnPwiyuDpw_uS6Sk
</string>
</resources>
Loading

0 comments on commit ae42b08

Please sign in to comment.