Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
InstiLostAndFound
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
MUTTINENI NAVYA
InstiLostAndFound
Commits
a3845c69
Commit
a3845c69
authored
Oct 25, 2019
by
ankitasingh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Firebase basic components added
parent
db121a06
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
10 deletions
+25
-10
InstiLostAndFound.iml
InstiLostAndFound.iml
+1
-1
app/app.iml
app/app.iml
+10
-2
app/build.gradle
app/build.gradle
+3
-1
app/src/main/java/com/example/instilostandfound/MainActivity.java
...main/java/com/example/instilostandfound/MainActivity.java
+7
-1
build.gradle
build.gradle
+1
-0
local.properties
local.properties
+3
-5
No files found.
InstiLostAndFound.iml
View file @
a3845c69
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<content
url=
"file://$MODULE_DIR$"
>
<content
url=
"file://$MODULE_DIR$"
>
<excludeFolder
url=
"file://$MODULE_DIR$/.gradle"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/.gradle"
/>
</content>
</content>
<orderEntry
type=
"
inheritedJdk
"
/>
<orderEntry
type=
"
jdk"
jdkName=
"1.8"
jdkType=
"JavaSDK
"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</component>
</module>
</module>
\ No newline at end of file
app/app.iml
View file @
a3845c69
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<option
name=
"ALLOW_USER_CONFIGURATION"
value=
"false"
/>
<option
name=
"ALLOW_USER_CONFIGURATION"
value=
"false"
/>
<option
name=
"MANIFEST_FILE_RELATIVE_PATH"
value=
"/src/main/AndroidManifest.xml"
/>
<option
name=
"MANIFEST_FILE_RELATIVE_PATH"
value=
"/src/main/AndroidManifest.xml"
/>
<option
name=
"RES_FOLDER_RELATIVE_PATH"
value=
"/src/main/res"
/>
<option
name=
"RES_FOLDER_RELATIVE_PATH"
value=
"/src/main/res"
/>
<option
name=
"RES_FOLDERS_RELATIVE_PATH"
value=
"file://$MODULE_DIR$/src/main/res"
/>
<option
name=
"RES_FOLDERS_RELATIVE_PATH"
value=
"file://$MODULE_DIR$/src/main/res
;file://$MODULE_DIR$/build/generated/res/google-services/debug;file://$MODULE_DIR$/build/generated/res/resValues/debug
"
/>
<option
name=
"TEST_RES_FOLDERS_RELATIVE_PATH"
value=
""
/>
<option
name=
"TEST_RES_FOLDERS_RELATIVE_PATH"
value=
""
/>
<option
name=
"ASSETS_FOLDER_RELATIVE_PATH"
value=
"/src/main/assets"
/>
<option
name=
"ASSETS_FOLDER_RELATIVE_PATH"
value=
"/src/main/assets"
/>
</configuration>
</configuration>
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debug/compileDebugAidl/out"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/aidl_source_output_dir/debug/compileDebugAidl/out"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/buildConfig/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/buildConfig/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debug/compileDebugRenderscript/out"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/debug/compileDebugRenderscript/out"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/google-services/debug"
type=
"java-resource"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/rs/debug"
type=
"java-resource"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/rs/debug"
type=
"java-resource"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/resValues/debug"
type=
"java-resource"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/resValues/debug"
type=
"java-resource"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/ap_generated_sources/debugAndroidTest/out"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/ap_generated_sources/debugAndroidTest/out"
isTestSource=
"true"
generated=
"true"
/>
...
@@ -108,8 +109,15 @@
...
@@ -108,8 +109,15 @@
<orderEntry
type=
"library"
name=
"Gradle: androidx.arch.core:core-common:2.0.0@jar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.arch.core:core-common:2.0.0@jar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.annotation:annotation:1.0.0@jar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.annotation:annotation:1.0.0@jar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.constraintlayout:constraintlayout-solver:1.1.3@jar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.constraintlayout:constraintlayout-solver:1.1.3@jar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.auto.value:auto-value-annotations:1.6.5@jar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.android.material:material:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.android.material:material:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.appcompat:appcompat:1.0.2@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.appcompat:appcompat:1.0.2@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.firebase:firebase-auth:19.1.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.firebase:firebase-auth-interop:18.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.android.gms:play-services-base:17.1.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.firebase:firebase-common:19.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.android.gms:play-services-tasks:17.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: com.google.android.gms:play-services-basement:17.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.fragment:fragment:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.fragment:fragment:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.vectordrawable:vectordrawable-animated:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.vectordrawable:vectordrawable-animated:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.recyclerview:recyclerview:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.recyclerview:recyclerview:1.0.0@aar"
level=
"project"
/>
...
@@ -129,9 +137,9 @@
...
@@ -129,9 +137,9 @@
<orderEntry
type=
"library"
name=
"Gradle: androidx.versionedparcelable:versionedparcelable:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.versionedparcelable:versionedparcelable:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.cursoradapter:cursoradapter:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.cursoradapter:cursoradapter:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.cardview:cardview:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.cardview:cardview:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.localbroadcastmanager:localbroadcastmanager:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.lifecycle:lifecycle-runtime:2.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.lifecycle:lifecycle-runtime:2.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.documentfile:documentfile:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.documentfile:documentfile:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.localbroadcastmanager:localbroadcastmanager:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.print:print:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.print:print:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.lifecycle:lifecycle-viewmodel:2.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.lifecycle:lifecycle-viewmodel:2.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.interpolator:interpolator:1.0.0@aar"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Gradle: androidx.interpolator:interpolator:1.0.0@aar"
level=
"project"
/>
...
...
app/build.gradle
View file @
a3845c69
...
@@ -5,7 +5,7 @@ android {
...
@@ -5,7 +5,7 @@ android {
buildToolsVersion
"29.0.2"
buildToolsVersion
"29.0.2"
defaultConfig
{
defaultConfig
{
applicationId
"com.example.instilostandfound"
applicationId
"com.example.instilostandfound"
minSdkVersion
1
5
minSdkVersion
1
6
targetSdkVersion
29
targetSdkVersion
29
versionCode
1
versionCode
1
versionName
"1.0"
versionName
"1.0"
...
@@ -24,7 +24,9 @@ dependencies {
...
@@ -24,7 +24,9 @@ dependencies {
implementation
'androidx.appcompat:appcompat:1.0.2'
implementation
'androidx.appcompat:appcompat:1.0.2'
implementation
'androidx.constraintlayout:constraintlayout:1.1.3'
implementation
'androidx.constraintlayout:constraintlayout:1.1.3'
implementation
'com.google.android.material:material:1.0.0'
implementation
'com.google.android.material:material:1.0.0'
implementation
'com.google.firebase:firebase-auth:19.1.0'
testImplementation
'junit:junit:4.12'
testImplementation
'junit:junit:4.12'
androidTestImplementation
'androidx.test.ext:junit:1.1.0'
androidTestImplementation
'androidx.test.ext:junit:1.1.0'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.1.1'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.1.1'
}
}
apply
plugin:
'com.google.gms.google-services'
app/src/main/java/com/example/instilostandfound/MainActivity.java
View file @
a3845c69
...
@@ -3,6 +3,8 @@ package com.example.instilostandfound;
...
@@ -3,6 +3,8 @@ package com.example.instilostandfound;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
com.google.android.material.floatingactionbutton.FloatingActionButton
;
import
com.google.android.material.floatingactionbutton.FloatingActionButton
;
import
com.google.android.material.snackbar.Snackbar
;
import
com.google.android.material.snackbar.Snackbar
;
import
com.google.firebase.auth.FirebaseAuth
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.app.AppCompatActivity
;
import
androidx.appcompat.widget.Toolbar
;
import
androidx.appcompat.widget.Toolbar
;
import
android.view.View
;
import
android.view.View
;
...
@@ -10,9 +12,13 @@ import android.view.Menu;
...
@@ -10,9 +12,13 @@ import android.view.Menu;
import
android.view.MenuItem
;
import
android.view.MenuItem
;
public
class
MainActivity
extends
AppCompatActivity
{
public
class
MainActivity
extends
AppCompatActivity
{
private
FirebaseAuth
mAuth
;
@Override
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
// ...
// Initialize Firebase Auth
mAuth
=
FirebaseAuth
.
getInstance
();
super
.
onCreate
(
savedInstanceState
);
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_main
);
setContentView
(
R
.
layout
.
activity_main
);
Toolbar
toolbar
=
findViewById
(
R
.
id
.
toolbar
);
Toolbar
toolbar
=
findViewById
(
R
.
id
.
toolbar
);
...
...
build.gradle
View file @
a3845c69
...
@@ -8,6 +8,7 @@ buildscript {
...
@@ -8,6 +8,7 @@ buildscript {
}
}
dependencies
{
dependencies
{
classpath
'com.android.tools.build:gradle:3.5.1'
classpath
'com.android.tools.build:gradle:3.5.1'
classpath
'com.google.gms:google-services:4.3.2'
// NOTE: Do not place your application dependencies here; they belong
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// in the individual module build.gradle files
...
...
local.properties
View file @
a3845c69
## This file is automatically generated by Android Studio.
## This file must *NOT* be checked into Version Control Systems,
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file should *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
# as it contains information specific to your local configuration.
#
#
# Location of the SDK. This is only used by Gradle.
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# For customization when using a Version Control System, please read the
# header note.
# header note.
sdk.dir
=
/home/abc/Android/Sdk
#Fri Oct 25 11:44:26 IST 2019
sdk.dir
=
/home/chikki/Android/Sdk
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment