Android :: I/O Streams - Multiplayer Game?

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.

Android :: I/O streams - multiplayer game?


Android :: Multiplayer Game Communication

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

Android :: Online Multiplayer Game

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

Games :: Multiplayer Android Game Engine

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

Android :: Multiplayer Game Handle Communication

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

Android :: Setting Up Multiplayer Game Over Internet

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

Android :: Socket - SurfaceView - Multiplayer Game Problem

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

Games :: Multiplayer Scrabble Game

Sep 30, 2010

Addictive multiplayer scrabble game and you can play friends!

Wordfeud - multiplayer word game for Android

View 3 Replies View Related

Android :: P2P Multiplayer Game - With XMPP/Google Talk B - JXTA Peerdroid C

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

Motorola Droid X :: Galcon - New Multiplayer Game

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

Motorola Droid :: Project INF - Multiplayer Shooter Game

Feb 4, 2010

Anyone play this game? Is it any good?

ProjectINF - ChickenBrick Studios

View 1 Replies View Related

Games :: Catchphrase Lovers - PhoneFraze - Multiplayer Family/party Game

May 13, 2010

Catchphrase lovers..PhoneFraze (multiplayer family/party game) is now available!

View 13 Replies View Related

Android :: Suggestions About Multiplayer Game Development On IOS And Android?

Nov 12, 2010

I'm working on a simple game to experience the multiplayer game development on mobile plaforms especially on Android and iOS. I'm now planning network/multiplayer side of the game and need some advice.

Firstly i think about Google App Engine as the server side of the game. But i learned that app engine cannot connect directly to clients. So updates of the users cannot be send to others directly with this method. Then i started to think about serving the game on one of the gamers of the current session. But of course some of the features will be on the server. You think it is a good idea?

Second, I'm looking for a protocol to communicate iOS and Android. YAML and JSON are the ones i looked so far.

Any other suggestions about multiplayer game development would be appreciated. Thanks...

View 1 Replies View Related

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 View Related

Android :: Are There Any Android Multiplayer Game Libraries?

Sep 14, 2010

Are there any good libraries or tools available for adding wifi multiplayer functionality to an Android game?The amount of work and cost involved for getting even the simplest of turn based multiplayer features into our games is somewhat daunting.

View 2 Replies View Related

Android : Play .asx - .pls Streams?

Jun 3, 2010

How can I play a .asx or a .pls stream? I tried Stream Media Player, but to no avail.

View 1 Replies View Related

Android :: Stop A Soundpool Of 4 Streams

Aug 22, 2010

What is the Easiest way to stop a soundpool of 4 streams.

mSoundManager.addSound(1, R.raw.svphorn);
mSoundManager.addSound(2, R.raw.svpphaser);
mSoundManager.addSound(3, R.raw.svpwail);
mSoundManager.addSound(4, R.raw.svpyelp);

I need a button to stop all sounds playing @ one time.

View 1 Replies View Related

Android :: How Does CTS Work - Where To Get The Test Streams

Nov 16, 2009

I am working on the CTS (Compatibility Test Suite), but I am a newer.

From my test, I found the following Fail:

CODE:.....

I have checked the CTS source code. And find the the following source code:

CODE:....................

View 3 Replies View Related

Android :: Fiel Download - Java.net.URL - Streams

Oct 14, 2010

I am developing android a few days now and startet to write an application that gets a file from a server to display the content.

I have this code here

CODE:.....

The strange thing is that nothing is shown in the TextField. If I test the code in a standard java project the printing of the data (with println) works correctly in the console. But when i run it on the android vmachine nothing is shown. I got no more ideas left to proof the code. Anyone has some advices for a newcomer?

View 2 Replies View Related

Android :: PVMFFailure When Using MediaPlayer For Radio Streams

Sep 1, 2009

I am trying to build streaming radio into my app, which works fines streaming files over the internet, but when i try to use a shoutcast url in get the error below, which from the soruce code looks liek the mediaPlayer is looking for the duration in the header. Does anyone know if shoutcast urls will work withthe default media player? Or do i have to download chunks into a ping-pong buffer sor something? The url has no porblems downloading via the browser.

the error is:-

CODE:........................

View 15 Replies View Related

Android :: Accessing The Data - Voice Streams And IOS Platforms

Sep 28, 2010

I haven't done any work with the Android or iOS platforms, but I have recently been pitched a project and I'm trying to see if it is even feasible.

Is there currently API hooks in the iOS and Android platforms for accessing / manipulating the voice / data streams? What I would like to do is encrypt all outgoing steams and decrypt all incoming streams before they reach and other processes that need that data.

I would assume that because the Android platform is open source one should be able to do this, it just may have to be hacked together. I'm more worried about iOS.

View 2 Replies View Related

Android :: Stagefright Mediaextractor - How To Detect Interlaced Streams In Video Files

Sep 7, 2010

Is it possible to detect scan type (progressive or interlaced) of a video file in stagefright?

I see below listed fields are query-able with metadata of file through stagefright, but not scan-type which i guess is avaiable in MP4 file header. Any hint on how to detect scan-type of video file at Stagefright player driver? Or is it available in opencore?

CODE:.............................

View 3 Replies View Related

Media :: An App That Plays Aac Streams?

Apr 22, 2010

AOR by leadapps did this well. But when I upgraded my moment to eclair 2.1, I could no longer find the app. This is one reason the android experience has been a let down for me; I'm no bagger or birther, but damn...this is one socialist OS. Anyway, what have you used to hear streams of .aac's?

View 2 Replies View Related

HTC EVO 4G :: TWIT Tv Streams Live With 2.2?

Aug 3, 2010

Just an FYI - on 2.1 Twit Live stream was dead, now it is alive and well - at least for me the 400kpbs stream seems rock solid.

Sorry if you aren't into Twit, but I watch that livestream pretty regularly.

View 3 Replies View Related

Android :: How To Store Path Of Game Pawn In Turn Based Game?

May 22, 2010

I have a square grid, for a turn based game ( grid is similar to the chess board ), but the moves in the games are different based on whether you have lapped your opponent pawn at least once or not.i.e if you have not lapped (beaten any of the opponents pawns) in the outer most grid as below.if you have lapped your opponent pawn once at least, then you get to reach home,this way.Any player having all his pawns reaching "home" first wins.The ones in yellow are safe-houses, i.e both the opponent pawn and the player's pawn get to stay in the same grid, this is not considered to be lapping ( the opponent ).The lapped pawn will return to its start point.Now the question is, what is the effective way to store the paths for the all the pawns.we will have 4 pawns for the player and 4 opponent pawns.Is there any pattern to store such static information, in a elegant way?

View 1 Replies View Related

Android : Puzzle Game With 7x7 Grid Of Graphics / How To Save And Continue Game

Nov 12, 2010

I have a puzzle game with a 7x7 grid of graphics, and a timer, its just about ready to go. But I am stuck on how to go about saving/continuing game. For example when someone exits I want them to be able to save and exit, then come back and click continue to pick up where they left off with all of the graphics in the right place, timer and score. I looked at onSaveInstanceState android examples, but not sure if this is what I need or how to implement it in my case.

View 8 Replies View Related

General :: In-app OpenVPN Connection (via Streams And Sockets)?

May 22, 2012

Is it possible to write a in-app openvpn connection (via streams and sockets)? If it is, then is there any android application which managed that already? I have also problems finding in-depth openvpn protocol description.

View 4 Replies View Related

Motorola Droid :: Remote PC Application That Streams Audio?

Jan 25, 2010

I have the paid application PhoneMyPC and it's truly great. It does everything that it claims to do really well. The only thing that is lacking is the streaming of audio. Is there an app similar to PhoneMyPC that streams audio as well as video?

View 5 Replies View Related

Motorola Droid :: App That Streams Electronica Type Music?

Mar 27, 2010

I am still relatively new to android apps and was wondering if there was an app any of you might know of that would enable me to listen to Electronica/House/Trance type radio stations?

View 8 Replies View Related

Motorola Droid X :: List Of Live Blogs & Streams

Jun 23, 2010

The day has finally come for the big announcement event. Most of us plan on following the conference live online, through a blog or hopefully a video/audio stream. This is a private event, so the chance of a video stream is obviously low. Nonetheless, I will be hunting the internet for a live feed just in case one's out there.

Let's use this thread to post links to the live blogs and/or streams, to make it a bit easier for people that aren't sure where to look. I'll do my best to update this first post throughout the day to reflect newly found links.

Live Blogs

Engadget
http://www.engadget.com/2010/06/23/live-from-verizons-motorola-droid-x-event/?sort=newest&refresh=20

Android Central
[url]

Verizon Wireless on Twitter
Verizon Wireless (VerizonWireless) on Twitter

Cnet
Reminder: Verizon Droid event June 23 | Android Atlas - CNET Blogs

Thedroidguy
[url]

MobileCrunch
[url]

Live Streams

None yet

View 49 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved