All Questions

1
answer

How to change the name in the android application package?

The current name of my package is com.newapp.nomedopacote . Well, in case I want to change it to com.newapp.novopacote , without any damage to the application. I tried to simply do a refactor and it lost the R file. How can I do t...
asked on 21.02.2015 / 03:41
1
answer

Display json value in a div

How do I make a value in JS appear in html content? app.js // BUSCA OCORRENCIAS $("#menuOcorrencia").click(function() { var operacao = "selectOcorrencias"; $.getJSON("http://url.com.br/appOperacoes.php", {operacao:operacao,con...
asked on 21.12.2015 / 02:51
2
answers

How to receive data via POST, sent from android to webservice PHP?

I've done a webservice in java, now I'm switching to PHP and I'm having trouble implementing a page that receives via POST a JSON that the Android app sends. ANDROID public static String POST(Context context, String endereco, String jso...
asked on 22.01.2015 / 18:17
2
answers

How to avoid abrupt page break when printing a html table

I'm developing an html page, to be printed later. But when printing I noticed that the breaking of pages in the middle of tables, are getting strange and abrupt, as you can see in the following image: SohowcouldItreatsothatatthetimeofprint...
asked on 13.02.2015 / 18:03
1
answer

I can not persist the data in the Bank

I think I'm doing something wrong in this class because it's the only one on my system that is not persisting in the database. What am I forgetting to make it work? The incluir() method? If I run a var_dump($log) , before calling...
asked on 03.02.2015 / 22:08
1
answer

Two conditions in SQL query with Laravel 4

I need to query MySQL with two conditions. I tried to do this: $query=DB::table('veteranos')->where('ra', '2300')->where('flag', 0)->pluck('ra'); In this way, the second condition is not working, that is, the query takes values oth...
asked on 21.12.2015 / 13:04
2
answers

Search with MySQL PDO in Array

I have this code: $whereBusca = "itaim-bibi"; $whereBusca = explode(',', $whereBusca); $sql = $pdo->prepare('SELECT id, nome, caminho FROM regiao WHERE caminho IN (:whereBusca)'); $sql->execute(array("whereBusca" => "'".implode("','"...
asked on 18.12.2015 / 14:11
2
answers

Angular JS - Get the value sent by the select of a directive

I have a directive that returns me a select that when selected I want to get the value of the code from the controller and make an HTTP request. Plunker: link     
asked on 23.12.2015 / 18:37
1
answer

Manipulate services with powershell

I've created a script to start and stop a service. My intention is to be able to start or stop a service through a simple mouse click on a desktop shortcut. I created a shortcut to the script and in the target field in the shortcut properties I...
asked on 24.01.2016 / 13:02
1
answer

How should the perfect wordpress blog backup be done?

I've been looking for some time on the internet how to backup the theme I'm developing in wordpress and database . I use xampp and banco de dados in phpMyAdmin . I've found several tutorials, but I'm not feeling secure...
asked on 20.12.2015 / 00:53