Android :: Multiplayer Game - Device To Device Connection Using Sets Of Api
Mar 24, 2009
I have developed a sports game which is single player. Now I want to have one more game mode which is multiplayer.
My question is how can i do device to device connection in android using sets of api which can be :
1.Bluetooth - whose APIs are not currently available.
2.gtalkservice - removed from sdk1.0 3.wifi - I dont knw how to connect 2 devices using wifi apis . I have asked about wifi because we have developed a game on iphone which used wifi connection for multiplayer stuff.
Or is there any other apis which can be used for implementation of multiplayer in game ?
View 3 Replies
Jun 26, 2010
We write a game application where we load bitmaps continuously. I would like to capture the content as video. I know through DDMS, I can capture the screen shot, but how do I capture series of bitmaps loaded?
View 5 Replies
View Related
Mar 13, 2009
I am making an android game, but i do not have the money to buy a developer phone. The game is not finished but i should it is testable.. and if i dont test it know i may have a big problem later... it is playable though. Is there somebody who has a real device and wants to test the game for me, just starting it up and playing it a little bit is good enough. It's a 2d airplane shoot gane, much like the old raptor game. If someone is interested please reply, i will sent you the (singed) APK and with some things i want to test (using both the buttons as well as touch screen for gameplay).
View 7 Replies
View Related
May 13, 2012
Is there any way to play an emulated game in Co op mode on any Android device? On Tablets?
View 4 Replies
View Related
Oct 15, 2010
This month, I am not able to get a AT&T Samsung Galaxy Captivate to be recognized by my Win xp when I connect them with a USB cable. This is the same phone I had trouble connecting a few months back. With much help from this list, I was able to get them connected. (Win device mngr, red check mark, get ID, insert this ID in android_winusb.inf file and reinstall android sdk usb driver.) After the fix, communication was successfull for Aug and Sept (about 10 connections per monthduring a 5 day period). But this month the Win xp will not recognize the phone. The only thing that happens is that the device manager, usb, list is updated to include "unknown device" which has no ID's. I have talked to AT&T and Samsung. One person said that there was "an update Oct 5" and this bit of information got me introduced to Samsung tech suppor level 1 and then, after considerable talking, to level 2. Samsung level 2 said that I must have the specific USB cable that came in the box with the phone, I said that probably was not the problem because I have used this (motorola) cable successfully at least 20 times. Then all of a sudden I get a dial tone. So I drove the 20 miles, went into the owners home (while talking to him on his phone, he has mine to use beta testing) and got the cable. Results are the same with this Samsung cable. I am writting this long note becasue I have lots of time waiting for 50 minutes for level 2 support again. I am loosing hope that Samsung is going to be able to help me or possibly they recognize my phone # and know my problem is unresolvable. Does anybody have any light they can shed on this issue?
View 2 Replies
View Related
Nov 30, 2013
So I have downloaded a game called trainz, which requires me to download 300+ MB data. I have a samsung galaxy young s6312. I have downloaded the game with the data on this mobile. Recently I got a note 2. I want to play this game on my note 2. But i don't want to download the data all over again. Is there a solution by which I can copy the data folder from my old device to my new one?
I already tried copying the com.nv3games.trainz folder (size 318 mb) from my old device to the obb folder of my new device, which didn't work. I also tried copying it to the data folder of my new device, which also didn't work. The Game was still asking me to download the data. Both devices are rooted, so any solution which requires root will be ok.
View 2 Replies
View Related
Sep 6, 2010
I have to develop a multiplayer game. The game will be supported between different platforms: 1) Two android clients. 2) Android client and a web application (something like facebook and android client for Texas- Holdem game).
I want to handle the communication between the platforms through a service.
I have asp.net (C#) background so I thought to implement the communication using WCF service but I am not sure this is the best choice?! Can you please tell me if my choice is good or should I choose other approach to implement the communication?
View 2 Replies
View Related
May 21, 2010
I am getting started in android development and I really want to create some form of online game. My goal is to start out with a turn- based game and move onto advanced multiplayer games. I want to have users associated with their google account, provide some sort of matchmaking to pair people together, have their stats stored in a database, and use the stats for various leaderboards and such. I have read over an older discussion on this list at http://www.mail-archive.com/android-developers@googlegroups.com/msg75... . There was a lot of good information that I gathered but I still have some questions. What I have so far is an apache web server on a laptop that I don't need right now (2.0Ghz Core 2, 3GB Ram).
I have never really used Java (although I'm learning it for android), but I know C/C++, Perl, and Python. I am in the process of learning mysql databases, which will help with a lot of the stats features I want to implement. I have built a HTTP/1.1 persistent server in C before which did JSON parsing and used a threadpool so I am somewhat familiar with the low-level network calls needed. However, I'm thinking that a free server software must exist that would offer more security and better load-balancing than the server I created. One solution I am thinking is to just use the Apache web server, have android make a request to a perl module I create on the server, and then have the server look it up on a database and so forth. Then the server will just keep sending back the player locations or whatever. Will the Apache web server slow me down for what I am trying to do or I am looking at everything the wrong way? Are there some settings in Apache that I could tweak to give me better latency such as persistent connections?
View 2 Replies
View Related
Nov 11, 2010
I am developing a multiplayer game on android. I am having a Java server and android client. The android client issues multiple requests and receives responses from the server. However the performance is not smooth. At times the data received at the Java server is not what I send from android. It is junk or zeroes. However, some times, data is correctly received.
I was wondering is there any data loss in between and why? I am using java.net on both ends. Please let me know if anybody was facing a similar problem anytime during android development.
View 4 Replies
View Related
Jun 30, 2009
I'm looking for a protocol to secure a connection between a mobile device and a web service. I want to ensure that only the mobile device can perform actions on the web service and vice versa. Data doesn't need to be encrypted. I know Oauth, but it seems that it's more used to secure connections when you got 3 different entities (Server, Consumer and Auth). Here, the Consumer and the User would be the same person. Is there a simple protocol to do that (without requiring the user to login and then authorize the access token like it is the case for Oauth)? I need to use it on different plateforms, so the protocol needs to be available at least on iPhone and PHP.
View 3 Replies
View Related
Jan 13, 2010
I'm retreiving data from an Internet service. Is there a way to control which (data) connection the device uses for connecting to a website?(access via wifi or via the cellular network).
View 1 Replies
View Related
Nov 11, 2012
I am creating an Android application. This application should send message to computer via internet and Wifi (check whether if the device is using internet). The main function is by pressing on a button in Android device a message should go to computer via internet (I don't know, but I think it should be with UDP). I know that I need to set the server for computer and write down IP and port to the android app code. I don't have any clue how to do it. I kinda need to create a computer (windows 7) server receiver, which would receive messages. I am using Eclipse Android SDK
View 1 Replies
View Related
Apr 25, 2008
Mages is multiplayer client/server game engine for Android and other mobile devices (currently Android and J2ME devices are supported, development for Windows Mobile in the progress). It allows developers to create internet multiplayer games by implementing only core game logic and GUI by using powerful engine API.
View 11 Replies
View Related
Sep 7, 2010
I want to develop a multiplayer game. The game will provide communication between different platforms:
1) Two android clients (client applications that communicates through a service).
2) Android client and a web application (internet application) which is something like facebook (web) and android client for some kind of game. I want to handle the communication between the platforms ((1) android to android and (2) android to web) through a service.
I have asp.net (C#) background so I thought to implement the communication using WCF service, but I am not sure this is a good choice. Can I handle the communication using WCF or should I use other approach? Can you please recommend me a good approach to implement the communication?
View 4 Replies
View Related
May 28, 2009
I'm wanting to add 2 player mode to a game, but I want this mode to be able to run over the internet.
My idea is to setup a game state server that would maintain information on the moves made or current game state.
The game clients would send information to this server and request updates via xml.
I would just like to know if this is the best way / only for to clients to send game information to each other over the internet? Any advice on this would be good.
View 3 Replies
View Related
Apr 18, 2010
I'm developping a simple realtime action game 4 Android. It works nice. but now i want deal with animation FPS and i'm facing a big problem i can't solve since couple days now.
I started from the famous Lunar Android sample using facebook. got 55-60 frame per second on my G1. it smelt good for my game i thought ... BUT when i plugged the surface view in my game i got a poor 6-9 Frame per second making the game unplayable.
After debugging removing all content of my doDraw used by the thread controlling the surface view i found the problem.
The problem is not the quantity of sprites i displayed but the concurrency between threads used for receiving my game data over TCP and the UI thread i use to control surface view.
If when i start displaying the game i stop the my socket protocol threads (reader, writer) the game is refreshed at 25 FPS which is not 50 FPS but large enought to make the game playable.
So my question is how in realtime game for android i can send / received data (and not delayed of course) without killing the game refresh rate.
Last thing i use canvas and not open gl but i don't need open gl and i really see the problem comes from the multithreading.
View 6 Replies
View Related
Sep 6, 2011
I want to use my android device (4G Systems One Tab) to remotely execute a batch file on my PC via WIFI-Connection.
I want to have an Icon on my homescreen and when its clicked the batch-file on the desktop computer is executed. (no feedback or output needed, this is all done by the batch).
View 3 Replies
View Related
May 28, 2010
Can someone explain a couple of very simple concepts to me - I'm interested in mobile devices running android and how they are identified over networks. Some scenarios: Device is connected over WiFi - presumably the device has a standard IP address as with any host and can communicate with any other android host over TCP/IP (assuming it knows the participating device's IP? device is connected over bluetooth - how are devices identified in this case? device is connected over mobile operator's network - this is the one I'm interested in and confused by - is there anyway for two or more devices to discover each other and communicate via the mobile operator's network? How does a device communicate with a backend server in this scenario? In other words, how do apps and devices communicate when not connected to a WiFi network?
View 2 Replies
View Related
Jun 6, 2010
I have developed and tested my app on the emulator, and now want to install it on my HTC device. the apk installs successfully, however my database is not going with it. I have created my database using sqliteman browser b/c I have to insert a bulk data before the app starts. I have four tables in my db and call each in different activities and created all on the sqliteman. after the data is inserted I pull back the db onto the data folder of the emulator. it works perfect on the emulator but failed on the device. when I try to pull my db on the real device, it shows access denied problem
View 2 Replies
View Related
Sep 30, 2010
Addictive multiplayer scrabble game and you can play friends!
Wordfeud - multiplayer word game for Android
View 3 Replies
View Related
Mar 25, 2014
Most of my Android contacts are listed as "device" under the "connection" heading. About 10% of my contacts are listed as either "google" or as "google" and "device". The contacts that are have Google under the Connection heading auto-sync to Google+, the remaining 90% of my contacts don't sync.
Is there a way to edit/change the Connection type to add Google to all my contacts?
View 5 Replies
View Related
Mar 4, 2010
I am an android developer and I made some board games. Now i want to make some of my board games multiplayer. I don't want to create and host my own web service, so i thought about P2P.
The first thing i found was the XMPP protocol, however it's not real P2P, but if i can use the existing google talk service, i'm ready to go. Is this possible while using your existing google account without interfering with the normal working of your google talk client?
Then i heard about JXTA, a real P2P solution, and it's already ported from J2ME to Android (http://code.google.com/p/peerdroid/).
Maybe i am overcomplexing things here (as i do sometimes)
I just want to know the easiest way to do simple P2P for a boardgame.
View 3 Replies
View Related
Oct 30, 2009
How do I map the device Y axis to the screen Y axis?I can't figure this out.I'm the developer of Tricorder, and I'm trying to make it so that the accelerometer and magnetometer indicators I draw always point in the right direction.On the G1 phone with the slider closed, all is well.But when I open the slider, I end up showing that gravity is pulling me to the left (if the phone is held with the display vertical).So, I know that the device, and hence sensor, Y axis is always in the direction of the earpiece; and the screen Y axis changes when I open the slider.And I know that I can use remapCoordinateSystem() to change the device axes to match the screen axes.But where do I find out what the device's orientation is?In other words, how do I compute the correct values for the X and Y parameters to remapCoordinateSystem()?
Configuration.orientation seems quite useless.Suppose it is set to LANDSCAPE.What does this mean?Does it mean a device which is "naturally" portrait (i.e. the sensor Y axis points to the narrow end), and which has been turned into landscape mode?If so, which way was it turned?Or does it mean a device which is naturally landscape?In other words, LANDSCAPE could mean that the screen axis is off from the sensor axis by +90, 0, OR -90 degrees.Not much help.So how do I do this?Obviously I want my app to work on all devices, not just the G1 phone.
View 2 Replies
View Related
Oct 29, 2010
I have a standalone GPS enabled data recorder in my car that can function as either a USB host or device. (Its a class 0x00h USB device). I currently connect to it via a WM 6.5 app running on my Palm Treo 750. I would like to port my WM 6.5 app to an Android phone. (I don't have a specific Android phone in mind, I would like it to be as generic as possible).Replicating the GUI is not that difficult, but I am having trouble getting started on the USB communication. I'd appreciate it if someone could point me towards an example, or the appropriate tutorial.
View 1 Replies
View Related
Feb 28, 2014
Basically I have an old iPod touch 2g on iOS 4.x and a Nexus 5.
I want to use my iPod as my media player but I'd like to be able to control music from my Nexus (only basic controls).
Is there an app on either device that allows this? I know tsk skipping can be done by some Bluetooth headphones so I'm hoping there's a way to make iOS accept command from my Nexus
View 1 Replies
View Related
Aug 17, 2010
Galcon, previously a PC game, has now been released on Android!
It's $3 and you can play it both single-player and multiplayer. It's pretty fun. Matches are over fairly quickly so it's good to pick up and play for a couple minutes.
The game works fine on my Droid X, but there seems to be an issue with Swype and the text input boxes. You can't Swype to type--instead, you have to tap each letter. Also, you can't seem to delete using Swype. Also, there is a bug where the number 0 won't register in the text box. These are pretty minor issues since entering your username and password is about the only typing you'll do in this game, but it's something to be aware of.
QR Code:
View 5 Replies
View Related
Feb 14, 2013
I'm developing an App that sends keep-alive packets to its server to ensure the connection is still alive.
The server is java based and thus easily to run. I run the server on a virtual machine (Windows 7). After my App is connected and the first keep-alive packet is received (it displays a message in its console output) I disable the network interface in Windows. This step is very important because by disabling it, there is no way to send any packet back to the client informing it about network changes.
The clients are configured to send every 25 seconds a keep-alive packet, so you don't need to wait long.
When you use the sample JavaClient on Windows 7 it takes less than a minute after the keep-Alive packet and an exception is thrown which triggers reconnection (which currently can't occur). This is the expected behaviour.
When you use the sample Android App on an emulator (tested Android version 2 and 4) it is the same behaviour. So in less than a minute after the keep-alive packet it recognises that the connection is dead, throws an exception, this triggers reconnection.
Problem is now when this App runs on a real device (tested several, Xpearia Arc S, one Cyanogen Mod 4 on Galaxy S3 and my Galaxy S3). I've waited 5 minutes, but there was no exception. This behaviour is reproducable.
Since this is a sample App, it uses no wakelock or service, so to test it is important to have it in foreground all the time (don't switch to other Apps or homescreen) and increase your display timeout to a few minutes to ensure that it doesn't go off. Use Logcat-Output to get informed whats happening, because there is no output in the App itself.
Now Sample-Code is in the attachement. Something had gone wrong. The Code consists of 3 Eclipse projects which you can easily import.
View 3 Replies
View Related
Feb 4, 2010
Anyone play this game? Is it any good?
ProjectINF - ChickenBrick Studios
View 1 Replies
View Related
Feb 13, 2010
I'm using the android plugin for eclipse, and when I try to run my program using a real device through the android device chooser, my phone is not listed as a device. I have updated eclipse and all of the android packages, but it still isn't showing up. My phone is running 1.6, which is also the target version listed in the eclipse project.Also, the reason I decided to try testing on a real device is because the emulator doesn't seem to be working right anymore when I run my project. The emulator launches, but the program never does. Any ideas?(using windows 7/t-mobile mytouch 3g)
View 3 Replies
View Related
Aug 10, 2010
Does anybody have an idea what I may be doing wrong. I have installed the usb drivers and have my device running in debugging mode but when I run my basic hello world application through eclipse my device wont show up in the device chooser. I have also tried re installing the sdk and all the drivers and still no luck.
View 4 Replies
View Related