Use android studio add aidl file.
This commit is contained in:
		
							
								
								
									
										3
									
								
								.idea/.gitignore
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.idea/.gitignore
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | # Default ignored files | ||||||
|  | /shelf/ | ||||||
|  | /workspace.xml | ||||||
							
								
								
									
										1
									
								
								.idea/.name
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.idea/.name
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | appbase | ||||||
							
								
								
									
										6
									
								
								.idea/compiler.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.idea/compiler.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <project version="4"> | ||||||
|  |   <component name="CompilerConfiguration"> | ||||||
|  |     <bytecodeTargetLevel target="17" /> | ||||||
|  |   </component> | ||||||
|  | </project> | ||||||
							
								
								
									
										10
									
								
								.idea/deploymentTargetDropDown.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.idea/deploymentTargetDropDown.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <project version="4"> | ||||||
|  |   <component name="deploymentTargetDropDown"> | ||||||
|  |     <value> | ||||||
|  |       <entry key="appbase"> | ||||||
|  |         <State /> | ||||||
|  |       </entry> | ||||||
|  |     </value> | ||||||
|  |   </component> | ||||||
|  | </project> | ||||||
							
								
								
									
										10
									
								
								.idea/migrations.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.idea/migrations.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <project version="4"> | ||||||
|  |   <component name="ProjectMigrations"> | ||||||
|  |     <option name="MigrateToGradleLocalJavaHome"> | ||||||
|  |       <set> | ||||||
|  |         <option value="$PROJECT_DIR$" /> | ||||||
|  |       </set> | ||||||
|  |     </option> | ||||||
|  |   </component> | ||||||
|  | </project> | ||||||
							
								
								
									
										10
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <project version="4"> | ||||||
|  |   <component name="ExternalStorageConfigurationManager" enabled="true" /> | ||||||
|  |   <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK"> | ||||||
|  |     <output url="file://$PROJECT_DIR$/build/classes" /> | ||||||
|  |   </component> | ||||||
|  |   <component name="ProjectType"> | ||||||
|  |     <option name="id" value="Android" /> | ||||||
|  |   </component> | ||||||
|  | </project> | ||||||
| @@ -1,8 +1,8 @@ | |||||||
| #Created by .winboll/winboll_app_build.gradle | #Created by .winboll/winboll_app_build.gradle | ||||||
| #Thu Feb 13 22:24:27 GMT 2025 | #Fri Feb 14 06:59:10 HKT 2025 | ||||||
| stageCount=2 |  | ||||||
| libraryProject=libappbase |  | ||||||
| baseVersion=1.5 |  | ||||||
| publishVersion=1.5.1 |  | ||||||
| buildCount=3 |  | ||||||
| baseBetaVersion=1.5.2 | baseBetaVersion=1.5.2 | ||||||
|  | baseVersion=1.5 | ||||||
|  | buildCount=6 | ||||||
|  | libraryProject=libappbase | ||||||
|  | publishVersion=1.5.1 | ||||||
|  | stageCount=2 | ||||||
|   | |||||||
| @@ -23,6 +23,10 @@ android { | |||||||
|         sourceCompatibility JavaVersion.VERSION_11 |         sourceCompatibility JavaVersion.VERSION_11 | ||||||
|         targetCompatibility JavaVersion.VERSION_11 |         targetCompatibility JavaVersion.VERSION_11 | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     buildFeatures { | ||||||
|  |         aidl true | ||||||
|  |     } | ||||||
| } | } | ||||||
|  |  | ||||||
| dependencies { | dependencies { | ||||||
|   | |||||||
| @@ -1,8 +1,8 @@ | |||||||
| #Created by .winboll/winboll_app_build.gradle | #Created by .winboll/winboll_app_build.gradle | ||||||
| #Thu Feb 13 22:23:25 GMT 2025 | #Fri Feb 14 06:59:10 HKT 2025 | ||||||
| stageCount=2 |  | ||||||
| libraryProject=libappbase |  | ||||||
| baseVersion=1.5 |  | ||||||
| publishVersion=1.5.1 |  | ||||||
| buildCount=3 |  | ||||||
| baseBetaVersion=1.5.2 | 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; | package cc.winboll.studio.libappbase; | ||||||
| interface ISOSService { | interface ISOSService { | ||||||
|     String getMessage(); |     String getMessage(); | ||||||
| } | } | ||||||
		Reference in New Issue
	
	Block a user
	 ZhanGSKen
					ZhanGSKen