├── app ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── values │ │ │ ├── strings.xml │ │ │ ├── colors.xml │ │ │ └── styles.xml │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ ├── layout │ │ │ ├── activity_second.xml │ │ │ └── activity_main.xml │ │ └── drawable │ │ │ └── ic_launcher_background.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── sanjaydevtech │ │ └── instarepost │ │ ├── SecondActivity.java │ │ └── MainActivity.kt ├── proguard-rules.pro └── build.gradle ├── .gitattributes ├── .idea ├── .name ├── vcs.xml ├── compiler.xml ├── kotlinc.xml ├── dictionaries │ └── admin_pc.xml ├── misc.xml ├── deploymentTargetDropDown.xml ├── gradle.xml ├── jarRepositories.xml ├── markdown-navigator.xml ├── codeStyles │ └── Project.xml └── markdown-navigator-enh.xml ├── instautils ├── .gitignore ├── consumer-rules.pro ├── src │ └── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── sanjaydevtech │ │ └── instautils │ │ ├── InstaTask.kt │ │ ├── InstaImage.kt │ │ ├── InstaResponse.kt │ │ ├── InstaPost.kt │ │ ├── InstaScraper.kt │ │ └── InstaDownloader.kt ├── proguard-rules.pro └── build.gradle ├── jitpack.yml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle ├── LICENSE ├── CHANGELOG.md ├── gradle.properties ├── .travis.yml ├── gradlew.bat ├── README.md └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | InstagramRepost -------------------------------------------------------------------------------- /instautils/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /instautils/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jitpack.yml: -------------------------------------------------------------------------------- 1 | jdk: 2 | - openjdk17 -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | InstagramRepost 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SanjayDevTech/instautils/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SanjayDevTech/instautils/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SanjayDevTech/instautils/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SanjayDevTech/instautils/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SanjayDevTech/instautils/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SanjayDevTech/instautils/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SanjayDevTech/instautils/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SanjayDevTech/instautils/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SanjayDevTech/instautils/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SanjayDevTech/instautils/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SanjayDevTech/instautils/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /instautils/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/kotlinc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /instautils/src/main/java/com/sanjaydevtech/instautils/InstaTask.kt: -------------------------------------------------------------------------------- 1 | package com.sanjaydevtech.instautils 2 | 3 | /** 4 | * InstaTask to hold the result of network 5 | */ 6 | data class InstaTask(val instaPost: InstaPost?, val exception: Exception?) -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #6200EE 4 | #3700B3 5 | #03DAC5 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sat Apr 29 00:07:24 IST 2023 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip 5 | zipStoreBase=GRADLE_USER_HOME 6 | zipStorePath=wrapper/dists 7 | -------------------------------------------------------------------------------- /.idea/dictionaries/admin_pc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | insta 5 | instagram 6 | instapp 7 | mozilla 8 | sanjay 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | -------------------------------------------------------------------------------- /instautils/src/main/java/com/sanjaydevtech/instautils/InstaImage.kt: -------------------------------------------------------------------------------- 1 | package com.sanjaydevtech.instautils 2 | 3 | import android.graphics.Bitmap 4 | 5 | /** InstaImage 6 | */ 7 | fun interface InstaImage { 8 | /** 9 | * OnBitmap loaded 10 | * 11 | * @param bitmap bitmap from a image post 12 | */ 13 | fun onBitmapLoaded(bitmap: Bitmap) 14 | } -------------------------------------------------------------------------------- /instautils/src/main/java/com/sanjaydevtech/instautils/InstaResponse.kt: -------------------------------------------------------------------------------- 1 | package com.sanjaydevtech.instautils 2 | 3 | /** 4 | * InstaResponse to handle download url searching 5 | */ 6 | fun interface InstaResponse { 7 | /** 8 | * On completion of url searching 9 | * 10 | * @param instaTask InstaTask object which holds the post or exception 11 | */ 12 | fun onResponse(instaTask: InstaTask) 13 | } -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | gradlePluginPortal() 4 | google() 5 | mavenCentral() 6 | } 7 | } 8 | dependencyResolutionManagement { 9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 10 | repositories { 11 | google() 12 | mavenCentral() 13 | } 14 | } 15 | rootProject.name = "InstagramRepost" 16 | include ':app' 17 | include ':instautils' 18 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/deploymentTargetDropDown.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 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 -------------------------------------------------------------------------------- /instautils/proguard-rules.pro: -------------------------------------------------------------------------------- 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 -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 20 | 21 | -------------------------------------------------------------------------------- /instautils/src/main/java/com/sanjaydevtech/instautils/InstaPost.kt: -------------------------------------------------------------------------------- 1 | package com.sanjaydevtech.instautils 2 | 3 | /** 4 | * InstaPost Object 5 | * 6 | * [url] holds the actual image or video url 7 | * 8 | * [type] may be constants [INSTA_IMAGE] or [INSTA_VIDEO] or [INSTA_PROFILE] 9 | * 10 | * [thumbnailUrl] is the same as url for type [INSTA_IMAGE], 11 | * but a low res image for [INSTA_VIDEO] and [INSTA_PROFILE] 12 | */ 13 | data class InstaPost internal constructor( 14 | val url: String, 15 | val type: Int, 16 | val thumbnailUrl: String) { 17 | 18 | companion object { 19 | /** InstaPost object is from a Image */ 20 | const val INSTA_IMAGE = 0 21 | 22 | /** InstaPost object is from a Video */ 23 | const val INSTA_VIDEO = 1 24 | 25 | /** InstaPost object is from a Instagram Profile */ 26 | const val INSTA_PROFILE = 2 27 | } 28 | } -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 13 | 14 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Sanjay Developer 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id 'com.android.application' 3 | id 'kotlin-android' 4 | } 5 | android { 6 | compileSdk 34 7 | 8 | defaultConfig { 9 | applicationId "com.sanjaydevtech.instarepost" 10 | minSdk 16 11 | targetSdk 34 12 | versionCode 1 13 | versionName "1.0" 14 | 15 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 16 | } 17 | 18 | buildTypes { 19 | release { 20 | minifyEnabled false 21 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 22 | } 23 | } 24 | namespace "com.sanjaydevtech.instarepost" 25 | compileOptions { 26 | sourceCompatibility JavaVersion.VERSION_17 27 | targetCompatibility JavaVersion.VERSION_17 28 | } 29 | kotlinOptions { 30 | jvmTarget = '17' 31 | } 32 | } 33 | 34 | dependencies { 35 | implementation 'androidx.core:core-ktx:1.12.0' 36 | implementation 'androidx.appcompat:appcompat:1.6.1' 37 | implementation 'androidx.constraintlayout:constraintlayout:2.1.4' 38 | implementation project(':instautils') 39 | } -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | All notable changes to this project will be documented in this file. 3 | 4 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 5 | - `Added` for new features. 6 | - `Changed` for changes in existing functionality. 7 | - `Deprecated` for soon-to-be removed features. 8 | - `Removed` for now removed features. 9 | - `Fixed` for any bug fixes. 10 | - `Security` in case of vulnerabilities. 11 | 12 | *** 13 | ## [1.2.3] - 27/10/2023 14 | ### Changed 15 | - Removed JFrog publish configurations and moved to jitpack.io 16 | - Upgraded the java version to 17 17 | - Upgraded the gradle and dependency versions 18 | 19 | *** 20 | 21 | ## [1.2.0] - 07/01/2021 22 | ### Changed 23 | - Moved all methods to InstaDownloader class to unify apis 24 | 25 | *** 26 | 27 | ## [1.1.0] - 06/01/2021 28 | ### Added 29 | - Support for fragments 30 | 31 | ### Changed 32 | - AsyncTask to Kotlin Coroutines 33 | 34 | *** 35 | 36 | ## [1.0.2] - 07/09/2020 37 | ### Added 38 | - Can fetch Instagram DP 39 | 40 | *** 41 | 42 | ## [1.0.1] - 06/09/2020 43 | ### Added 44 | - Can get both image and video download links 45 | 46 | ### Changed 47 | - Approached a new efficient method to retrieve the link 48 | 49 | *** 50 | 51 | ## [1.0.0] - 06/09/2020 52 | ### Added 53 | - Get the direct download link for image post 54 | -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 14 | 15 | 19 | 20 | 24 | 25 | 29 | 30 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | # AndroidX package structure to make it clearer which packages are bundled with the 15 | # Android operating system, and which are packaged with your app's APK 16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 17 | android.useAndroidX=true 18 | # Kotlin code style for this project: "official" or "obsolete": 19 | kotlin.code.style=official 20 | # Enables namespacing of each library's R class so that its R class includes only the 21 | # resources declared in the library itself and none from the library's dependencies, 22 | # thereby reducing the size of the R class for that library 23 | android.nonTransitiveRClass=true 24 | android.defaults.buildfeatures.buildconfig=true 25 | android.nonFinalResIds=false 26 | org.gradle.unsafe.configuration-cache=true -------------------------------------------------------------------------------- /instautils/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id 'com.android.library' 3 | id 'kotlin-android' 4 | id 'maven-publish' 5 | } 6 | 7 | android { 8 | compileSdk 34 9 | 10 | defaultConfig { 11 | minSdk 16 12 | targetSdk 34 13 | 14 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 15 | consumerProguardFiles "consumer-rules.pro" 16 | } 17 | 18 | buildTypes { 19 | release { 20 | minifyEnabled false 21 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 22 | } 23 | } 24 | namespace 'com.sanjaydevtech.instautils' 25 | compileOptions { 26 | sourceCompatibility JavaVersion.VERSION_17 27 | targetCompatibility JavaVersion.VERSION_17 28 | } 29 | kotlinOptions { 30 | jvmTarget = '17' 31 | } 32 | } 33 | afterEvaluate { 34 | publishing { 35 | publications { 36 | release(MavenPublication) { 37 | groupId = project.group 38 | artifactId = 'instautils' 39 | version = project.version 40 | from components.release 41 | } 42 | } 43 | } 44 | } 45 | dependencies { 46 | implementation 'androidx.core:core-ktx:1.12.0' 47 | api "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1" 48 | api "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1" 49 | api "androidx.lifecycle:lifecycle-runtime-ktx:2.6.2" 50 | implementation 'androidx.appcompat:appcompat:1.6.1' 51 | implementation 'com.github.bumptech.glide:glide:4.11.0' 52 | implementation 'org.jsoup:jsoup:1.11.2' 53 | } 54 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: android 2 | 3 | jdk: oraclejdk8 4 | 5 | sudo: false 6 | 7 | before_cache: 8 | - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock 9 | - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ 10 | 11 | cache: 12 | directories: #Cache all dirs under .gradle folder 13 | - $HOME/.gradle/daemon #Cache daemon logs 14 | - $HOME/.gradle/native #Cache library downloaded from the gradle dependency 15 | - $HOME/.gradle/wrapper #Cache the gradle 16 | 17 | android: 18 | components: 19 | - tools 20 | - platform-tools 21 | - android-22 22 | - sys-img-armeabi-v7a-android-22 23 | 24 | # Additional components 25 | - extra-google-google_play_services 26 | - extra-google-m2repository 27 | - extra-android-m2repository 28 | 29 | licenses: 30 | - 'android-sdk-preview-license-52d11cd2' 31 | - 'android-sdk-license-.+' 32 | - 'google-gdk-license-.+' 33 | 34 | before_install: 35 | - mkdir "$ANDROID_HOME/licenses" || true 36 | - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license" 37 | - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license" 38 | - chmod +x gradlew 39 | - echo ${ANDROID_HOME} 40 | - echo "y" | ${ANDROID_HOME}/tools/bin/sdkmanager "platforms;android-30" 41 | - echo "y" | ${ANDROID_HOME}/tools/bin/sdkmanager "build-tools;30.0.2" 42 | - echo "y" | ${ANDROID_HOME}/tools/bin/sdkmanager "extras;android;m2repository" 43 | - echo "y" | ${ANDROID_HOME}/tools/bin/sdkmanager "extras;google;m2repository" 44 | - export LANG=en_US.UTF-8 45 | 46 | script: 47 | - ./gradlew clean build 48 | 49 | deploy: 50 | provider: script 51 | script: ./gradlew bintrayUpload 52 | 53 | on: 54 | tags: true 55 | branch: master 56 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 15 | 18 | 21 | 22 | 23 | 24 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_second.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 22 | 23 |