All Questions

1
answer

Return duplicate values in arrays

My question is the following? I have the following array: $array1 = array(10, 50, 80, 40, 90); $array2 = array(10, 30, 10, 40, 20); $array3 = array(10, 60, 15, 40, 30); $array4 = array(20, 30, 40, 10, 50); $array5 = array(10, 05, 10, 90, 40);...
asked on 29.08.2016 / 19:57
1
answer

How to clone objects in Python?

In some languages, in addition to instantiating a class to construct a given object, we can also clone an existing instance, if we want an object with the same characteristics of the current instance, but without changing the original state. p>...
asked on 04.11.2016 / 11:33
1
answer

Database on Android persists information?

Does the database lose its information when you close the application? Should this be an online database?     
asked on 14.12.2016 / 04:23
2
answers

Is it possible to run Acrobat Reader without putting the entire path of your executable?

I am opening files in PDF format by Java and for this I am running Acrobat through Java also, follow the path line to the Acrobat executable: String cmd = "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe"; However, someti...
asked on 19.08.2016 / 22:26
1
answer

How to add namespaces automatically in Visual Basic?

When creating any class in C #, using Visual Studio, it automatically adds the namespace, as can be seen below: namespace Aplicacao.Modelo { class Cliente { } } In Visual Basic, it does not do the same thing: Public Class Clie...
asked on 27.12.2016 / 00:30
1
answer

How to summarize a text within span? [duplicate]

Well I have the following code: <span>TÍTULO CONTAINER TEXO TEXTO TEXO TEXTO</span> I need this span to have width: 100% and that it has no line break, if the text is too large it has to summarize and put ( .....
asked on 30.12.2016 / 12:47
2
answers

How to disable button when input file is empty / selected?

So, I have a simple image upload form that I leave button disabled. I wanted to, when I select a photo or file in the input file, the enable button! <div id="botoes" class="clearfix"> <button id="btnEnvia" name="btnEnvia" class="s...
asked on 29.12.2016 / 20:22
1
answer

When it comes to the Python "list", is it wrong to call "array"?

In a response to a question I asked here on the site, I corrected a user who wrote "array" when referring to a Python "list". I did this for the sake of being a common nomenclature to be used in Python, although I know that list of Pyt...
asked on 12.12.2016 / 13:46
3
answers

How to detect a mobile device in Javascript?

I have a web application with AngularJS, where I need to know if the user is on a mobile device to improve their experience, putting buttons to make calls, send messages, etc. I have a directive that will display an element from this test:...
asked on 04.04.2017 / 18:52
1
answer

Connection with WebService SOAP WSDL with XML return

I have the following code that works perfectly. The webservice return is XML , but the return I'm getting is a string. What should I do to get XML as a return and not a string? $client = new SoapClient('http://www.roveri.inf.br/ws...
asked on 30.01.2017 / 13:23