All Questions

3
answers

Image to byte []

Hi! I'm using Xamarin.Forms to make an application. So, I need to save images in Parse. To do this, I need to convert the images to byte []. Any idea how I can do this? I already searched the internet but none of the solutions worked for me. In...
asked on 23.10.2015 / 18:46
2
answers

Count elements in a range of values

Is there a more concise way of counting all the elements of a vector (here in the example between 10 and 20) than the one presented? vector<int> v={1,2,3,45,24,10,20,-90,100,18,17,15,87}; int n; for (int i=0;i<v.size();i++){...
asked on 16.12.2015 / 10:54
3
answers

C # MVC Execute Function (LogOut) When Closing the Browser

I'm in a service system and I need help to understand how I can call an event (Javascript / jQuery / Not) when a user closes the browser without a "correct" system logout. . Att.     
asked on 15.09.2015 / 20:42
2
answers

Is there a difference between compiling for the Linux terminal or for the IDE?

I've been programming in C in linux for a semester already, and I always come across people who call themselves better programmers because they compile and run the program through terminal . However, in the face of several se...
asked on 17.12.2015 / 17:27
2
answers

Apache License Doubt Version 2.0

I'm developing an app with Cordova, the app can be downloaded for free, only some built-in features will cost. I needed to use this link plugin to manipulate googlemaps, which is under the Apache v2.0 license. What do I need to do to be...
asked on 23.11.2015 / 15:31
3
answers

Application access web images

I am a beginner in android application development; I have the following doubt: if I want to make an application in which the images used are not contained within the project, but on the web, what is the best way to make this connection. Is it p...
asked on 16.09.2015 / 20:49
2
answers

Test a new theme in WordPress without losing the changes of the previous theme [closed]

Hello, I recently created a blog in wordpress, I liked the theme, until a few days ago, but now I'm starting to think that it is not too blogging. I'm using the oblique theme. The blog is already in the air, however, in this theme I have changed...
asked on 28.12.2015 / 18:27
1
answer

Inheritance with interface [closed]

How can I solve the following problem. Scenario: I have a class B that inherits from class A and implements interface I. Problem: The interface I forces the implementation of method X which in turn is implemented in class A, not in B....
asked on 12.06.2014 / 15:51
2
answers

How does the declaration instance of Table in Lua work?

In object orientation, you usually create the class first and then instantiate it. PHP example: class Test{ public function __construct() { // inicia as parada aqui } } $test = new Test; But in Lua it always s...
asked on 11.12.2015 / 15:34
2
answers

what are tools: context in layouts files?

Good morning everyone. In some tutorials I've been seeing around, creators defined this property, 'tools: context' in the main layout manager of xmls. I looked in Ricardo Lecheta's book, but he does not use it at all. So .. What is it and...
asked on 07.07.2014 / 15:31