Posts by lucas_marciano • 90 points
13 posts
-
1
votes1
answer22
viewsQ: Error in Networkinfo
I have the following problem, I have a method that checks whether the device is connected to the internet or not public static boolean isNetworkAvailable(Context context) { ConnectivityManager cm =…
-
1
votes1
answer79
viewsA: Error sending byte array with Retrofit2
According to the Issue which is in the Retrofit documentation, it is a common mistake to use static IP to make connections with WS, only, from what I understood the correct one is to use the…
-
0
votes1
answer79
viewsQ: Error sending byte array with Retrofit2
I have the following problem, implemented a solution for sending images with Retrofit2, and my web service is on a server with SSL. The certificate was recently implemented, so it was already…
-
0
votes1
answer62
viewsA: Image minification error with Gulp in Laravel
I found the answer, the problem was that for this plugin in particular it is necessary to set the settings, since it does not have a default configuration as I believed it had. Just put that code:…
-
0
votes1
answer62
viewsQ: Image minification error with Gulp in Laravel
I am trying to make Gulp minify the images of my project. My project is Laravel 5.3 and I am using lib Laravel-elixir-imagemin Gulp to minify, only when I give the command gulp imagemin appears the…
-
1
votes1
answer34
viewsA: Library to load custom maps?
Use the Mapbox, There you have a complete library of customization of your map, including, for Android and Web, it has a platform within the site to set the colors of the map, and also has model…
-
1
votes1
answer131
viewsA: How to implement the Parcelable class?
In case of your problem, I would use a Product interface, where it would list the attributes of a product, and create a class ProdutoModel and ProdutoParcelable, both implementing Product. So when…
-
0
votes1
answer306
viewsA: Using Progressidialog when Logging in
Friend, you must call the progressDialog.dismiss(); when you want it to close, if you don’t do this will give a Warning on the logcat, "Liking window", since a screen of your current Activity leaked…
-
0
votes1
answer62
viewsA: Toast with problem
All yours else could be exchanged for: Toast.makeText(getApplicationContext(), "Email ou Senha invalido(s)", Toast.LENGTH_SHORT).toast.show(); You’re putting it to be shown after a while, but the…
-
1
votes2
answers236
viewsA: Error in codeigniter querry Builder
The error, it was very stupid, the problem was in the name of the bank that had a blank space, as the bank did not connect it did not return anything. Thank you very much to everyone who helped me,…
-
0
votes2
answers236
viewsQ: Error in codeigniter querry Builder
I have a problem in the SQL of my query, follows: $sql = "SELECT cl.codigo, pa.codigo AS codigo_participante, pa.nome AS nome_participante, cl.usuario, cr.data AS data_geracao, cl.validade, cl.chave…
-
1
votes2
answers4640
viewsA: Code to check if GPS is active
Do it like this: LocationManager service = (LocationManager) getSystemService(LOCATION_SERVICE); // Verifica se o GPS está ativo boolean enabled =…
-
1
votes1
answer102
viewsQ: Google Maps v2 Marker Error
I’m trying to put a mark on the map and it’s making a mistake NullPointExeption Follows the method: private void setMapaGoogle() { if (mapa != null) { mapa = ((SupportMapFragment)…