Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
can anyone help in creating a wifi network in android application.i just want to provide the services of an application running in a dedicated server to a android phone using wifi connectivity. can anybody explain a sample code for it?
Posted

1 solution

The wifi connection is handled by the device so your program does not need to know about it except whether it is on or off.

For a program to communicate with an external server it only needs the URL and port numbers; and then the protocol used and the data format.

For example if the server provides the data via a web-service you need to generate SOAP stubs with wsdl tools to make Java classes that represent the data objects and handles the XML and Serialization for you.

To help in your specific case more information is required/
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900