All Questions

3
answers

Disable submit button to not make multiple calls to server [duplicate]

I'm trying to disable the button after clicking, so I will not be sending the form data multiple times if the user clicks. My button <input type="submit" class="formButton" name="send" id="send" value="Enviar"> my js...
asked on 24.12.2015 / 11:54
1
answer

Monetize Unity 5 games on Windows Phone 8.X

How do I display ads in my game made in Unity 5 to the Windows Phone 8.X platform?     
asked on 17.01.2016 / 03:00
3
answers

Aligns navbar bootstrap text vertically

I am using two navbar in my project and I have a problem to align the text of the first menu vertically, I tried to create a structure to change but I did not succeed, what I have is this: First Navbar : <div class="navb...
asked on 30.12.2015 / 19:22
1
answer

What is the best way to set up a query?

What is the best way to set up a query in C #? Is it advisable to use concatenation with the + operator? For example: query += " WHERE nome LIKE '%" + nome + "%'"; Here is a% w of% that I set as an example to illustrate the situat...
asked on 18.12.2015 / 00:24
1
answer

What are the advantages of using directives and macros?

Do policies and macros influence program performance?     
asked on 25.02.2016 / 22:30
2
answers

What is the difference between Math.random and java.util.Random?

What's the difference in using random without import , right in method. public class random { public static void main(String[] args) { int x = (int) (Math.random() * 10); System.out.println(x); } }...
asked on 13.02.2016 / 15:14
1
answer

What is the difference between * and * | *

Using * will find all elements using CSS But recently I found in some codes the use of *|* What's the difference between them?     
asked on 26.01.2016 / 14:16
1
answer

In what situations use each type of prototype in HTML elements?

In "prototypes" I have used the Element.prototype and HTMLElement.prototype several times. I wanted to know what each one is and what the difference between them is, if possible. Because in some tests, like these, I had the same re...
asked on 15.01.2016 / 15:54
1
answer

Passing optional arguments in Java

I'm trying to learn how the class works SwingWorker<T,V> , I have already done another question regarding one of his methods. Looking at the source code of this class, I found the publish() method written as follows:...
asked on 22.03.2016 / 23:17
1
answer

Why is the image distorted (does not maintain proportions) in ImageView?

I have some images inside the folder drawable and I call them via code: public void inserindoImage(ImageView image,int rid,LinearLayout linear ) { image.setBackgroundResource(rid); linear.addView(image); } Wh...
asked on 22.03.2016 / 14:43