Description: Java HTTP watch network programming, network communications programming examples for Android network programming. In the test code in the server I use three ways: S2SH, only Struts2, Servlet. On a client, but another URL request. Service and client interaction used in two ways: XML, JSON, the current data returned is an open platform supports both data formats. So I have realized these two data formats. In fact, there is a format that is google' s protocal buffer, this form in the country with relatively few people, I did not get the students interested to see documents I provide, own research. Note that the inside of the IP address of their computer' s IP replaced. In using the Servlet server, you can set up this way by following the return type, but in fact useless, you set up, it does not return. You can only own package XML file or JSON string, and then return
To Search:
File list (Check if you may need any files):
WebAndroidClient\.classpath
................\.project
................\AndroidManifest.xml
................\bin\classes.dex
................\...\.om\parabola\main\Cache$CacheHolder.class
................\...\...\........\....\Cache.class
................\...\...\........\....\LoginActivity$1.class
................\...\...\........\....\LoginActivity.class
................\...\...\........\....\LoginProtocol.class
................\...\...\........\....\R$attr.class
................\...\...\........\....\R$drawable.class
................\...\...\........\....\R$id.class
................\...\...\........\....\R$layout.class
................\...\...\........\....\R$string.class
................\...\...\........\....\R.class
................\...\...\........\....\User.class
................\...\...\........\....\WelcomeActivity.class
................\...\resources.ap_
................\...\WebAndroidClient.apk
................\default.properties
................\gen\com\parabola\main\R.java
................\proguard.cfg
................\readme
................\..s\drawable-hdpi\icon.png
................\...\.........ldpi\icon.png
................\...\.........mdpi\icon.png
................\...\layout\main.xml
................\...\......\welcome.xml
................\...\values\strings.xml
................\src\com\parabola\main\Cache.java
................\...\...\........\....\LoginActivity.java
................\...\...\........\....\LoginProtocol.java
................\...\...\........\....\User.java
................\...\...\........\....\WelcomeActivity.java
..........\.classpath
..........\.mymetadata
..........\.project
..........\.settings\.jsdtscope
..........\.........\org.eclipse.jdt.core.prefs
..........\.........\org.eclipse.wst.jsdt.ui.superType.container
..........\.........\org.eclipse.wst.jsdt.ui.superType.name
..........\src\applicationContext-actions.xml
..........\...\applicationContext-beans.xml
..........\...\applicationContext-commons.xml
..........\...\com\parabola\action\UserAction.java
..........\...\...\........\dao\impl\IUserDao.java
..........\...\...\........\...\....\UserDaoImpl.java
..........\...\...\........\entity\User.hbm.xml
..........\...\...\........\......\User.java
..........\...\...\........\service\impl\IUserServcie.java
..........\...\...\........\.......\....\UserServiceImpl.java
..........\...\hibernate.cfg.xml
..........\...\struts.xml
..........\WebRoot\index.jsp
..........\.......\META-INF\MANIFEST.MF
..........\.......\WEB-INF\classes\applicationContext-actions.xml
..........\.......\.......\.......\applicationContext-beans.xml
..........\.......\.......\.......\applicationContext-commons.xml
..........\.......\.......\.......\com\parabola\action\UserAction.class
..........\.......\.......\.......\...\........\dao\impl\IUserDao.class
..........\.......\.......\.......\...\........\...\....\UserDaoImpl.class
..........\.......\.......\.......\...\........\entity\User.class
..........\.......\.......\.......\...\........\......\User.hbm.xml
..........\.......\.......\.......\...\........\service\impl\IUserServcie.class
..........\.......\.......\.......\...\........\.......\....\UserServiceImpl.class
..........\.......\.......\.......\hibernate.cfg.xml
..........\.......\.......\.......\struts.xml
..........\.......\.......\page\index.jsp
..........\.......\.......\....\register.jsp
..........\.......\.......\web.xml
..........\开发文档\开发文档
StrAnd\.classpath
......\.mymetadata
......\.project
......\.settings\.jsdtscope
......\.........\org.eclipse.jdt.core.prefs
......\.........\org.eclipse.wst.jsdt.ui.superType.container
......\.........\org.eclipse.wst.jsdt.ui.superType.name
......\src\com\dongzi\action\loginAction.java
......\...\struts.xml
......\WebRoot\index.jsp
......\.......\META-INF\MANIFEST.MF
......\.......\WEB-INF\classes\com\dongzi\action\loginAction.class
......\.......\.......\.......\struts.xml
......\.......\.......\web.xml
.ervletTest1\.classpath
............\.mymetadata
............\.project
............\.settings\.jsdtscope
............\.........\org.eclip