mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-18 17:14: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:
@@ -16,7 +16,7 @@ rmpv = "1.3.0"
|
|||||||
bech32 = { version = "0.11", default-features = false }
|
bech32 = { version = "0.11", default-features = false }
|
||||||
bitflags = "2.5.0"
|
bitflags = "2.5.0"
|
||||||
dirs = "5.0.1"
|
dirs = "5.0.1"
|
||||||
eframe = { version = "0.29.1", default-features = false, features = [ "wgpu", "wayland", "x11", "android-native-activity" ] }
|
eframe = { version = "0.29.1", default-features = false, features = [ "wgpu", "wayland", "x11", "android-game-activity" ] }
|
||||||
egui = { version = "0.29.1", features = ["serde"] }
|
egui = { version = "0.29.1", features = ["serde"] }
|
||||||
egui_extras = { version = "0.29.1", features = ["all_loaders"] }
|
egui_extras = { version = "0.29.1", features = ["all_loaders"] }
|
||||||
egui_nav = { git = "https://github.com/damus-io/egui-nav", rev = "ac7d663307b76634757024b438dd4b899790da99" }
|
egui_nav = { git = "https://github.com/damus-io/egui-nav", rev = "ac7d663307b76634757024b438dd4b899790da99" }
|
||||||
|
|||||||
@@ -47,8 +47,8 @@ debug-interactive-widgets = []
|
|||||||
[target.'cfg(target_os = "android")'.dependencies]
|
[target.'cfg(target_os = "android")'.dependencies]
|
||||||
tracing-logcat = "0.1.0"
|
tracing-logcat = "0.1.0"
|
||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
android-activity = { version = "0.4", features = [ "native-activity" ] }
|
android-activity = { version = "0.4", features = [ "game-activity" ] }
|
||||||
winit = { version = "0.30.5", features = [ "android-native-activity" ] }
|
winit = { version = "0.30.5", features = [ "android-game-activity" ] }
|
||||||
|
|
||||||
[package.metadata.bundle]
|
[package.metadata.bundle]
|
||||||
name = "Notedeck"
|
name = "Notedeck"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="android.app.lib_name"
|
android:name="android.app.lib_name"
|
||||||
android:value="main" />
|
android:value="notedeck_chrome" />
|
||||||
</activity>
|
</activity>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import com.google.androidgamesdk.GameActivity;
|
|||||||
|
|
||||||
public class MainActivity extends GameActivity {
|
public class MainActivity extends GameActivity {
|
||||||
static {
|
static {
|
||||||
System.loadLibrary("main");
|
System.loadLibrary("notedeck_chrome");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user