• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wifi Communication between two devices when no network connection

 
J. Insi
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi developers!

Is it possible if let say:

1) Two devices are turning on their Wifi
2) They're not connected to any network. No LAN, no bluetooth, no phonecall, no internet
3) They want to discover each other devices
4) They want to communicate each other (sending simple string).
5) They don't want the intermediary devices for direct communication.
6) They are not having Wifi Direct capabilities.

How and what are the steps for achieving it?

 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds like the standard use case for Wifi P2P for Android 4.0+. Bluetooth LE might be an option for Android 4.3+ (it doesn't require network connectivity).
 
J. Insi
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please dont give the android 4.0 API as the solutions... wouldn't it be better if it's in android 2.3?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please dont give the android 4.0 API as the solutions

Why not? Which API level are you targeting?

wouldn't it be better if it's in android 2.3?

It's not, so that's a moot point.
 
J. Insi
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm using that android 2.3

do you have any idea for the solutions that related to my case above earlier?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic