• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Wifi Communication between two devices when no network connection

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic