Posts by Rubens Ventura • 301 points
16 posts
-
2
votes1
answer60
viewsQ: PHPGD image on the other, send back
I’m putting up a painting and inserting the background, but the image is on top. I wonder if you have any way to send backwards, like what graphic editors do, I’ve tried to invert the code, inserted…
phpasked Rubens Ventura 301 -
0
votes1
answer692
viewsQ: Clear old notifications the moment you enter the app
Someone knows how to clear old notifications from my app from the moment I enter the app through the Icon, not the notification itself. Whatsapp does this on android, but can’t find a way to work…
-
0
votes1
answer1273
viewsQ: Know if Activity is open (Broadcastreceiver or service)
I would like to implement a function that can check if Activity is open, because when I receive the notification through GCM (Google Cloud Messaging) if Activity has opened will only upload the…
-
2
votes1
answer213
viewsQ: Do you have a problem using 2 Handler.postDelay() at the same time?
I wonder if there is a problem with the App’s performance in using 2 handler.postDlay() at the same time, type calling the 2 in functions: inside the Oncreate Td1(); Td2(); public void Td1(){ final…
-
3
votes1
answer4049
viewsQ: Error when publishing app to Google Play
I’m trying to post the Apk, but get this error message O envio falhou Você fez o upload de um APK depurável. Por razões de segurança, desative a depuração antes de publicá-lo no Google Play. Saiba…
-
1
votes1
answer86
viewsQ: It takes a long time to get results, even with Asynctask’s in parallel
I send a request to the server but it takes to receive the result, I realized that the Asynctask that sends the location to the server every 1 second is getting in the way. I realized this after I…
-
1
votes0
answers82
viewsQ: Slowness in getting api response using Httpurlconnection
I have a critical problem, when I submit a request to the API, it always takes a long time to receive the reply, I am using gcm too, always arrives at the time the request is sent. But when the…
androidasked Rubens Ventura 301 -
1
votes1
answer119
viewsQ: SELECT in postgresql does not take records in the time range
I have the following SELECT SELECT * FROM motoqueiros WHERE now() - INTERVAL '8 SECONDS' <= data_update It works on my local machine. I created a server on AMAZON, the server has Ubuntu 14 64…
postgresqlasked Rubens Ventura 301 -
3
votes2
answers381
viewsQ: SELECT issues with postgresql
I am making a migration from mysql to postgres, but there is an error happening, not much experience with postgres: SELECT SELECT m.* , (SELECT c.id FROM corridas c WHERE c.motoqueiro = m.id AND…
-
2
votes1
answer381
viewsQ: Check if GPS is enabled in all versions of Android?
I use this code to check if the GPS is enabled to display a dialog: LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); boolean GPSEnabled =…
-
0
votes1
answer495
viewsQ: Problem in Converting Photo Base64 on Android
The problem is this, I take the picture and if it in Activity, so far so good, but after converting it and sending to the server and decoding, only appears part of the photo: Code to take the photo…
-
0
votes1
answer75
viewsQ: Activity Maps restarts every time I minimize
Well, on android 4.2.1 is working, but on another device with android 4.2.2 it restarts, IE, does not save the state of Activity, this problem only appears with the activitys that use map, in other…
-
1
votes0
answers116
viewsQ: Takes first SQL Bullider Laravel record
I’m not getting the first record without using foreach query = "SELECT *, (SELECT count(*) FROM corridas c WHERE c.motoqueiro = u.id AND (c.status = 0 OR c.status = 1)) as corrida…
-
-2
votes4
answers296
viewsA: Correct way to use php’s abs function
Take a look at the documentation friend http://php.net/manual/en/function.abs.php
phpanswered Rubens Ventura 301 -
0
votes1
answer244
viewsQ: Call open Activity via Notification without losing the information
I’m having trouble calling an Activit via Notification, every time I press the notification Activity is loaded from scratch, losing the data that was in the one that was open.…
-
2
votes1
answer1464
viewsQ: Error 500 Request exceeded the limit of 10 Internal Redirects
I’m having a problem with htaccess Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator…
htaccessasked Rubens Ventura 301