mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Bare bones port of demos project to android
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package @RENDERDOC_ANDROID_PACKAGE_NAME@;
|
||||
import android.os.Build;
|
||||
import android.app.Activity;
|
||||
import android.view.WindowManager;
|
||||
import android.os.Environment;
|
||||
import android.content.Intent;
|
||||
|
||||
public class Loader extends android.app.NativeActivity
|
||||
{
|
||||
/* load our native library */
|
||||
static {
|
||||
System.loadLibrary("demos");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCreate(android.os.Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user