All Questions

2
answers

Cousins, odd and even in Java

I want a program that shows ask the user for numbers until you enter a "0" or a negative number, when this happens, the program should show: 1.-How many numbers are entered 2. How many are cousins 3. How many are pairs 4.- How many are odd. I...
asked on 02.08.2017 / 23:27
1
answer

Problem with self-calculated fields in a table

I have this table: db.define_table('cotizaciones', Field('numero_ticket', 'reference tickets'), Field('numero_cotizacion', 'string'), Field('fecha_registro_cotizacion', 'date', default=now),...
asked on 28.01.2016 / 17:35
2
answers

Can there be two onActivityResult in the same Android class?

I have to upload two images (they do not have to be uploaded at the same time) to two ImageView , each one selected separately from the gallery. I managed to get one of them, but I duplicated the data in the two ImageView because of...
asked on 28.07.2017 / 12:56
3
answers

Count between 2 columns of 2 tables

I have these 2 tables table 1 ---------------------------------- | articulo | Ubicacion | ---------------------------------- | 200116 | cy1112 | ---------------------------------- | 200116 | ee3091 |...
asked on 25.07.2017 / 20:00
1
answer

Swift Project 2 without StoryBoards

I would like to create a project in Swift 2 that does not work with storyBoards since in Objective-C I am used to working with XIBs . Some time ago I was testing with Swift 1.x and I remember that to assign the VC to rootViewC...
asked on 30.12.2015 / 14:12
2
answers

What is the correct way to initialize a property in MVVM

I have a question, is it correct to initialize a property full in ViewModel as follows? public class MainViewModel : ViewModelBase { private ObservableCollection<Driver> _drivers = new ObservableCollection<Driver>...
asked on 03.02.2016 / 20:06
2
answers

Refer to a Pointer type value in Swift with Parse

I have created in parse several classes and many of them related to each other by Pointers. An example is the following. I have 2 classes: subcategorias comercios In comercios I can have records of many trades, t...
asked on 24.01.2016 / 19:16
3
answers

Error in method when moving files from one directory to another

In a method where I move files, when I pass the parameters and perform the operation, I always get an error. If something is failing me, could you help me? public void MoverArchivo(String oldPath, String oldName, String newPath) { File f =...
asked on 15.02.2016 / 15:37
1
answer

Authenticate user (Facebook) with Firebase

I am trying to authenticate my registered users through Facebook in Firebase. But the Firebase documentation is in objective-C and I'm working with Swift. I have already created the app from Facebook and authenticated by Facebook on the Fireb...
asked on 21.02.2016 / 05:00
2
answers

How to show a hidden div with javascript?

I have seen some examples online but they have not worked for me the way I need to, and when I click on the id of a href that is the same of a div show me the table that is hidden. HTML CODE <a href="#" id="displ...
asked on 14.02.2017 / 20:11