All Questions

3
answers

Delete a specific row from an html table with jquery

Deleting the row from this table: <table> <thead> <tr><th>Cod.</th><th>Nome</th><th></th></tr> </thead> <tbody> <tr class="tbl1" data-id="1"><td>1</td>&l...
asked on 11.10.2016 / 20:10
2
answers

Do not send via POST elements inside div "display none"

I want to remove the divs that are with display:none with the remove() function of jquery and when they are selected as display:block they come back .... since I want to send a form via POST that can not receive the elements...
asked on 18.11.2016 / 05:19
4
answers

Advantages of the Inner Class

Since I started programming for Android (I believe due to Google examples), I have the habit of creating internal classes for features related to Activity . Example : If Activity connects to the database (and if the request is s...
asked on 13.01.2016 / 12:43
2
answers

Block android rotation [duplicate]

I've developed an android app but I just need it to stand and can not lie down ... What's the best way to block the rotation? Thanks     
asked on 19.11.2015 / 02:49
3
answers

What is a "__contruct ()" method?

I'm starting studies on OOP, and I came across the following method: <?php class ShopProduct { public $title = "default product"; public $producerMainName = "main name"; public $producerFirstName = "first name"; public $pric...
asked on 16.11.2016 / 14:03
3
answers

How to handle accent in .bat files?

Good morning! I'm having a hard time copying a file from one folder to another with the copy command. I'm using UTF-8 Encoding, but cmd can not handle the accent to line below: copy "C:\SVN\Makro\Templates e Orientações operacionais - Te...
asked on 03.12.2015 / 13:41
2
answers

XML serialization - NFC e-element [closed]

I'm trying to serialize an XML from the electronic invoice, but when I got to the id element where it is an Array object I packed myself because I get the error "Object reference not set to an instance of an object." Based on an XML from an NFe...
asked on 22.09.2016 / 01:22
2
answers

Pixel distribution algorithm

Well, lately I've been thinking about algorithms for creating random maps / maps and I've got a question that I'll post here for you to elucidate. Suppose I have green and yellow pixels. I'm not working with array, but rather a one-dimensiona...
asked on 04.11.2016 / 17:03
2
answers

Question and answer with if and else in Java

No matter what I answer, both "Yes" and "yes" only show ELSE . Where am I going wrong? package saudacao; import java.util.*; public class Saudacao { public static void main(String[] args) { System.out.println("Ola, bom dia, v...
asked on 25.05.2014 / 02:11
3
answers

Close connection in another method

I have a class called JavaConnect and I have two methods: ConnectDB and DesconnectDb . Connection class: public class JavaConnect { Connection conn = null; public static Connection ConnectDb(){ try{...
asked on 15.12.2016 / 21:53