All Questions

1
answer

Turn on the Flash led by pressing an item in Action bar

I'm trying to turn on the flash of the cell phone as a flashlight, from an item in the action bar, but I can not turn it on, the code is e as follows: Variable delcara at the start of the calse to manage the on and off: boolean isOn = f...
asked on 02.06.2016 / 20:28
1
answer

error when using webservice in android studio

I'm trying to login to a MySQL database and when you press the button to enter the application it stops. This is all the JAVA code I'm using: package com.example.chvid.servicioandroid; import android.content.Intent; import android.support....
asked on 03.06.2016 / 11:02
2
answers

error when validating with jquery-validate in wizard bootstrap

I'm doing a web application with a bootstrap wizard the first screen has a form that is valid with jquery-validate, in the second section of the wizard I have an input and a button that generate a table according to the number of rows that the u...
asked on 08.06.2016 / 21:04
3
answers

Select2 jquery remove message "please enter 1 or more characters in select2"

I want to remove that message, any form? Here the html: Here the jquery:     
asked on 13.06.2016 / 17:33
1
answer

Serialize data of objects compiled in a class library

Greetings, I have a problem with a serialization exercise. The theme is the following: I have a ClassLibrary with the classes Fruit (abstract), Apple and Banana that are derived from Fruit and another class Cajon that contains a list of "fruits"...
asked on 21.06.2016 / 19:55
3
answers

Convert string to int 32 and store your result

I am developing a multiplayer game in Unity using the services of Google Play Game Services (GPGS), each of the players that connects gets a player id through GPGS is id is a string which I need to convert to whole and its elements add them to o...
asked on 16.06.2016 / 02:21
1
answer

Problems migrating project in Django 1.6 to Django 1.7 version

I have serious problems to make my project work in a newer version of Django (from 1.6 to 1.7) I am working with a virtual environment in which to reinstall all the applications of my project (from my requirements.txt file), except the versio...
asked on 20.05.2016 / 03:25
3
answers

How to access the contents of an associative array that is inside another array?

I'm trying to create an array of arrays where the arrays inside are associative arrays but I do not know how to access them. This is my code. var meses = {enero:31, febrero:29, marzo:31} var año = []; año.push(meses); cons...
asked on 17.06.2016 / 20:30
1
answer

"can not resolve R" android studio

Hi I have this problem in all my projects in android studio and probe with "clear project" and with Tools "- >" Android "- >" Sync Project with Gradle Files ". And the problem continues, that another solution could please suggest me. an...
asked on 05.06.2016 / 02:23
1
answer

Django REST Multiple Models (base_name & queryset) error

I am trying to use the Django REST Multiple Models and I have created the models and the viewset. But when trying to enter the url of the api, I get an error: link    'base_name' argument not specified, and could not automatically   dete...
asked on 24.05.2016 / 10:50