Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
targetSdk 34
  • Loading branch information
Mori-hub committed Dec 27, 2023
1 parent 6e400bd commit 6ca5dc7
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 19 deletions.
5 changes: 2 additions & 3 deletions .idea/gradle.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: 6 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
apply plugin: 'com.android.application'
//apply plugin: 'android-maven'
android {
compileSdkVersion 33
defaultConfig {
compileSdk 34
}

defaultConfig {
applicationId "com.src.terans"
minSdkVersion 22
targetSdkVersion 33
versionCode 6
versionName "1.0.6"
targetSdk 34
versionCode 7
versionName "1.0.7"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.1'
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'

Expand Down
8 changes: 5 additions & 3 deletions start/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
apply plugin: 'com.android.library'
//apply plugin: 'android-maven'
android {
compileSdkVersion 33
defaultConfig {
compileSdk 34
}

defaultConfig {
minSdkVersion 22
targetSdkVersion 33
targetSdk 34

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
Expand Down Expand Up @@ -40,7 +42,7 @@ afterEvaluate {
from components.release
groupId = 'com.github.Mori-hub'
artifactId = 'Myket-Intent'
version = '0.1.21'
version = '0.1.22'
}
}
}
Expand Down
14 changes: 7 additions & 7 deletions start/src/main/java/com/src/start/Aboutme_Myket.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Aboutme_Myket(Context context) {
alpha_package = info.packageName;//

} catch (PackageManager.NameNotFoundException e) {
e.printStackTrace();
Log.e("TAG", "Aboutme_Myket: ", e);
}

TextView textView = findViewById(R.id.textView);
Expand Down Expand Up @@ -131,7 +131,7 @@ private void initialize(Context context) {
} else
alpa_context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(urlbtnCom)));
} catch (ActivityNotFoundException e) {
e.printStackTrace();
Log.e("TAG", "Aboutme_Myket: ", e);
}
});
//ارجاع به برنامه
Expand All @@ -148,7 +148,7 @@ private void initialize(Context context) {
// .startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(urlbtnHelp)));

} catch (ActivityNotFoundException e) {
e.printStackTrace();
Log.e("TAG", "Aboutme_Myket: ", e);
}

});
Expand Down Expand Up @@ -257,7 +257,7 @@ public void addGoogle(boolean active) {
alpa_context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));

} catch (ActivityNotFoundException e) {
e.printStackTrace();
Log.e("TAG", "Aboutme_Myket: ", e);
}
//"https://play.google.com/store/apps/details?id=" + alpha_package;
//https://play.google.com/store/search?q=pub:"+"Smart rabite"
Expand Down Expand Up @@ -296,7 +296,7 @@ public void addGoogleRateApp(Context mContext) {

);
} catch (ActivityNotFoundException e) {
e.printStackTrace();
Log.e("TAG", "Aboutme_Myket: ", e);
}
});
}
Expand All @@ -309,7 +309,7 @@ private void openGoogleStore() {
alpa_context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));

} catch (ActivityNotFoundException e) {
e.printStackTrace();
Log.e("TAG", "Aboutme_Myket: ", e);
}

}
Expand Down Expand Up @@ -408,7 +408,7 @@ public void dia(Aboutme_Myket v) {
findViewById(R.id.btnClose).setVisibility(GONE);
findViewById(R.id.btnClose3).setVisibility(GONE);
alertDialog.show();
alertDialog.getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT));
Objects.requireNonNull(alertDialog.getWindow()).setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT));

}

Expand Down

0 comments on commit 6ca5dc7

Please sign in to comment.