All Questions

2
answers

The location obtained by getLastLocation () always returns null [duplicate]

I'm making several attempts, but I can not get a user's current location using the Location API . I'm running the following example: public class MainActivity extends AppCompatActivity implements GoogleApiClient.ConnectionCallbacks,...
asked on 20.08.2016 / 19:26
1
answer

Maximum size for database tables

What can be the maximum size that a table can have? To be clearer: a table in MySQL, what is the maximum size it supports? And in SQL Server, Oracle, PostgreSQL?     
asked on 07.07.2016 / 20:17
5
answers

Subtract sums of fields in two distinct tables

I need to add the value of a column in SQL, so it looks like this: SELECT SUM(qtdsaco) FROM armazem This code works. Now I need to add the value of the other table, it looks like this: SELECT SUM(qtdsaco) FROM armazem2 So I had to take...
asked on 24.08.2016 / 21:37
2
answers

Pick up file without knowing its extension

How do I get an image without knowing the length of it? for example: Image name is moon , but I do not know the extension and when I try to use php commands of the error and says it could not find the file How can I get a file by name onl...
asked on 19.07.2016 / 18:55
3
answers

What are the differences between printf, fprintf, sprintf, snprintf, printf_s and fprintf_s?

Searching I noticed that there are several variations of printf , but I did not understand the differences and which to use in certain circumstances. I would like to know the purpose of each with their differences and how they can be us...
asked on 04.09.2016 / 05:56
3
answers

What is the base.OnCreate (bundle) and what is bundle?

I'm starting with Xamarin studio and wanted to know what this "base" class is for, this method onCreate() and what is bundle ?     
asked on 06.10.2016 / 19:40
3
answers

What is Container In POO?

What is Container in object-oriented programming in which scenario your usage is best represented?     
asked on 16.03.2017 / 01:41
3
answers

Formatting numbers with jQuery

Hello, I have an array that is returned through an AJAX request and I want to format the numbers for each of these keys as follows:    Example: Default values -> 2569 -> 192544694 How would you like them to be formatted...
asked on 29.12.2016 / 21:47
2
answers

consume REST service with totalcross

I would like to know how to consume a REST service using totalcross. I made an example following what is in the documentation, I am using HttpStream. String url = enderecoWS + servico; HttpStream hs = new HttpStream(new URI(url)); byte[] bu...
asked on 22.03.2017 / 13:53
2
answers

How can I indicate the directory where my assemblies should be found?

My company has a facility that hits the house of gigabytes. We have a set of applications in our installation that share the same libraries. By default, when .NET runs an application, it looks for the assemblies in the same directory where...
asked on 20.02.2017 / 20:02