Skip to content

Commit

Permalink
upgrade android sdk version 33
Browse files Browse the repository at this point in the history
  • Loading branch information
GautamChibde committed Jun 15, 2023
1 parent 3b48e43 commit f143751
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 24 deletions.
29 changes: 23 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,37 @@
<h1 align="center"> <img src="http://res.cloudinary.com/dvkxfgprc/image/upload/v1511626276/logo_lfjxrd.png"></h1>

[![CircleCI](https://circleci.com/gh/GautamChibde/android-audio-visualizer/tree/master.svg?style=svg)](https://circleci.com/gh/GautamChibde/android-audio-visualizer/tree/master) [![codebeat badge](https://codebeat.co/badges/0f34e433-9e0b-44a4-90da-b53d644848b9)](https://codebeat.co/projects/github-com-gautamchibde-android-audio-visualizer-master) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.gautamchibde/audiovisualizer/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.gautamchibde/audiovisualizer) [![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14)
[![CircleCI](https://circleci.com/gh/GautamChibde/android-audio-visualizer/tree/master.svg?style=svg)](https://circleci.com/gh/GautamChibde/android-audio-visualizer/tree/master) [![codebeat badge](https://codebeat.co/badges/0f34e433-9e0b-44a4-90da-b53d644848b9)](https://codebeat.co/projects/github-com-gautamchibde-android-audio-visualizer-master) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.gautamchibde/audiovisualizer/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.gautamchibde/audiovisualizer) [![API](https://img.shields.io/badge/API-19%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=19)


# Demo

![Alt text](http://res.cloudinary.com/dvkxfgprc/image/upload/c_scale,w_440/v1511428471/giphy_6_usdiet.gif) ![Alt text](http://res.cloudinary.com/dvkxfgprc/image/upload/c_scale,w_440/v1511431630/giphy_10_yye0fe.gif) ![Alt text](http://res.cloudinary.com/dvkxfgprc/image/upload/c_scale,w_440/v1511429199/giphy_7_usq2vh.gif) ![Alt text](http://res.cloudinary.com/dvkxfgprc/image/upload/c_scale,w_440/v1511430406/giphy_8_ww3jdz.gif) ![Alt text](http://res.cloudinary.com/dvkxfgprc/image/upload/c_scale,w_440/v1511427632/giphy_5_vixwer.gif) ![Alt text](https://res.cloudinary.com/dvkxfgprc/image/upload/c_scale,w_440/v1565943473/Animated_GIF-downsized_large_wirzqk.gif)

# Importing the Library

Add to build.gradle:
Apache Maven

```xml
<dependency>
<groupId>io.github.gautamchibde</groupId>
<artifactId>audiovisualizer</artifactId>
<version>2.2.5</version>
</dependency>
```

Gradle Groovy DSL

```groovy
dependencies {
implementation 'io.github.gautamchibde:audiovisualizer:2.2.5'
}
implementation 'io.github.gautamchibde:audiovisualizer:2.2.5'
```
Library is available in jcenter repository

Gradle Kotlin DSL

```kotlin
implementation("io.github.gautamchibde:audiovisualizer:2.2.5")
```

Library is available in maven repository [here](https://search.maven.org/artifact/io.github.gautamchibde/audiovisualizer)

# How to use

Expand Down
11 changes: 5 additions & 6 deletions audiovisualizer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ group = "io.github.gautamchibde"
version = findProperty('LIBRARY_VERSION') ? findProperty('LIBRARY_VERSION') : "1.0.13-snapshot" //Hardcoding snapshot version if none exist in environment variable

android {
compileSdkVersion 30
buildToolsVersion '30.0.3'
compileSdkVersion 33

defaultConfig {
minSdkVersion 14
targetSdkVersion 30
minSdkVersion 19
targetSdkVersion 33

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

Expand All @@ -35,8 +34,8 @@ dependencies {
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.1', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'androidx.appcompat:appcompat:1.0.0'
testImplementation 'junit:junit:4.12'
implementation 'androidx.appcompat:appcompat:1.6.1'
testImplementation 'junit:junit:4.13.2'
}

println("Version to use")
Expand Down
12 changes: 6 additions & 6 deletions sample/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 30
buildToolsVersion '30.0.3'
compileSdkVersion 33
defaultConfig {
applicationId "com.chibde.audiovisualizer.sample"
minSdkVersion 15
targetSdkVersion 30
minSdkVersion 19
targetSdkVersion 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand All @@ -25,6 +24,7 @@ dependencies {
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.1', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'androidx.appcompat:appcompat:1.0.0'
testImplementation 'junit:junit:4.12'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0'
testImplementation 'junit:junit:4.13.2'
}
20 changes: 14 additions & 6 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<activity
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.VIEW" />
Expand All @@ -22,39 +24,45 @@
</activity>
<activity
android:name=".visualizer.LineVisualizerActivity"
android:exported="true"
android:label="@string/line_visualizer">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".visualizer.BarVisualizerActivity"
android:exported="true"
android:label="@string/bar_visualizer">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".visualizer.CircleVisualizerActivity"
android:label="@string/circle_visualizer"/>
android:label="@string/circle_visualizer"
android:exported="true"/>
<activity
android:name=".visualizer.CircleBarVisualizerActivity"
android:label="@string/circle_bar_visualizer">
android:label="@string/circle_bar_visualizer"
android:exported="true">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".visualizer.LineBarVisualizerActivity"
android:label="@string/line_bar_visualizer">
android:label="@string/line_bar_visualizer"
android:exported="true">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>

<activity
android:name=".visualizer.SquareBarVisualizerActivity"
android:label="@string/square_bar_visualizer">
android:label="@string/square_bar_visualizer"
android:exported="true">

<meta-data
android:name="android.support.PARENT_ACTIVITY"
Expand All @@ -65,7 +73,7 @@
android:name=".MediaPlayerService"
android:exported="false" />

<activity android:name=".ServiceExampleActivity">
<activity android:name=".ServiceExampleActivity" android:exported="true">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
Expand Down

0 comments on commit f143751

Please sign in to comment.