User-interactivity is the dialog that occurs between a human being and a computer program.
Questions tagged [user-interaction]
326 questions
1
vote
1 answer
Android - onDestroy() called after onCreate()
I have a screensaver activity running, a small animation. When the user touches the screen, they are moved to my MainActivity. To do so, I am overriding the method "onUserInteraction()". In case you're not familiar, any physical touch to the…

FoxDonut
- 252
- 2
- 14
1
vote
2 answers
Disable tableView, but enable UINavigationController's back button
I am disabling a UITableView while displaying a UIActivityIndicatorView, and I just wanted to know how I could enable the UINavigationController's back button while the UITableView is disabled?

max_
- 24,076
- 39
- 122
- 211
1
vote
1 answer
Long string in InputField is cut when stored
I'm coding an Android game in Unity and I want the user to be able to input a long string in an Input Field and then display it in another Text component.
The problem is that although the Input Field text limit is set to 0 (so infinite according to…

Mike
- 21
- 3
1
vote
3 answers
Find area of quadrilateral given coordinates the of vertices
I'm a student learning Java, and I had a question about an example we did in class.
The goal of the exercise was to get the (x, y) coordinates of the 4 vertices of a quadrilateral through user interaction, with which we would then find the area of…

12345
- 11
- 1
- 4
1
vote
1 answer
How can I hide a label when tap has finished?
When I tap on the chart it shows a value and highlight indicator. How can I remove them after the tap finishes?
func SetChart(_ dataPoints: [Date], values: [Double], lineChartView: LineChartView, description: String) {
…

Maruta
- 1,063
- 11
- 24
1
vote
1 answer
Handle user interaction in application
In my application I use this when I want to disable the user interaction:
UIApplication.shared.beginIgnoringInteractionEvents()
But how does the above row differ from:
self.view.isUserInteractionEnabled = false
Is it any rules of when to use some…
user8208354
1
vote
1 answer
Bash Y/N prompt accepting also the ENTER key
I am trying to create a script a Y/n prompt in bash which in case of hitting the ENTER key to execute the script. So far I have created the script to accept only Yes/No answers and to read only the first letter and ignore the rest:
while true; do
…

Georgi Stoyanov
- 594
- 1
- 9
- 26
1
vote
1 answer
How do you create an interactive menu in scheme
I have recently been given the task to create a program that requires one to make use of a menu. However, I have no idea how to create a window and make it display text that can be interacted with using a certain key, let's say the 'enter' key. Does…

Vincent VD
- 51
- 4
1
vote
1 answer
Automating user inputs to an INTERACTIVE Ruby console
There is a Ruby file called ABC (for eg). Now this file is called from a Batch file called Batch.bat.
So I would run the Batch file like this:
Batch.bat ip username password.
Now the process goes to Ruby console and provides output as a file…

superuser33333
- 113
- 1
- 11
1
vote
1 answer
WPF WebBrowser- disable user interaction with content displayed in browser
I am using the System.Windows.Controls.WebBrowser web browser to enable users to view PDF files from within my WPF application.
I now want to prevent the user from having any options for interaction with the content displayed in the browser (i.e.…

Noble-Surfer
- 3,052
- 11
- 73
- 118
1
vote
0 answers
Interaction pop view controller from top to bottom swipe
I am using this code to animate view controller with scale transition-
if (self.isPresenting) {
[containerView addSubview:toVC.view];
[toVC.view setAlpha:0];
CGAffineTransform xForm = toVC.view.transform;
toVC.view.transform =…

San007
- 762
- 1
- 9
- 30
1
vote
1 answer
Programmatically applying zoom on ILNumerics ILPlotCube
I have two images and plot them as surfaces. I am zooming on one image by drawing a zoom rectangle, using the built-in functionality of ILPlotCube. How can I apply the resulting zoom settings to the second image programmaticall, i.e.: without…

james
- 25
- 4
1
vote
1 answer
R: User interaction in console for executing function in R
I was wondering if there are any simple ways to implement user interaction in executing a script in R?
For example if I have a simple function that adds data to an existing dataframe. I would like to let the user decide if additional data should be…

kurdtc
- 1,551
- 5
- 21
- 39
1
vote
1 answer
Resizeable Rectangle Overlay in Android
I am trying to make an Application in which a user Click an image.
After clicking image there should come 3 rectangles which can be moved and resized according to the text in image.
So My question is How to make those 3 rectangles over a view to…

Corrupt
- 313
- 4
- 16
1
vote
0 answers
Simulate user interaction with a game
Typically, when playing a game, a user is displayed in real time a bitmap representing the game state (what is actually displayed on the screen) and can send touch events to the game by touching the screen.
Is it possible for an application to…

Magix
- 4,989
- 7
- 26
- 50