Posts by Osvaldo Pereira • 37 points
4 posts
-
0
votes1
answer54
viewsA: socket emitting beyond the room
Friend I’m on the street now but I believe your problem is sockets.on('connection', function (action) { action.join('testroom'); action.on('say to someone', function(msg){ //essa parte aqui…
socket.ioanswered Osvaldo Pereira 37 -
0
votes1
answer250
viewsQ: Relativelayout "anchored" at the bottom of the screen
Next I want to make this layout (id div_external) below is anchored at the bottom of the screen. But look at the next one it’s at 0dp height on purpose, I don’t want it to appear unless I click the…
-
2
votes1
answer674
viewsQ: Node JS, Socket.IO Rooms and namespaces
I’m developing a map-based android app, which will create chat rooms in some predetermined places and places where users need them. I did some research with mechanisms that I could use in my…
-
1
votes2
answers71
viewsQ: Objects em javascript
I’m having some problems with Objects while using them in Node js , I need an object like this : var clients = {}; var user = { [client.id] : { 'nome': 'osvaldo', 'sala': 'B1' } };…