All Questions

3
answers

Mascara does not show decimals with 0

I have this class that I use as a Number Mask public class Mask implements TextWatcher { private DecimalFormat df; private DecimalFormat dfnd; private boolean hasFractionalPart; private EditText et; public Mask(EditText...
asked on 14.09.2017 / 15:32
1
answer

Login with password_verify

I applied encryption passwords using password_hash() . When I try to login using password_verify I can not access. I think the problem is in the $row = $query->fetch(PDO::FETCH_ASSOC) part because when I do var_damp(...
asked on 01.06.2017 / 10:17
2
answers

Read repeated characters

I need to make a code where I read a text or characters that I enter tell me which is the most repeated I already have my code, it reads me the characters but when it comes to saying which is the most repeated, it bursts public static void mai...
asked on 06.06.2017 / 17:05
3
answers

How to use vb.net code in C # using a library

The question is how can I do to use the following code: Class MenaPE '------------------------------ 'Title: MenaPE (RunPE Class) 'Author: Menalix 'Website: Menalix.com 'Notice: For teaching purposes...
asked on 07.06.2017 / 21:27
1
answer

efficiency when displaying data with PHP

As a result of making a web page, a question has arisen. At the moment of showing on screen some type of information by echo with php how would it be better to show this data, in terms of efficiency? Showing everything with a single...
asked on 01.06.2017 / 21:24
1
answer

Passing onClick parameters of btn Android

I have this class that loads a WebView with a constructor where I must pass a String that is the link to the page. public class amazonWeb extends AppCompatActivity { String url; public amazonWeb(String url){ super(); this.url = url;...
asked on 31.05.2017 / 21:35
2
answers

SQL query WHERE primary_key = x

I was looking for a way to get a tuple where your primary key is equal to the value that I'm passing by parameter, that is: SELECT * FROM clientes WHERE primary_key = 1; Or it could be: SELECT * FROM boletas WHERE primary_key = 'boleta1';...
asked on 01.06.2017 / 13:14
2
answers

Show a div only when you enter the page the first time

I have a div with a message, I want it to be shown only when a visitor enters the page for the first time, if it enters a second time it is not shown. I have this code that I found but it does not work var mensaje = document.cookie.split...
asked on 07.06.2017 / 00:20
1
answer

The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception

I'm doing a program in C # that attacks an Oracle 12C database that is in another virtual machine, if I connect using SQL Developer I have no problems, I connect and I can work. Now I try to enter from code and I get the error indicated in...
asked on 01.06.2017 / 13:33
2
answers

listview prints repeated values

I have a listview that should print 13 fields, the problem I have, is that 7 are different and the other 6 are repeated, then I leave the code I use: Class Laws: public class Leyes extends Activity implements AdapterView.OnItemClickList...
asked on 17.04.2017 / 01:43