All Questions

2
answers

Convert dynamic element into clickeable

I have the following element in my project: Individual code for each box <div class="col-md-3 col-sm-6 col-xs-12"> <div class="info-box bg-aqua"> <span class="info-box-icon"><i class="fa fa...
asked on 18.02.2018 / 18:23
1
answer

Because I can call a method without using objects of this even though it is not static

very good community my question is the following. I would like to know why I can call a method of a superclass in my subclass without creating an object of this type and in addition to not being static. is what happens below, I use an inher...
asked on 22.12.2017 / 03:34
3
answers

Draw figures in Java

How can I draw a star in java? The part that confuses me is that of the coordinates in g.drawline because I do not understand in what order they are written and how to give me an idea of the correct coordinates to draw a star. This is what I...
asked on 06.02.2017 / 23:45
2
answers

Control of Activities

Hello, I have the following problem. In a Activity I have a button that executes a AsyncTask . The problem is that if the app is completely closed, the operation is not executed. Is it possible to call an Asynchronous method when...
asked on 01.12.2017 / 15:05
2
answers

Center a link

Good, I can not center a link. #Anyadir-Rutina-btn { background-color: #21211d; color: #FFF; padding: 10px; border-radius: 20px; text-decoration: none; cursor: pointer; } <div id="Power-Contenedor"> <a h...
asked on 27.12.2017 / 22:09
4
answers

How to know which div was clicked without static id?

I want to perform an action when I click on a div, but that div is generated dynamically according to the records of the BD, so its id could always vary. For example:    id="identificador1", id="identificador2", id="identificador3"...
asked on 08.02.2017 / 17:58
2
answers

Center the contents of a div without aligning the text Bootstrap

Good afternoon, the problem I have is the following in this column I would like to center the content of the div, but when using "text-center" the text gets centered too, I would like the "p" label to be centered but not align the alignment of t...
asked on 14.02.2017 / 20:41
2
answers

How do the #endif #if #ifdef statements work?

At the moment of creating a project in CodeBlocks, a sentence #endif always appears in the bottom. What does this mean? What function can I give to this?     
asked on 27.11.2017 / 14:57
2
answers

Warning: deprecated conversion from string constant

I have a warning that I can not remove ... it says "deprecated conversion from string constant to char *". The code where he complains is the following: class THREE_DATA_4_COMPUTE { public: THREE_DATA_4_COMPUTE(const QString &c...
asked on 21.02.2017 / 15:09
2
answers

Problem with JQuery click event

I have this code: var elementos = $("#caja1").children("a.list-group-item"); var elementos2 = $("#caja2").children("a.list-group-item"); function asignarClick(elementos) { for (var i = 0; i < elementos.length; i++) { $(ele...
asked on 25.05.2017 / 13:35