mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-18 09:04:21 +01:00
android: get GameActivity to launch
For some reason there are no touch inputs though Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -47,8 +47,8 @@ debug-interactive-widgets = []
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
tracing-logcat = "0.1.0"
|
||||
log = { workspace = true }
|
||||
android-activity = { version = "0.4", features = [ "native-activity" ] }
|
||||
winit = { version = "0.30.5", features = [ "android-native-activity" ] }
|
||||
android-activity = { version = "0.4", features = [ "game-activity" ] }
|
||||
winit = { version = "0.30.5", features = [ "android-game-activity" ] }
|
||||
|
||||
[package.metadata.bundle]
|
||||
name = "Notedeck"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
<meta-data
|
||||
android:name="android.app.lib_name"
|
||||
android:value="main" />
|
||||
android:value="notedeck_chrome" />
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ import com.google.androidgamesdk.GameActivity;
|
||||
|
||||
public class MainActivity extends GameActivity {
|
||||
static {
|
||||
System.loadLibrary("main");
|
||||
System.loadLibrary("notedeck_chrome");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user