Posts by Gabriel Duarte • 565 points
19 posts
-
3
votes2
answers841
viewsQ: Block source code Django
I am developing some projects where I will use Django, but I will have to host the server on the client’s machine. Where it will be installed there is no internet, so I have to make the system work…
-
2
votes1
answer508
viewsQ: POO using Django
I’m starting to work with Django, but I’m having some doubts about how to organize my project, I would like to know the best way to structure my projects. I’m used to the languages in which I model…
-
2
votes2
answers1336
viewsQ: Modules in Python linux
I’m having some problems installing modules in my python on linux. I’m currently using python 2.7.10, most modules I use Pip to install, but when I run python 2.7.10 and import my module it says it…
-
0
votes1
answer144
viewsQ: Malicious Code in Online Judge
I’m creating an online Judge, like Spoj, Uva and others. I already have my Web part, which was done in PHP, where it is possible to submit the codes and I have a server in Python that receives them,…
phpasked Gabriel Duarte 565 -
4
votes2
answers2934
viewsQ: Search for nearby strains
I am implementing a system as an online delivery, the customer will enter the tool and put his ZIP code, with this the system should inform all restaurants/ companies, next to it. I was wondering if…
databaseasked Gabriel Duarte 565 -
0
votes0
answers51
viewsQ: Sqlite being accessed by GCM
I need my GCM, when receiving a message, save the information in the database, but it is giving error, must be because the application is not open. Anybody know what I should do? I have the…
-
5
votes1
answer1198
viewsQ: Best way to model a chat database
I have an application that works with webservices and mysql database, I’m putting a chat in it, the part about how to pick up messages, display notifications and search for users I already have, my…
-
4
votes1
answer3848
viewsQ: Custom popup
I want to do a custom popup, similar to the one in the photo, putting a button to close at the top and it centered in the middle of the screen, anyone know how I do it? I looked for some codes, but…
androidasked Gabriel Duarte 565 -
3
votes2
answers3362
viewsA: doubts intercalation of vectors in C
There are some errors your code, try something like this: i = j = 0; for(k= 0; k < 10; k++)//Intercala os vetores rvet[k] = k % 2 == 0 ? vet1[i++] : vet2[j++];
canswered Gabriel Duarte 565 -
0
votes2
answers94
viewsQ: GCM interacting with google maps
Guys I have a function that server to update my map in the application, ie change the position icons and such, however I would like to do the following: When I received a message from my GCM, for…
-
1
votes1
answer79
viewsQ: Onmylocationchangelistener Google maps android
I have an application that works as a GPS tracking, is working normal, when the user moves he plays on my server the change that makes all the devices change places the Marker. However I need to…
-
3
votes1
answer600
viewsQ: Best way to store images in database
I have an android application that uses a mysql database, to store my users' profile information, but I would like to know the best way to store each user’s photos, because I thought to upload the…
-
3
votes1
answer299
viewsQ: Run a GCM function before uninstalling app
I’m with an Android application that is using GCM, I wanted to know how the unregistered method works, how can I do, so that when the user uninstalles the application he automatically leaves my GCM…
androidasked Gabriel Duarte 565 -
2
votes3
answers489
viewsQ: Http Connection with timeout does not work
Hello I’m with a class to make to read an HTML page, but I wanted it to have a time limit for the execution, my code seems to do it, but it does not work as it should, IE, the time I put is not…
androidasked Gabriel Duarte 565 -
1
votes2
answers11473
viewsQ: Icon with notification counter
Does anyone know how I do a notifications counter on Android like Facebook, Whatsapp, follows the photo showing the phone icon. !http://imgur.com/Xar2jOv…
androidasked Gabriel Duarte 565 -
2
votes1
answer327
viewsQ: Doubt about Registration ID in Google Cloud Message
I want to implement GCM in my project, but I have some questions and I needed to take them all before doing. Well when I log a device into the GCM server, is the id it receives unique? If I…
androidasked Gabriel Duarte 565 -
0
votes2
answers246
viewsQ: Change variable in a task
I have this method to read an html page, and it’s doing a toast with the result. But I wanted him to return the value read to me, or put it in some variable, but I did not succeed. private class…
androidasked Gabriel Duarte 565 -
6
votes2
answers1997
viewsQ: Chat with notifications in the app
I have an Android application that inside it, the user can send message to the administrator(eu). I wanted to do something more cool in this communication, I would like when I answered the message,…
-
1
votes1
answer2979
viewsQ: Generate animation from graph
I am generating a graph with the following command: X = linspace(0, 1, n); Y = linspace(0, 1, n); surf(X,Y,B(:,:)); But how to make it generate an animation of the graphic? I know nothing of…
matlabasked Gabriel Duarte 565