Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdulrhman-Khaled committed Feb 26, 2022
1 parent 7615421 commit 2945a03
Show file tree
Hide file tree
Showing 20 changed files with 50 additions and 46 deletions.
3 changes: 2 additions & 1 deletion .idea/gradle.xml

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

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.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/misc.xml

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

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

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

31 changes: 6 additions & 25 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,62 +1,43 @@
plugins {
id 'com.android.application'
}

android {
compileSdkVersion 30

defaultConfig {
applicationId "com.bodykh.IslamyatApp"
minSdkVersion 22
targetSdkVersion 30
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

/* javaCompileOptions {
annotationProcessorOptions {
arguments = [ moduleName : project.getName() ]
}
}*/
}

/*configurations.all {
resolutionStrategy {
force 'androidx.core:core-ktx:1.6.0'
}
}*/

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
/* buildFeatures {
viewBinding true
}*/

compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}

}
/*configurations {
cleanedAnnotations
compile.exclude group: 'org.jetbrains', module: 'annotations'
}*/

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'com.google.android.material:material:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.google.android.gms:play-services-maps:18.0.2'
implementation 'com.google.android.gms:play-services-location:19.0.1'
annotationProcessor 'androidx.room:room-compiler:2.4.1'
implementation 'com.google.firebase:firebase-messaging:23.0.0'
testImplementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.13.2'
implementation 'com.android.volley:volley:1.2.1'
implementation 'com.github.rommansabbir:AnimationX:2.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'androidx.core:core-ktx:1.6.0'
}
12 changes: 5 additions & 7 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SET_ALARM" />

<application
android:name="com.bodykh.IslamyatApp.AppController"
android:allowBackup="true"
android:icon="@drawable/finalislamiclogo"
android:label="إسْلَاميات\nIslamyat"
android:icon="@drawable/islamiclogo"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:supportsRtl="true"
android:usesCleartextTraffic="true">
Expand Down Expand Up @@ -45,10 +44,10 @@
<activity android:name="com.bodykh.IslamyatApp.Mainpage"
android:screenOrientation="portrait"/>
<activity android:name="com.bodykh.IslamyatApp.MainActivity"
android:screenOrientation="portrait">
android:screenOrientation="portrait"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Expand All @@ -58,5 +57,4 @@

<service android:name="com.bodykh.IslamyatApp.FetchAddressIntentService" />
</application>

</manifest>
5 changes: 3 additions & 2 deletions app/src/main/java/com/bodykh/IslamyatApp/DatabaseHelper.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.bodykh.IslamyatApp;

import android.annotation.SuppressLint;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
Expand Down Expand Up @@ -45,8 +46,8 @@ public ArrayList<Sora> getSoraName() {

do {

String nameen = cursor.getString(cursor.getColumnIndex("sora_name_en"));
String namear = cursor.getString(cursor.getColumnIndex("sora_name_ar"));
@SuppressLint("Range") String nameen = cursor.getString(cursor.getColumnIndex("sora_name_en"));
@SuppressLint("Range") String namear = cursor.getString(cursor.getColumnIndex("sora_name_ar"));

Sora sora = new Sora(namear, nameen);

Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/com/bodykh/IslamyatApp/adiaa.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.bodykh.IslamyatApp;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.database.Cursor;
import android.database.SQLException;
Expand All @@ -23,6 +24,7 @@ public class adiaa extends AppCompatActivity {
ListView adiaaNameList;
private SQLiteDatabase mDb;

@SuppressLint("Range")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/com/bodykh/IslamyatApp/anbiaa.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.bodykh.IslamyatApp;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.database.Cursor;
import android.database.SQLException;
Expand All @@ -24,6 +25,7 @@ public class anbiaa extends AppCompatActivity {
ListView anbiaalist;
private SQLiteDatabase mDb;

@SuppressLint("Range")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/com/bodykh/IslamyatApp/azkaar.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.bodykh.IslamyatApp;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.database.Cursor;
import android.database.SQLException;
Expand All @@ -24,6 +25,7 @@ public class azkaar extends AppCompatActivity {
ListView azkaarNameList;
private SQLiteDatabase mDb;

@SuppressLint("Range")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/com/bodykh/IslamyatApp/hadithbab.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.bodykh.IslamyatApp;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.database.Cursor;
import android.database.SQLException;
Expand All @@ -24,6 +25,7 @@ public class hadithbab extends AppCompatActivity {
ListView babName;
private SQLiteDatabase mDb;

@SuppressLint("Range")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/com/bodykh/IslamyatApp/hadithgeneral.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.bodykh.IslamyatApp;

import android.annotation.SuppressLint;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
Expand All @@ -26,6 +27,7 @@ public class hadithgeneral extends AppCompatActivity {
ListView hadithgen;
private SQLiteDatabase mDb;

@SuppressLint("Range")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/com/bodykh/IslamyatApp/quran.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.bodykh.IslamyatApp;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.database.Cursor;
import android.database.SQLException;
Expand Down Expand Up @@ -32,6 +33,7 @@ public class quran extends AppCompatActivity {
" الضُّحَى", " الشَّرْحَ", " التّينَ", " الْعَلَقَ", " الْقَدْرَ", " الْبَيِّنَةَ", " الزَّلْزَلَةَ", " الْعَادِيَاتِ", " الْقَارِعَةَ", " التَّكَاثُرَ", " الْعَصْرَ", " الْهَمْزَةَ",
" الْفِيلَ", " قُرَيْشَ", " الْمَاعُونَ", " الْكَوْثَرَ", " الْكَافِرُونَ", " النَّصْرَ", " الْمَسَدَ", " الْإِخْلَاَصَ", " الْفَلْقَ", " النَّاسَ"
};*/
@SuppressLint("Range")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/com/bodykh/IslamyatApp/quranStories.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.bodykh.IslamyatApp;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.database.Cursor;
import android.database.SQLException;
Expand All @@ -23,6 +24,7 @@ public class quranStories extends AppCompatActivity {
ListView quranStoriesList;
private SQLiteDatabase mDb;

@SuppressLint("Range")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/com/bodykh/IslamyatApp/ro2yaa.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.bodykh.IslamyatApp;

import android.annotation.SuppressLint;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
Expand All @@ -20,6 +21,7 @@ public class ro2yaa extends AppCompatActivity {
ListView ro2yaali;
private SQLiteDatabase mDb;

@SuppressLint("Range")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down
Binary file removed app/src/main/res/drawable/finalislamiclogo.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
7 changes: 0 additions & 7 deletions app/src/main/res/values-night/themes.xml

This file was deleted.

4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ buildscript {
repositories {
google()
mavenCentral()
// maven { url 'https://repo1.maven.org/maven2' }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
Expand All @@ -18,9 +17,8 @@ allprojects {
repositories {
mavenCentral()
google()
// maven { url "https://api.tplmaps.com:8080/artifactory/example-repo-local/" }
maven { url "https://api.tplmaps.com:8080/artifactory/example-repo-local/" }
maven { url 'https://jitpack.io' }
// maven { url 'https://repo1.maven.org/maven2' }
}
}

Expand Down

0 comments on commit 2945a03

Please sign in to comment.