All Questions

2
answers

Real time update on Android apps

Looking at API of instagram and doing searches on the internet I had a big question, how do they synchronize the data in Real Time without saving "photos and videos" in sqlite? The Instagram documentation says that our app can be not...
asked on 30.06.2015 / 02:43
1
answer

How to access data from the innermost "level" of a JSON?

I needed a way to access the innermost "level" of JSON below: (name, value, last query and source) { "status": true, "valores": { "USD": { "nome": "Dólar", "valor": 2.333, "ultima_consulta":...
asked on 09.10.2015 / 18:59
1
answer

Understanding the pythonic way of dealing with properties

I'm trying to figure out how this python properties issue works. But the problem is that in all the net tutorials out there I only find the damn example with only one attribute. I'm looking for an example where you have more to do with day to da...
asked on 01.07.2015 / 01:56
1
answer

netbeans change the jdk from java

I've updated my java, and removed the previous version, now on boot netbeans gets a message that did not find version 1.7 and asks if I want to use the default version. Does anyone know where I change this setting so I will not be seeing thi...
asked on 18.09.2015 / 12:39
3
answers

Handle items from an Action Bar outside the scope of onCreateOptionsMenu ()

I have in my Action Bar an item to display progress (a ProgressBar) if a request is occurring. When the request occurs, I must show the ProgressBar and hide the other items, when the request ends, I must hide the ProgressBar and show the other i...
asked on 17.09.2015 / 21:07
2
answers

How to close a JFrame using keyboard events?

I have a JFrame that I want to close when I press the Esc key ... Well, I did this: public Cadastro() { addKeyListener(this); And then this: public void keyTyped(KeyEvent evt) { if(evt.getKeyCode() == KeyEvent.VK_ESCAPE){...
asked on 26.03.2015 / 21:08
1
answer

Does not INSERT the data in the database

Well folks, I have this code, and what happens is that since I inserted the part to upload an image it does not send anything to the database. Not a new line creates, nothing at all. Can someone help me? <? require('../cdn/lib/config.ph...
asked on 03.05.2015 / 21:02
2
answers

Run function only once after site loading

A friend passed me a script from a box that opens when someone enters the site, but refreshing the page appears again. Could you help me? Below the code: function timer() { jQuery('.cloudbanner').hover(function () { jQuery('#f...
asked on 15.05.2015 / 17:30
3
answers

Why is array_shift considered to be a lentissima function?

According to the Manual, array_shift removes the first element from the array. I've seen a lot of criticism from the internet as to how to perform this function, since it reordered the entire index of the array with each removal, thus...
asked on 03.03.2015 / 14:22
1
answer

Problem with links in ckeditor

When I add a link of type www.google.com?var=1&var=2&var=3 into CKEditor it automatically inserts &amp leaving the link looking like this: www.google.com?var=1&ampvar=2&ampvar=3 Has anyone ever had...
asked on 06.03.2015 / 13:57