feat: 初始化XMBOX项目
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/build
|
||||
@@ -0,0 +1,19 @@
|
||||
plugins {
|
||||
id 'com.android.library'
|
||||
}
|
||||
|
||||
android {
|
||||
namespace 'com.east.android.zlive'
|
||||
|
||||
compileSdk 35
|
||||
|
||||
defaultConfig {
|
||||
minSdk 21
|
||||
targetSdk 28
|
||||
ndk { abiFilters "armeabi-v7a" }
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api 'net.java.dev.jna:jna:5.2.0'
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest />
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.east.android.zlive;
|
||||
|
||||
import com.sun.jna.Library;
|
||||
import com.sun.jna.Native;
|
||||
|
||||
public interface ZLive extends Library {
|
||||
|
||||
ZLive INSTANCE = Native.load("core", ZLive.class);
|
||||
|
||||
void OnLiveStart(long port);
|
||||
|
||||
void OnLiveStop();
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user