Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
fe19f00
added Play.java service
AdityaKapal362 Jan 3, 2025
52664a2
rebuilt the MediaPlayer implements
AdityaKapal362 Jan 3, 2025
600f984
commit :P
AdityaKapal362 Jan 3, 2025
1328f6a
e
AdityaKapal362 Jan 3, 2025
992885d
q
AdityaKapal362 Jan 3, 2025
ecc1748
renamed Play.java -> ZryteZenePlay.java
AdityaKapal362 Jan 3, 2025
f7ae321
so many
AdityaKapal362 Jan 3, 2025
472b0a9
please dont ask whats new
AdityaKapal362 Jan 3, 2025
7a22652
please work
AdityaKapal362 Jan 3, 2025
2e0a71a
added things that i always forgot haiyyaa -> Intent
AdityaKapal362 Jan 4, 2025
5646879
ok now it should works
AdityaKapal362 Jan 4, 2025
e81fcc0
f
AdityaKapal362 Jan 4, 2025
5e4872f
ff
AdityaKapal362 Jan 4, 2025
b7f99dd
just compile it goddamit
AdityaKapal362 Jan 4, 2025
bf88f0c
removed getApplicationContext()
AdityaKapal362 Jan 4, 2025
4ac3874
added filter in onReceive
AdityaKapal362 Jan 4, 2025
1bf3ad5
i forgot to put a fckng ;
AdityaKapal362 Jan 4, 2025
8a0e610
Create android.yml
AdityaKapal362 Jan 4, 2025
9304dcf
fix permission issue for android 13 and higher, changed gradle build …
AdityaKapal362 Jan 4, 2025
b4aacf1
perms glitch fixed
AdityaKapal362 Jan 4, 2025
33c22ec
fixed onStartCommand
AdityaKapal362 Jan 5, 2025
fde37ad
its buggy zzzzzz
AdityaKapal362 Jan 5, 2025
d094d2f
newly added
AdityaKapal362 Jan 5, 2025
c8c224d
added some perms and background service to the androidmanifest.xml
AdityaKapal362 Jan 5, 2025
4a502ed
fixed requestAction
AdityaKapal362 Jan 5, 2025
d7b2ea0
added setup and update
AdityaKapal362 Jan 5, 2025
daff567
added a lot of things till i forgot what i have added
AdityaKapal362 Jan 5, 2025
f317ef0
deleted the old service and binder files
AdityaKapal362 Jan 5, 2025
05ec09b
fixed notification permission issue
AdityaKapal362 Jan 5, 2025
42a3f81
fixed packages, intent filter, getAction and added broadcastreceiver
AdityaKapal362 Jan 5, 2025
f42059b
added intent to open the stream via notification
AdityaKapal362 Jan 5, 2025
8520dd0
changed gradle version, fixed tmservice issues on activities
AdityaKapal362 Jan 5, 2025
ba6aab1
-
AdityaKapal362 Jan 5, 2025
144ac37
Update README.md
AdityaKapal362 Jan 5, 2025
ffba1c5
Update README.md
AdityaKapal362 Jan 5, 2025
0291209
fixed UI issue by commented 2 lines of code
AdityaKapal362 Jan 5, 2025
693743b
Merge remote-tracking branch 'origin/main'
AdityaKapal362 Jan 5, 2025
76cd674
Update README.md
AdityaKapal362 Jan 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Android CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
6 changes: 6 additions & 0 deletions .idea/compiler.xml

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

18 changes: 18 additions & 0 deletions .idea/deploymentTargetSelector.xml

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

13 changes: 13 additions & 0 deletions .idea/deviceManager.xml

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

7 changes: 3 additions & 4 deletions .idea/gradle.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/migrations.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.

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

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

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# zz-android-old
> use API 33 to build and api 28 to test
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'

android {
compileSdkVersion 30
compileSdkVersion 33
buildToolsVersion "30.0.2"

defaultConfig {
applicationId "tw.music.streamer"
minSdkVersion 21
targetSdkVersion 30
minSdkVersion 27
targetSdkVersion 33
renderscriptTargetApi 30
renderscriptSupportModeEnabled true
versionCode 27301
Expand Down
35 changes: 29 additions & 6 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

<application
android:name=".SketchApplication"
Expand All @@ -14,21 +16,22 @@
android:largeHeap="true"
android:supportsRtl="true"
android:theme="@style/AppTheme">

<activity
android:name=".MainActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:windowSoftInputMode="stateHidden">

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

<intent-filter>
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:host="zrytezene.xyz"
android:scheme="http" />
Expand All @@ -39,95 +42,115 @@
android:host="openapp"
android:scheme="zrytezene" />
</intent-filter>

</activity>

<activity
android:name=".AboutActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".UploadActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".DebugActivity"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".ThemesActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".ProfileActivity"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".LogcatActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".ChgpicActivity"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".ThemesstrActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".CropActivity"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".MessageActivity"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".StreamerActivity"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".SwthomeActivity"
android:configChanges="orientation|screenSize"
android:screenOrientation="landscape"
android:theme="@style/AppTheme.FullScreen"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".FilepickerActivity"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".UpdateappActivity"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".WizardActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".DaeditActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".SettingsActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:windowSoftInputMode="stateHidden" />

<activity
android:name=".LyricsActivity"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateHidden" />

<service
android:name=".ZryteZeneService"
android:enabled="true"
android:exported="false"
android:name="tw.music.streamer.service.ZryteZenePlay"
android:foregroundServiceType="mediaPlayback"
android:icon="@drawable/ic_launcher"
android:label="ZryteZene Audio Service" />
android:label="ZryteZene Background Service"
android:exported="true"/>

</application>
</manifest>
6 changes: 5 additions & 1 deletion app/src/main/java/tw/music/streamer/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,11 @@ private void initializeLogic() {
}

private boolean _checkPermission() {
return !(androidx.core.content.ContextCompat.checkSelfPermission(this, android.Manifest.permission.READ_EXTERNAL_STORAGE) == android.content.pm.PackageManager.PERMISSION_DENIED || androidx.core.content.ContextCompat.checkSelfPermission(this, android.Manifest.permission.WRITE_EXTERNAL_STORAGE) == android.content.pm.PackageManager.PERMISSION_DENIED);
if (Build.VERSION.SDK_INT < 33) {
return !(androidx.core.content.ContextCompat.checkSelfPermission(this, android.Manifest.permission.READ_EXTERNAL_STORAGE) == android.content.pm.PackageManager.PERMISSION_DENIED || androidx.core.content.ContextCompat.checkSelfPermission(this, android.Manifest.permission.WRITE_EXTERNAL_STORAGE) == android.content.pm.PackageManager.PERMISSION_DENIED);
} else {
return true;
}
}

@Override
Expand Down
Loading
Loading