From 39fda1b5da45759f492269767d028c5efbb2a997 Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Fri, 14 Feb 2025 07:04:21 +0800 Subject: [PATCH] Use android studio add aidl file. --- .idea/.gitignore | 3 +++ .idea/.name | 1 + .idea/compiler.xml | 6 ++++++ .idea/deploymentTargetDropDown.xml | 10 ++++++++++ .idea/migrations.xml | 10 ++++++++++ .idea/misc.xml | 10 ++++++++++ appbase/build.properties | 12 ++++++------ libappbase/build.gradle | 4 ++++ libappbase/build.properties | 12 ++++++------ .../studio/libappbase/ISOSServiceInterface.aidl | 13 +++++++++++++ .../libappbase/{ISOSService.aidl => temp.txt} | 2 +- 11 files changed, 70 insertions(+), 13 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/.name create mode 100644 .idea/compiler.xml create mode 100644 .idea/deploymentTargetDropDown.xml create mode 100644 .idea/migrations.xml create mode 100644 .idea/misc.xml create mode 100644 libappbase/src/main/aidl/cc/winboll/studio/libappbase/ISOSServiceInterface.aidl rename libappbase/src/main/java/cc/winboll/studio/libappbase/{ISOSService.aidl => temp.txt} (98%) diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..3553804 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +appbase \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..b589d56 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml new file mode 100644 index 0000000..ed59606 --- /dev/null +++ b/.idea/deploymentTargetDropDown.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/migrations.xml b/.idea/migrations.xml new file mode 100644 index 0000000..f8051a6 --- /dev/null +++ b/.idea/migrations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..0ad17cb --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/appbase/build.properties b/appbase/build.properties index 6505c45..ebaf626 100644 --- a/appbase/build.properties +++ b/appbase/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Thu Feb 13 22:24:27 GMT 2025 -stageCount=2 -libraryProject=libappbase -baseVersion=1.5 -publishVersion=1.5.1 -buildCount=3 +#Fri Feb 14 06:59:10 HKT 2025 baseBetaVersion=1.5.2 +baseVersion=1.5 +buildCount=6 +libraryProject=libappbase +publishVersion=1.5.1 +stageCount=2 diff --git a/libappbase/build.gradle b/libappbase/build.gradle index 15ccce1..b51a541 100644 --- a/libappbase/build.gradle +++ b/libappbase/build.gradle @@ -23,6 +23,10 @@ android { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } + + buildFeatures { + aidl true + } } dependencies { diff --git a/libappbase/build.properties b/libappbase/build.properties index db43a79..ebaf626 100644 --- a/libappbase/build.properties +++ b/libappbase/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Thu Feb 13 22:23:25 GMT 2025 -stageCount=2 -libraryProject=libappbase -baseVersion=1.5 -publishVersion=1.5.1 -buildCount=3 +#Fri Feb 14 06:59:10 HKT 2025 baseBetaVersion=1.5.2 +baseVersion=1.5 +buildCount=6 +libraryProject=libappbase +publishVersion=1.5.1 +stageCount=2 diff --git a/libappbase/src/main/aidl/cc/winboll/studio/libappbase/ISOSServiceInterface.aidl b/libappbase/src/main/aidl/cc/winboll/studio/libappbase/ISOSServiceInterface.aidl new file mode 100644 index 0000000..cfe530a --- /dev/null +++ b/libappbase/src/main/aidl/cc/winboll/studio/libappbase/ISOSServiceInterface.aidl @@ -0,0 +1,13 @@ +// ISOSServiceInterface.aidl +package cc.winboll.studio.libappbase; + +// Declare any non-default types here with import statements + +interface ISOSServiceInterface { + /** + * Demonstrates some basic types that you can use as parameters + * and return values in AIDL. + */ + void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat, + double aDouble, String aString); +} \ No newline at end of file diff --git a/libappbase/src/main/java/cc/winboll/studio/libappbase/ISOSService.aidl b/libappbase/src/main/java/cc/winboll/studio/libappbase/temp.txt similarity index 98% rename from libappbase/src/main/java/cc/winboll/studio/libappbase/ISOSService.aidl rename to libappbase/src/main/java/cc/winboll/studio/libappbase/temp.txt index e2969c2..64dfb87 100644 --- a/libappbase/src/main/java/cc/winboll/studio/libappbase/ISOSService.aidl +++ b/libappbase/src/main/java/cc/winboll/studio/libappbase/temp.txt @@ -2,4 +2,4 @@ package cc.winboll.studio.libappbase; interface ISOSService { String getMessage(); -} +} \ No newline at end of file