All Questions

1
answer

How to increase the text size of a WebView?

My app reads from RSS. but what bothers me is the letter that is small, I want to leave it a little bigger than to be visually "right" by default. It is like this: ButIwanttomakeitbiggertogetbetterreadingoftheuser.Forexample: Code: Detai...
asked on 01.12.2014 / 00:54
4
answers

Is there an event that captures size changes of an HTML element?

I wonder if there is an event that captures size changes of an HTML element. For example, a div with 5000px height is 4800px and Javascript onresize() fault does not fire. Is there an event that captures this? HTML: <div id="tes...
asked on 09.12.2014 / 14:40
2
answers

Comparing prepare () vs query () with mysqli

I made a query in the database, with query() using mysqli and num_rows to return the number of lines, see the code: $consulta = $mysqli -> query("SELECT * FROM tabela WHERE Pedido = '$pedido' AND Email = '$email' "); $linhas =...
asked on 19.01.2015 / 15:10
3
answers

Are objects similar to arrays?

Objects are arrays in JavaScript? I have difficulty understanding how this is possible: var obj = { title: 'some value' } console.log(obj['title']); // some value In my conception the use of brackets is only possible in lists to pass a...
asked on 08.04.2016 / 19:20
3
answers

How do I work with responsive design?

I use Media Queries, right, and my layout will have to adapt to various devices like tablets, iphone, smartphones, notebook and TVs, however I found a problem on the tablet in landscape mode, it has an approximate resolution of 1024x768 ,...
asked on 15.04.2015 / 14:31
3
answers

Condition within a .each ()

The problem is this, I have 9 li inside a ul <ul> <li>Teste1</li> <li>Teste2</li> <li>Teste3</li> <li>Teste4</li> <li>Teste5</li> <li>Teste6</...
asked on 29.01.2016 / 16:17
3
answers

Adapt JS code to IE8 and IE9

How can I make this code work in IE8 and IE9, because it works only in 10 $("#input_file").change( function(event) { var tmppath = URL.createObjectURL(event.target.files[0]); $("img").attr('src',tmppath); }); Method that does not...
asked on 13.01.2015 / 18:36
3
answers

Turn Number into binary text

How do I get the representation of a Number (integer) in binary with JavaScript? Ex: 47 = 00101111     
asked on 04.11.2016 / 00:55
3
answers

What is the simplest way to create a mask for numbers in PHP?

I have two ways to create masks for numbers in PHP, however I do not know if it is the most elegant and effective, so I would like comments to improve the code. I need the function to behave as follows: Format numbers with less than 8 num...
asked on 26.08.2015 / 17:24
4
answers

How can I replace String.isEmpty () in Java?

I have the following: data = new Json().execute(URL).get(); System.out.println(data); if (!data.isEmpty()) { //erro neste data.isEmpty I have an error:    has an error: Call requires API level 9 (current min is 8): java.lan...
asked on 13.07.2016 / 05:30