Skip to content

Commit 745bcc3

Browse files
committed
first commit
0 parents  commit 745bcc3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+3016
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app.iml

Lines changed: 219 additions & 0 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
apply plugin: 'com.android.application'
2+
apply plugin: 'kotlin-android'
3+
4+
android {
5+
compileSdkVersion 30
6+
buildToolsVersion "30.0.2"
7+
defaultConfig {
8+
applicationId "com.example.ofind"
9+
minSdkVersion 16
10+
targetSdkVersion 30
11+
versionCode 1
12+
versionName "1.0"
13+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
14+
multiDexEnabled true
15+
}
16+
buildTypes {
17+
release {
18+
minifyEnabled false
19+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
20+
}
21+
}
22+
aaptOptions {
23+
noCompress "tflite"
24+
noCompress "lite"
25+
}
26+
}
27+
28+
dependencies {
29+
implementation fileTree(dir: 'libs', include: ['*.jar'])
30+
implementation 'androidx.appcompat:appcompat:1.0.2'
31+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
32+
implementation 'com.google.android.material:material:1.0.0'
33+
testImplementation 'junit:junit:4.12'
34+
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
35+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
36+
implementation 'com.google.firebase:firebase-analytics:17.2.1'
37+
implementation 'com.google.firebase:firebase-auth:19.2.0'
38+
implementation 'com.google.firebase:firebase-firestore:21.3.1'
39+
implementation 'com.android.support:multidex:1.0.3'
40+
// dependency to allow us to crop square images
41+
implementation 'com.soundcloud.android:android-crop:1.0.1@aar'
42+
// TensorFlow lite dependency
43+
implementation 'org.tensorflow:tensorflow-lite:+'
44+
implementation "androidx.core:core-ktx:+"
45+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
46+
47+
48+
}
49+
apply plugin: 'com.android.application'
50+
apply plugin: 'com.google.gms.google-services'
51+
repositories {
52+
mavenCentral()
53+
}

google-services.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"project_info": {
3+
"project_number": "8471806583",
4+
"firebase_url": "https://monusearch-93ce0.firebaseio.com",
5+
"project_id": "monusearch-93ce0",
6+
"storage_bucket": "monusearch-93ce0.appspot.com"
7+
},
8+
"client": [
9+
{
10+
"client_info": {
11+
"mobilesdk_app_id": "1:8471806583:android:75f7a9721cc0a885e7bc72",
12+
"android_client_info": {
13+
"package_name": "com.example.ofind"
14+
}
15+
},
16+
"oauth_client": [
17+
{
18+
"client_id": "8471806583-k4jm6dvphesgvc7riba4j4fsb1e7evn9.apps.googleusercontent.com",
19+
"client_type": 3
20+
}
21+
],
22+
"api_key": [
23+
{
24+
"current_key": "AIzaSyAqhTL5atCUEK3oJWFxZH3Fj2sat26akVU"
25+
}
26+
],
27+
"services": {
28+
"appinvite_service": {
29+
"other_platform_oauth_client": [
30+
{
31+
"client_id": "8471806583-k4jm6dvphesgvc7riba4j4fsb1e7evn9.apps.googleusercontent.com",
32+
"client_type": 3
33+
}
34+
]
35+
}
36+
}
37+
}
38+
],
39+
"configuration_version": "1"
40+
}

proguard-rules.pro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
package com.example.ofind;
2+
3+
import android.content.Context;
4+
5+
import androidx.test.platform.app.InstrumentationRegistry;
6+
import androidx.test.ext.junit.runners.AndroidJUnit4;
7+
8+
import org.junit.Test;
9+
import org.junit.runner.RunWith;
10+
11+
import static org.junit.Assert.*;
12+
13+
/**
14+
* Instrumented test, which will execute on an Android device.
15+
*
16+
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
17+
*/
18+
@RunWith(AndroidJUnit4.class)
19+
public class ExampleInstrumentedTest {
20+
@Test
21+
public void useAppContext() {
22+
// Context of the app under test.
23+
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
24+
25+
assertEquals("com.example.ofind", appContext.getPackageName());
26+
}
27+
}

src/main/AndroidManifest.xml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.example.ofind">
4+
<!-- Needed to use camera and store photos -->
5+
<uses-feature
6+
android:name="android.hardware.camera"
7+
android:required="true" />
8+
<uses-feature
9+
android:name="android.hardware.camera.any"
10+
android:required="true" />
11+
12+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
13+
<uses-permission android:name="android.permission.CAMERA" />
14+
<uses-permission android:name="android.permission.INTERNET" />
15+
16+
<application
17+
android:allowBackup="true"
18+
android:icon="@mipmap/ic_launcher"
19+
android:label="@string/app_name"
20+
android:roundIcon="@mipmap/ic_launcher_round"
21+
android:supportsRtl="true"
22+
android:theme="@style/AppTheme">
23+
<activity android:name=".Forgot_passActivity"></activity>
24+
<activity
25+
android:name=".DetailActivity"
26+
android:theme="@style/AppTheme.NoActionBar" />
27+
<activity
28+
android:name=".image_classify"
29+
android:theme="@style/AppTheme.NoActionBar" />
30+
<activity
31+
android:name="com.soundcloud.android.crop.CropImageActivity"
32+
android:screenOrientation="portrait" />
33+
<activity
34+
android:name=".RegisterActivity"
35+
android:theme="@style/AppTheme.NoActionBar" />
36+
<activity android:name=".MainActivity" />
37+
<activity
38+
android:name=".LoginActivity"
39+
android:theme="@style/AppTheme.NoActionBar">
40+
<intent-filter>
41+
<action android:name="android.intent.action.MAIN" />
42+
43+
<category android:name="android.intent.category.LAUNCHER" />
44+
</intent-filter>
45+
</activity>
46+
47+
<meta-data
48+
android:name="preloaded_fonts"
49+
android:resource="@array/preloaded_fonts" />
50+
</application>
51+
52+
</manifest>

0 commit comments

Comments
 (0)