android


Broadcast a file on wifi local network with Mobile


I need to broadcast a file on a wifi local network with phone Android. The scenario like this: my mobile send a file to the modem, so the modem can broadcast this file to the another mobiles in the same network. I must explain like this because someone may think about P2P (what I don't want here).
I know that the developer of Android usually work on the layer application. So, I wonder if it exist API or the library or they way to do the execution on the deeper layer (layer TCP and layer IP).
Thank you so much!
I am making a couple of assumptions,
1. That by broadcast a file, you mean transfer a file.
2. By connecting to a modem you meant connecting to a WiFi network.
The tutorial given here on Network Service Discovery will help you with advertising a service and connecting to one (even retrieving the info of the host of the service).
In the 'onServiceFound' listener, hold on to the host's details till you listen to an 'onServiceLost' from that host.
Using the host's details you can identify and also open a socket connection, over which you can transfer the file.

Related Links

how to check my host server is availability
Can I populate a expandable listview with json data using volley?
arm64-v8a type OS Architecture device for Android device not working
Android font-size brakes UI
QML. Can't close menu by press outside on android
How to play a pager adpter arrylist video url on videview
Android annotation to call a specific function
Navigation Drawer header image not clickable
How can i get accurate lat long of current GPS location?
I want to select multiple contacts with check boxes. But when I check or uncheck check boxes it always returns false
how to get the Supported Preview Sizes in android Marshmallow
How to avoid duplicated actions in ListiView with checkboxes Android?
Image resolutions for iOS and Android apps
Add a border to the bottom of radio button text
Android facebook hash key invalid and does not match
Android Custom Dialog not showing after onRequestedPermissionResult

Categories

HOME
scikit-learn
nunit
powerpoint
babeljs
azure-container-service
mql5
mxgraph
emoji
openbugs
automatic-ref-counting
enterprise-architect
plink
android-intent
screen-readers
standards
mathprog
chargify
soci
jmp
gmm
google-maps-autocomplete
aggregation
short-url
google-api-client
draft-js-plugins
jquery-multiselect
ms-access-web-app
jasmine-node
outliers
exchangewebservices
cart
fstream
mailkit
reason
timing
uiimage
ovf
jquery-ui-draggable
identification
posixct
podscms
context-switch
qtranslate
java-bytecode-asm
headless
dt
swingworker
pacemaker
latin
async.js
lean
qiime
angular-ui-typeahead
boost-serialization
phpwebsocket
libav
aspen
cycle2
user-management
relativelayout
opl
diff3
psr-4
with-statement
ss7
matrix-inverse
decoupling
amslidemenu
accesscontrolexception
light
tlf
gpars
pagedown
superscrollorama
chart-director
twisted.web
pdfviewer
curb
cakephp-1.2
azman
convention
user-tracking
promotion-code
update-statement
lr
mtu
luajava
facebook-iframe
cuda.net
complex-event-processing
business-model
lemmatization
movieplayer
great-circle

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App