Developing Hold'em (offline) with Bluetooth connectivity

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Developing Hold'em (offline) with Bluetooth connectivity

Postby jakedemus » Sun Oct 10, 2010 11:17 pm

Hi boys & girls!

I'm thinking of developing an offline Texas Hold'em game as a final year college project and if it turns out anyway decent, I'll release it free on the Android Market.

A main feature of this game will be Bluetooth connectivity so you can easily play your mates locally.

I'm wondering if this idea as been developed before or is in the pipeline by anyone because I'll have to change the plan then.

This is my first post so any help would be much appreciated.

Cheers!
jakedemus
Freshman
Freshman
 
Posts: 8
Joined: Sun Oct 10, 2010 11:14 pm
Location: Ireland

Top

Re: Developing Hold'em (offline) with Bluetooth connectivity

Postby blundell » Mon Oct 11, 2010 10:03 am

The one thing I would say is, bluetooth for android can only be tested on real devices, it is not implemented on the emulator. So if you want to go through with this as a final year project, (which I know you will need testing for) then be aware you will need at least two android devices.

You can put my in the thank you page of your thesis if you like ;-)
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Developing Hold'em (offline) with Bluetooth connectivity

Postby jonbonazza » Tue Oct 12, 2010 5:48 pm

There are a few Texas Hold'em games in the market, however I am not sure if any of them have bluetooth connectivity, as I have not downloaded any of them. I recommend first browsing the market to see what is available. Download any of the available Hold'em games and see what they entail... Even if you find one similar to what you wish to do, you may be able to produce a better i,plementation of the idea(s).

Whatever you decide to go with, I am sure that Blundell, myself, and the others on here can help you in any way you need with the actual coding. I know that I and a couple others have recently played around with the bluetooth API available in the Android SDK.
jonbonazza
Master Developer
Master Developer
 
Posts: 665
Joined: Thu Jul 15, 2010 2:58 pm
Location: WV USA

Re: Developing Hold'em (offline) with Bluetooth connectivity

Postby jakedemus » Wed Oct 13, 2010 11:42 pm

Cheers for the replies and advice.

I'm considering extending the app to enable a wifi network if bluetooth is out of range.
I've read that the Android OS doesn't support ad hoc networks but would anyone know if a work around has been developed for this?

Again thanks for the help..... and all credit will be given in my reports to advisers Blundell ha ha!
jakedemus
Freshman
Freshman
 
Posts: 8
Joined: Sun Oct 10, 2010 11:14 pm
Location: Ireland

Re: Developing Hold'em (offline) with Bluetooth connectivity

Postby blundell » Thu Oct 14, 2010 9:15 am

Hey Jake,

Android doesn't currently support Ad-hoc networks, see this issue:
http://code.google.com/p/android/issues/detail?id=82

Although it is possible with a rooted phone, so you could do it for your degree then state this fact and how this would change in the future (with the above bug report).

Here is how to do it rooted:
http://hydtechblog.com/2009/09/14/how-t ... 1-android/

There is also a work around for Froyo to allow 2.2 devices to see ad-hoc networks:
http://forum.xda-developers.com/showthread.php?t=754961
Not sure if you could implement this in an app though (again root)

GL

P.S Just found this paper that you can probably put in your Bibliography :-)
"A path-quality-aware peer-to-peer file sharing protocol for mobile ad-hoc networks: Wi-share" :
http://ieeexplore.ieee.org/xpl/freeabs_ ... er=5291817
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Developing Hold'em (offline) with Bluetooth connectivity

Postby jakedemus » Tue Oct 19, 2010 12:31 pm

Cheers for the help.
Great stuff and valuable info.

Now, I'm wondering if anyone knows where I could pick up 2 Android phones for a relatively low price?
Second hand or demo phones? Maybe a deposit or rent a phone place?
Optimistic I know.
Just have to demonstrate the technologies working together for the moment before I can get stuck into development of the app.
jakedemus
Freshman
Freshman
 
Posts: 8
Joined: Sun Oct 10, 2010 11:14 pm
Location: Ireland

Top

Re: Developing Hold'em (offline) with Bluetooth connectivity

Postby blundell » Tue Oct 19, 2010 12:41 pm

Always the way, I could do with some cheap demo phones! Best bet is eBay or gumtree look for one's with cracked screens or missing buttons as long as they are fully functional you can use it for testing.

There is this website: http://www.perfectomobile.com gives you an hour's free testing when you register. Although I realise you want to do device to device testing and this isn't possible online.
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: Developing Hold'em (offline) with Bluetooth connectivity

Postby jakedemus » Mon Nov 01, 2010 1:40 am

Aight everybody,
I got a couple of samsung galaxy europa's (i5500) and they're pretty good for a cheap android.
New problem now of course!
The phones will pair through bluetooth but won't connect.
It says, "Paired but not connected".
I've searched around a lot and still haven't found a solution.
Anyone found a solution or have ideas?
Cheers!
jakedemus
Freshman
Freshman
 
Posts: 8
Joined: Sun Oct 10, 2010 11:14 pm
Location: Ireland

Top

Return to General

Who is online

Users browsing this forum: No registered users and 5 guests