Top "Runtime" questions

Runtime is the time during which a program is running (executing)

Android determine screen orientation at runtime

Here's a pseudo code to detect screen rotate event, and decide to retain or changes the screen orientation. public boolean …

android runtime orientation
Doing Tic Tac Toe game with GUI interface on java, facing runtime error after including new method

So I am making a tic tac toe game with user friendly GUI interface. I have almost completed the game …

java runtime infinite-sequence
Requesting and allowing WRITE_EXTERNAL_STORAGE permission at runtime has no effects on the current session

this is regarding the new model of runtime permissions introduced in Android Marshmallow when requesting Manifest.permission.WRITE_EXTERNAL_STORAGE …

android permissions runtime file-permissions android-6.0-marshmallow
How To Run Mac OS Terminal Commands From Java (Using Runtime?)

I've been looking up ways to run external programs using Java's runtime. This works fine, for instance: String[] cmd = {"mkdir", "…

java macos bash runtime runtime.exec
Getting the name of a method parameter

In Java 6, imagine I have the following method signature: public void makeSandwich(Bread slice1, Bread slice2, List<Filling> …

java reflection runtime java-6
Runtime.exec() : Reboot in Android?

I'm looking for a solution which can be used to reboot a rooted device. I jknow that rebooting a device …

java android runtime root reboot
What is the difference between runtime and compile-time?

So what is a runtime? Is it a virtual machine that executes half-compiled code that cannot run on a specific …

c# compilation runtime compile-time
How do I get at the goodies in my Grails Config.groovy at runtime?

in Config.groovy I see this: // set per-environment serverURL stem for creating absolute links environments { production { grails.serverURL = "http://www.…

configuration grails runtime
about java: get `String[].class` from `String.class`, what if `String.class` is a "runtime type"?

Here is a variable Class<?> cls, now I want to get another Array Class Object which component type …

java arrays class reflection runtime
How to get the caller class name inside a function of another class in python?

My objective is to stimulate a sequence diagram of an application for this I need the information about a caller …

python stack runtime sequence-diagram