All Questions

1
answer

How to indent the code in Android Studio?

How do I indent my XML and JAVA code in Android Studio? I would also like to know how to increase the source code.     
asked on 04.02.2015 / 23:46
3
answers

Compiler reports error when I try to zero vector

The compilers accuse error when I try to zero a vector with the command vetor[10] = {0}; And it only accuses error in this line because I also used it in the int vetor[10] = {0} attribution and there does not acknowledge error....
asked on 24.03.2015 / 21:15
2
answers

Backup in SQLite database

I need to back up an SQLite Android database. Ex: I'll change the device and I need to copy the application's DB to be loaded on the other Android phone. Is there a workable solution? I developed an application that uses SQLite to write...
asked on 28.10.2014 / 15:02
1
answer

How does the "Referrer Policy" header work?

I was doing some tests using Opera browser (same engine / Chrome engine) and in the HTTP request this is sent: Referrer Policy: no-referrer-when-downgrade For example in http://localhost I get this: Request URL: http://localhost/ R...
asked on 30.03.2017 / 23:39
1
answer

Good practices with .NET MVC

I have an ASP.NET MVC application and would like to know what are the best practices that microsoft indicates in the organizational question of the solution, using the latest technologies like ASP.NET Identity. Assuming the following scenario...
asked on 21.11.2014 / 20:46
2
answers

What is the difference between step over and step into debugger mode?

I would like to know what is the difference between F10 (step over) and F11 (step into). When should I use F10 and when should I use F11 ?     
asked on 09.02.2017 / 00:49
2
answers

Foreach in a CheckList in C #

private void Checked() { foreach (ListViewItem listItem in listView.Items) { if (cb_selectAll.Checked == true) { listItem.Checked = true; } if (cb_selectAll.Checked == false) {...
asked on 04.05.2017 / 17:22
2
answers

Declaration of 'var' as field of object

How could I declare a variable var public so I could get the data back. What would be the declaration of these unfilled variants: var tbuscar = ?; var retorno = ?; public bool CarregaProdutosDermaClube(string consult...
asked on 26.05.2017 / 16:53
2
answers

How to change the R language?

When I install the r tag on my machine I noticed that the menus and the exits of the console were all in Portuguese. How do I change to English? Within RGui I did not find any option to change the language and it is not possible to r...
asked on 29.01.2015 / 14:39
2
answers

How to add methods to a native class?

How to add functions in a native C # class, in my case, I tried to do in System.Math just as test: public class Math { public static double test(double a) { return a; } } And call it like this: Math.test(10);...
asked on 20.06.2017 / 00:27