Android :: Set Up Phone To Peer To Peer Ad Hoc Networking?
Dec 19, 2009
Is it possible to set up Android in ad-hoc peer-to-peer wifi mode? For example, I would like to have one phone broadcast a message, and have all peers in the network receive the broadcast, without having a server. I would like to use wifi since bluetooth range is more limited.
View 6 Replies
Sep 24, 2009
I am with a group of college students making a multiplayer game as a class project on the Android platform for the G1. Our primary goal is to allow multiple phones (or for the sake of initial testing, a phone and an emulator on a PC) to communicate with one another. Our game is turn based, and we've been looking into TCP/IP and VNC proxy servers to transfer data between the game clients on each phone, but none of them seem particularly simple to implement. We've been through many articles documenting how difficult peer-to-peer connections are on the Android platform. What would some viable network protocols to use for the sake of our project and how should we go about setting them up?
View 3 Replies
View Related
Aug 4, 2010
Is there anyone using git in such a fashion? I would like to distribute some multimedia content from a server to some Android remote devices. I would like them sending back a log file with device usage statistics (provided by an android app I will write). The server could be anything but I would prefer a linux box. I thought that since git handle and sych only differences between files, It would be a nice tool for this purpose and I would have content revision history as a bonus. I need some piece of advice on how the repositories architecture could be organized: does It have to be a star topology or something different? The remote end of the sistem don't need any interactivity, in other words the remote git repository could pull and push whatever It needs to, autonomously and automatically.
UPDATE: I've found here on SO the author of git internals (I'm downloading It right now), Scott Chacon talking about the architecture I would like to implement.
UPDATE 2: OK I read the chapter about "Non-SCM uses of Git" and here is what the author says about a Peer to Peer CDN:.....
View 3 Replies
View Related
Sep 6, 2010
i want to build a simple bluetooth chat program that can do a 2 way chat with 2 mobile devices. i know that i can use gamekit to develop such application for iphone and ipod touch. But i want to know is, is it possible for other smart phones (running my application) to discover and communicate with ipones and other devices as well? in simple: i want my application to run on iphone,symbian and android and to be able to discover and communicate with each other over bluetooth.
View 1 Replies
View Related
Aug 19, 2012
Is there a voice / messaging app that will work via a wifi connection WITHOUT the need for an Internet connection? For example, two people with phones connected to the same router over wifi, but NO ACCESS to the Internet. I'm assuming apps like Skype would require both devices to be able to communicate with the Skype server to initiate the call, but might allow peer-to-peer afterwards.
I am not interested in making calls or texts to people outside of the wifi network. Does such an app exist?
View 9 Replies
View Related
Aug 8, 2010
I have a Motorola Droid X with PDAnet (2.42 installed on my computer). I am able to browse the internet and play some online games just fine, but if I open my Ares P2P program (on my computer), I am unable to stay connected to my phone. PDAnet Desktop just disconnects without any error messages. Does PDAnet block this type of software, or do I have something misconfigured? Or should I just use a different P2P program?
View 1 Replies
View Related
Jul 11, 2012
I am writing a proxy in Android. I want to know, how one may detect if the server or client has closed its socket? I am using pre-NIO sockets. It should be noted that, the YouTube App will connect with my Proxy server (I have installed proxydroid) and then data will pass between YouTube App and Youtube Server through my proxy.
I have used read() method for reading. When I am reading (with read() ) as a client (from the server) if I get -1, does it mean that the server has closed the socket?
In the same way, If I am reading (with read()) from the client and get -1, does it mean that the client has closed the socket?What is the best way to detect if a remote peer has closed the socket or not?If I use methods like isInputShutdown() or isOutputShutdown() ?My main goal is read into a byte array until the remote peer has closed the socket?
View 1 Replies
View Related
Oct 29, 2010
I need help finding the best method for networking in a multiplayer game. I want to connect to a phone and maintain the connection until the game is over, hosting the game on one of the phones. There are other threads, but none of them really explain how to connect or use the networking, only saying to use such-and-such library. Examples or links to good tutorials would be extremely helpful.
View 1 Replies
View Related
Jul 31, 2010
I try to browse localhost on my htc magic. I have connected my device with eclipse via usb. browsing http://10.0.2.2 I get a "Page not avialable. I remember, some days ago it worked but on the emulator I am able to browse localhost?
View 1 Replies
View Related
Feb 17, 2010
Is there any way to remove that social networking crap from the phone?
View 8 Replies
View Related
Sep 2, 2013
Been doing some android networking lately. Having some trouble actually sending the data back and forth.
Java -> Server (runs on the desktop): its job is to constantly listen on a port and connect clients. Once a client connects, it creates a new JFrame with a graphics class.(Basically a giant canvas) There is a separate thread that is always listening to the client.
Android -> Client: An android device is the client. Its job is to connect to the server, with a given IP/Port. Once the connection has been established, it changes (setView) the view to a canvas. On the canvas there is a box that moves based on touch input.
Objective: The box moves on the android screen, but it doesn't move in the JFrame window.
I think the information is not being relayed. I have tried dataOutputStream. But for some reason there is a major Lag in sending the information. (Not waiting for serverSocket) Basically i want a real time updates. As the box moves on the android device, it should also move on the JFrame.
View 1 Replies
View Related
Aug 12, 2009
I've just started developing Android applications. I'm having a little problem with networking. If I run the following code I get an "unknown error" exception message: Code...
View 1 Replies
View Related
Dec 4, 2009
I've been scouring the web looking for information on setting up a peer-to-peer connection between Android handsets and so far have drawn a blank. The only thing I can definitively seem to work out is that it was made a whole lot more difficult when XMPP was removed from 1.0. Apart from that, I find a couple of threads on an OpenIntents board about porting an XMPP implementation to Android that were last posted nearly 2 years ago. Has anybody solved this problem effectively? What's the best way of doing it (from a games point of view)?
View 7 Replies
View Related
Sep 22, 2009
According to the emulator docs, you should be able to enable/disable networking with the F8 key. I doesn't work for me and I'm trying to determine why.
I'm developing on OSX Leopard. I've also tried in a virtual Windows instance (Windows 2008 server running in Parallels). No luck in either case.
I've tried the obvious stuff like fn + F8, etc.
Should there be any sort of visual cue that networking has gone online or offline when F8 is pressed?
View 2 Replies
View Related
Aug 29, 2009
I've been working on a game for a while now that relies heavily on UDP connections. Its been running great, but since releasing in the market, we've been flooded by complaints from Hero users that it doesn't run what-so-ever. We haven't received this complaint from anyone other than Hero users (seems 100% isolated to the device), and I haven't been able to reproduce using an HTC ROM on my personal G1 (thought it might be related to the OS), but I'm starting to suspect it's a hardware issue...
Does anyone on the list have access to a Hero, and adb that I could ship an APK with a bit of extra logging to see exactly whats going wrong?
View 3 Replies
View Related
Aug 17, 2010
looking over the online guide for the emulator and after some googling i still have some questions on this - the guide focuses on emulator instances running on the same machine. However, I was trying to see how that maps for emulator running in a distributed fashion. If a node A (with IP address 129.10.52.x) in LAN A is running Emulator A (which will have the default IP address of 10.0.2.15:portA) wants to communicate with a emulator B (which will also have the default IP address of 10.0.2.15:portB) running on node B (with IP address 129.10.53.x) in LAN B how is the port forwarding setup in this case? The same way as if both emulator were running on the same machine? And why when I print the IP address of the emulator running on any of the nodes what's displayed is the loopback address 127.0.0.1 and NOT 10.0.2.15 which is the IP address that each emulator is assigned?
View 4 Replies
View Related
Jun 6, 2010
Is there a App that allows Networking with your Windows 7 computer? File sharing etc. Through your local network?
View 2 Replies
View Related
Aug 13, 2013
Well the script should be working, it is 'ettin.sh' now. To get VNC to work on separate device just change 'eth0' to 'wlan0' or whatever other interface you know how to configure, like usb maybe, in the 'init.sh' script that resides in ~/ on the images you can download from [URL]....
Also on the different roms your storage might be different so just change that to what suites your environment,
After my first launch and exiting the VNC on my laptop (Ubuntu) My phones home button and a few other functions stopped working, a reboot remounts the root and system partitions and it goes back to normal essentially, I haven't noticed any adverse affects after the reboot.
I want to connect to backtrack over usb from Ubuntu on my laptop instead of from my phone. Is there a good way of doing this?
The thing is, I didn't chroot, I mounted the image, copied the contents of '/etc/*' and '/sbin/*' to the '*/etc' '*/sbin' dirs of the mounted image. and then mounted it's (the image's) contents to Androids rootfs '/' then I set up a little script to set up the environment and execute '/bin/bash -i init.sh' and again reset PATH to include /system/*.
Then in the init.sh script I want to set up a way to 'vnc' through' usb to backt4acks desktop. How would I do this?
View 6 Replies
View Related
Jun 20, 2010
I'm at a loss trying to get Astro to communicate with my Windows XP home computer. I downloaded the SMB module for my MotoDroid, but am not really clear on how to configure my Windows Networking settings and what exactly needs to be entered in Astro's configuration settings. Is there a guide on how to do this on the web?.. if so, I haven't been able to find it.
View 24 Replies
View Related
Jan 28, 2010
I need to write an Android application that allows a user to connect to multiple social networking sites like MySpace, LinkedIn, FaceBook etc. and fetch friends list.
I know that most of these applications have Java libraries or functionalities exposed as REST based WebServices. But since there is a lot of variety and disparity in the ways that these libaries are written or service that can be consumed, is there any single, integrated service or middleware component that I can use to provide a unified interface in my mobile application?
View 2 Replies
View Related
Jul 17, 2010
Does anyone have their facebook linked with their X?
I am trying to figure out all the ins and outs for the device but anyway if you do
have you noticed the contact id for certain people is not the right person?
For instance my ex-bf Chris contact id is another chris that i am friends with on facebook...
Another Matt's picture is the id of my other friend matt
I only see this with people in my contacts that have the same first name as a facebook friend people like Bridget are fine.
View 11 Replies
View Related
Jul 11, 2012
I try to find the x and y co-ordinates through gps, wifi, and networking but i have problem in running the problem, at output it shows FORCE TO CLOSE error, then i paste the log cat error, as below.
Code:
package com.location;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.location.Criteria;
[Code] .......
View 3 Replies
View Related
Nov 30, 2010
Is there a way to delete Social Networking Services messages in the History tab. When u delete the call history it gives a message that Social Networking Services messages cannot be deleted.
View 2 Replies
View Related
Mar 30, 2010
I keep getting errors that my login/password are bad when I try to do mobile networking with my laptop, I wanna use my phone as basically a modem for my laptop. Each time it tries to get on the internet it says my sprint login/password are bad. Hell I don't even know where to change them on the Hero.
View 3 Replies
View Related
Nov 5, 2009
First, hi, new Hero owner (1 week now) and I love it. I've been reading the forums here since I got it and I have to say, you guys are very helpful.I'm an avid facebook user and I've been breaking in to twitter recently. Currently I'm using facebook for android and i tweet (read the peep warning thread) and was wondering if there were any better apps for these?Also, since so many sense UI widgets seem to have troubles with taking too much memory, I wondered if I should find a different mp3 player than the stock music player/widget?
View 3 Replies
View Related
Feb 7, 2012
I'm trying to set up a basic network connection using droids but I'm having problems.my server program:
Code:
ServerSocket ss = new ServerSocket(8888);
while(!end){
//Server is waiting for client here, if needed[code]....
the server runs until it reaches ss.accept() like it should but the client still can't connect. The client usually times out and nothing happens
I'm running both these programs using eclipse on my computer. I set the premissions in the manifest for both programs to let them use the internet and I have the port forwarding .
View 2 Replies
View Related
Jul 19, 2010
they are splitting the company. The making of wireless-telecom equipment is being sold to Nokia Siemen's Networks. Does that concern any of you who just purchased the Droid X?
View 3 Replies
View Related
Feb 20, 2010
While I understand the purpose of the CLIQ is its social networking aspects, I am thinking of buying this phone for my wife who does not use Facebook, etc. The reason for this phone is the keyboard, she is not fan of touch screen and I think the G1 is just too bulky. This brings me to my question: Is there a way I can kill all the networking settings and extra on screen buttons so it will be closer to the MyTouch that I have?
View 3 Replies
View Related
Aug 26, 2010
I was wondering if there is a way to control how often the Motorola Social Networking application updates with Facebook. I have searched the phones settings for a month and have not found anything.
View 1 Replies
View Related
Jul 26, 2010
I cannot for the life of me find any settings for this. I swear I've read about people setting theres to only do it every couple of hours or so to help with battery life but I can't find anything for this. The only thing I've managed to find is an option to set it to only sync over WiFi. Forgive me if this has already been asked but I couldn't find any answers to this dilemma.Oh and also, what exactly is considered "Background Data"? There's an option for enabling/disabling it and I wondered what the term encompasses.
View 1 Replies
View Related