Questions tagged [android-gameactivity]

AGDK is a collections of libraries includes:

  • Game Activity (Which has bigger audiences)
  • Frame Pacing (a.k.a, Swappy)
  • Game Controller
  • Game Text Input
  • AGDE(Visual Studio Plugin)

Game Activity is the replacement for NativeActivity, with performance and stability enhancements, benefits to all high performance C/C++ applications on Android: saving developers from creating excessive JNI code.

7 questions
2
votes
2 answers

Proguard rules for Jetpack GameActivity

I'm trying to use Jetpack GameActivity in my project, but I encounter a strange issue with Proguard. My project has 2 modules, app and my-lib: my-lib module has MyActivity which extends GameActivity: api 'androidx.games:games-activity:1.2.1' app…
L.Nam
  • 173
  • 1
  • 7
1
vote
1 answer

GameActivity template fails cmake build

Cmake fails using the GameActivity template. To recreate the problem: Use the GameActivity template from Android Developer to create a new project. How do I get GameActivity working? I tried: [CXX1405] exception while building Cmake using [local…
0
votes
1 answer

I am unable to open up a new activity for an EndingScreen for my game

So I am a new programmer and I have a project due, so I was working on developing a basic game, the problem is once the player dies its supposed to open up a new activity for the ending screen so that i can take them back to the menu whilst also…
0
votes
1 answer

How to render Unreal View without inheriting Unreal Game Activity from Android

I'm going to show Unreal View only at the top of Android activity, and I'm going to show Android Native UI at the bottom. The app is a screen with only the native UI, a screen mixed with the Unreal View, and a screen with only the Unreal…
0
votes
1 answer

Android capture a GameActivity View as Bitmap

I am using Jetpack's GameActivity to render my game in Android, and I am adding some native views on the top of it in the Kotlin code. I would like a way to capture the entire screen as a Bitmap, but somehow the OpenGL rendered things do not appear…
0
votes
1 answer

How can I run GameActivity template in Android Studio?

I've found GameActivity template when I create Android Project. I ran it but First of all, the minSdk must be over 29(from 30) Second of all, control part source seems broken. void Renderer::handleInput() { // handle all queued inputs for…
c-an
  • 3,543
  • 5
  • 35
  • 82
0
votes
1 answer

How to find AGDK GameTextInput package in CMakeLists?

I'm trying to follow the instructions here for integrating GameTextInput from the AGDK (Android Game Development Kit), but am having trouble with the CMakeLists part. Adding this line as instructed: find_package(game-text-input REQUIRED…
Bungles
  • 1,969
  • 2
  • 25
  • 54