All Questions

2
answers

How do I create events in a widget?

I intend to create a widget that would consist of a simple button that, when pressed, executes an action. I've been watching tutorials like this " Widgets SGOliver " , I understand a lot of what they explain there but my problem comes in the...
asked on 19.10.2016 / 22:27
1
answer

Read data from a Custom Dialog generated in a Fragment

By clicking on the "Add Client" button that is seen in the first photo, it generates a dialog (of a layout) where I will enter data. I'm doing the tests to capture that data with a Toast but it returns it as null: "Added clientenull" (I...
asked on 24.10.2016 / 16:43
2
answers

How to obtain the name of the operating system used by the client with ASP.Net MVC 4.5?

I'm trying to get the name of the operating system that the client uses when he's using my web application, so far I've only been able to get the name of the operating system where the application is running. ManagementObjectSearcher searcher...
asked on 22.11.2016 / 19:50
3
answers

Control function flow in AJAX

I have several AJAX functions and what I want is to have a function that controls that when one is finished, execute another one. This is the scheme. function ajax1(){} function ajax2(){} function ajax3(){} //solo cuando termine ajax1 ejecuta...
asked on 28.10.2016 / 08:53
1
answer

How to apply a function to an array

I need to apply a function to a variable that returns this array: "content_block_images": [ { "image": 10741 }, { "image": 10742 } ] But this function only accepts that you enter the id simply tha...
asked on 23.11.2016 / 18:42
2
answers

Can I make layouts with the same name and at the same time give them the same id and then call them?

Trying to adapt my application to other devices (tablets) is giving me an error, so my layout (which I have called activity_wine_list) is adapted for different situations, I have created it according to the situation in one way or another, in th...
asked on 27.10.2016 / 20:11
3
answers

Get the attribute of a button with jQuery and Ajax?

$(document).ready(function() { $(".eliminar").click(function(e) { e.preventDefault(); var id = $(this).attr('data-id'); //alert(id); $(this).closest('.holder-cesta').remove(); //Esta parte no me funciona....
asked on 10.10.2016 / 18:39
1
answer

The Internet Explorer browser does not download the file correctly

I have a problem downloading a file with Internet Explorer in any version. My problem is that I receive an array of bits from my controller which I receive in JSON and I download it from javascript . Note: I do not have...
asked on 21.09.2016 / 00:15
2
answers

Hreflang, alternate and canonical

I have a website that has two versions: link : <link rel="alternate" hreflang="en" href="http://www.example.com/en/" /> <link rel="canonical" hreflang="es" href="http://www.example.com/" /> And the url link : <link re...
asked on 28.08.2016 / 19:44
1
answer

Run a python program

How can I run a python script just by typing in console #run < problem_file.in with problem_file.in any document. I now execute my program with cat input | python a_star_incons.py being input that document that...
asked on 03.10.2016 / 23:13