Use android studio add aidl file.
This commit is contained in:
		@@ -23,6 +23,10 @@ android {
 | 
			
		||||
        sourceCompatibility JavaVersion.VERSION_11
 | 
			
		||||
        targetCompatibility JavaVersion.VERSION_11
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    buildFeatures {
 | 
			
		||||
        aidl true
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
dependencies {
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
}
 | 
			
		||||
@@ -2,4 +2,4 @@
 | 
			
		||||
package cc.winboll.studio.libappbase;
 | 
			
		||||
interface ISOSService {
 | 
			
		||||
    String getMessage();
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user