Skip to content

Commit

Permalink
Moving project to repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Harabchov committed Jun 12, 2023
1 parent 99837c9 commit 103f270
Show file tree
Hide file tree
Showing 103 changed files with 49,417 additions and 761 deletions.
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/compiler.xml

This file was deleted.

17 changes: 0 additions & 17 deletions .idea/deploymentTargetDropDown.xml

This file was deleted.

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

This file was deleted.

File renamed without changes.
7 changes: 0 additions & 7 deletions .idea/gradle.xml → app/.idea/gradle.xml

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

9 changes: 9 additions & 0 deletions app/.idea/misc.xml

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

8 changes: 8 additions & 0 deletions app/.idea/modules.xml

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

2 changes: 1 addition & 1 deletion .idea/vcs.xml → app/.idea/vcs.xml

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

26 changes: 19 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
plugins {
id 'com.android.application'
id 'androidx.navigation.safeargs'
id 'com.google.gms.google-services'
}

android {
compileSdk 32

defaultConfig {
applicationId "com.example.firstapp"
minSdk 16
applicationId 'com.itjustworks.memorylane'
minSdk 24
targetSdk 32
versionCode 1
versionName "1.0"
Expand All @@ -33,12 +34,23 @@ android {

dependencies {

implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.navigation:navigation-fragment:2.3.5'
implementation 'androidx.navigation:navigation-ui:2.3.5'
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.navigation:navigation-fragment:2.5.0'
implementation 'androidx.navigation:navigation-ui:2.5.0'
implementation files('libs/json-simple-1.1.1.jar')
implementation 'androidx.preference:preference:1.2.0'
implementation 'com.google.firebase:firebase-analytics:21.1.0'
implementation 'com.google.firebase:firebase-database:20.0.5'
implementation 'com.google.firebase:firebase-storage:20.0.1'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.0-M1'
testImplementation 'org.junit.jupiter:junit-jupiter'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'com.github.dhaval2404:imagepicker:2.1'
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
}
39 changes: 39 additions & 0 deletions app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"project_info": {
"project_number": "971506160008",
"project_id": "memorylane-f394d",
"storage_bucket": "memorylane-f394d.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:971506160008:android:b2f2a58994f06777ff6a3d",
"android_client_info": {
"package_name": "com.itjustworks.memorylane"
}
},
"oauth_client": [
{
"client_id": "971506160008-grsg4osfc234nvda9kgu0mgu2o3d2uqg.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDsXpPRqWUr81nRzFiYH_iEr7paKIj5Zg8"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "971506160008-grsg4osfc234nvda9kgu0mgu2o3d2uqg.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
Binary file added app/libs/json-simple-1.1.1.jar
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.firstapp;
package com.itjustworks.memorylane;

import android.content.Context;

Expand All @@ -21,6 +21,6 @@ public class ExampleInstrumentedTest {
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.example.firstapp", appContext.getPackageName());
assertEquals("com.itjustworks.memorylane", appContext.getPackageName());
}
}
91 changes: 81 additions & 10 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,32 +1,103 @@
<?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="com.example.firstapp" >
package="com.itjustworks.memorylane">

<uses-feature android:name="android.hardware.camera"
android:required="true" />
<uses-permission android:name = "android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name = "android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name = "android.permission.CAMERA" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<queries>
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
<intent>
<action android:name="android.media.action.VIDEO_CAPTURE" />
</intent>
</queries>

<application
android:usesCleartextTraffic="true"
android:requestLegacyExternalStorage="true"
android:name="com.itjustworks.memorylane.MyApplication"
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:icon="@drawable/logo"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:roundIcon="@drawable/logo"
android:supportsRtl="true"
android:theme="@style/Theme.FirstApp"
tools:targetApi="31" >
android:theme="@style/Theme.MemoryLane"
tools:targetApi="31">
<activity
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/Theme.FirstApp.NoActionBar" >
android:name="com.itjustworks.memorylane.Analysis"
android:exported="false"
android:configChanges="orientation|screenSize"
android:label="@string/analysis" />

<activity android:name="com.itjustworks.memorylane.SplashScreen" android:theme="@style/SplashTheme"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

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

<activity
android:name="com.itjustworks.memorylane.CreateQuestionSet"
android:exported="false"
android:label="@string/question_set"
android:screenOrientation="portrait"/>
<activity
android:name="com.itjustworks.memorylane.QuestionVideo"
android:configChanges="orientation|screenSize"
android:exported="false"
android:theme="@style/Theme.MemoryLane.NoActionBar" />
<activity
android:name="com.itjustworks.memorylane.WriteQuestions"
android:exported="false"
android:label="@string/quiz"
android:screenOrientation="portrait"/>
<activity
android:name="com.itjustworks.memorylane.CreateQuestions"
android:exported="false"
android:label="@string/question_set"
android:screenOrientation="portrait"/>
<activity
android:name="com.itjustworks.memorylane.CreateQuiz"
android:exported="false"
android:label="@string/quiz"
android:screenOrientation="portrait"/>
<activity
android:name="com.itjustworks.memorylane.SettingsActivity"
android:exported="false"
android:label="@string/title_activity_settings" />
<activity
android:name="com.itjustworks.memorylane.MainActivity"
android:exported="true"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/Theme.MemoryLane.NoActionBar">
</activity>

<meta-data
android:name="preloaded_fonts"
android:resource="@array/preloaded_fonts" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="com.itjustworks.memorylane.fileprovider"
android:exported="false"

android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
</application>

</manifest>
Loading

0 comments on commit 103f270

Please sign in to comment.