Go Back   Android Forums > Android Development > Application Development > App Inventor

New Forums: Nexus 6 | Nexus Player | Nexus 9
test: Reply
LinkBack Thread Tools
Old July 22nd, 2012, 10:05 AM   #1 (permalink)
New Member
Thread Author (OP)
Join Date: Jul 2012
Posts: 1
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Interaction between two users

sorry for my bad english...

I want to make a game that one player can send information to another player.
something similar to the concept of 'DrawSomething'.

i want the game to be played turn by turn and when one player finishes his turn the other will get a notification or something and play his turn.

i hope you understand the general idea..

the problem is I can't find the way to do this in app inventor..
does anyone know? thanks!

Zivc is offline  
Reply With Quote
sponsored links
Old August 10th, 2012, 12:43 PM   #2 (permalink)
Junior Member
Join Date: May 2012
Location: Ventimiglia, Italy
Posts: 32
Device(s): Chinese 5" dual-SIM, Motorola Atrix 4G
Carrier: Not Provided

Thanks: 0
Thanked 5 Times in 5 Posts
Default Networking between phones

I know nothing about App Inventor, but if you're talking about communicating between different devices I can think of three ways:

1 Set up a website that each phone talks to, which relays messages from one to another. This is probably best done in PHP and requires a certain amount of experience with website coding as you need to handle logins and other stuff.

2 If you're on the same local router (i.e. sharing a wifi point) you can connect directly using sockets. But you'll need to know the IP address of each device, which may be difficult to discover and it can change each time you connect.

3 Use multicast networking - again if you're all on the same local network. Years ago I wrote a Java library that does a complete job, allowing Java-enabled devices to automatically discover each other and send messages. I tested it recently and it works on Android. It's part of a larger package but it may be possible unhitch it without too much effort.
Tramontana is offline  
Reply With Quote
Old August 13th, 2012, 03:03 PM   #3 (permalink)
Senior Member
350X's Avatar
Join Date: Jan 2012
Location: NWOhio
Posts: 1,273
Device(s): 3X LG Optimus V Rooted - Eken T02A Tablet - KindleFire - Ramos W17PRO Tablet
Carrier: VM

Thanks: 50
Thanked 93 Times in 84 Posts

App Inventor for Android
Ramos W17PRO Dual Core Cortex A9 1.5Ghz 1GB DDR3 ICS 4.0.3 Tablet > FLsuperstore.com - KindleFire -
LG Optimus V rooted Fryo 2.2.2 - 2 LG Optimus V Rooted Fryo 2.2.2 WiFi Only Phones -
Eken T02A Allwin A10 Tablet Gingerbread 2.3.4 >FLsuperstore.com -My Apps -free app hosting, PM me.
350X is offline  
Reply With Quote

Go Back   Android Forums > Android Development > Application Development > App Inventor
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 12:08 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.