资 源 简 介
Dynamic Web Server for Android
The project create a web server on android based on starcore and SRPSHtmlEnvEngine, which are developed by srplab. It supports lua as dynamic script language embedded in web page. The lua script can access android java classes easily, which enables the web site provide much more functions. To use the code freely, an registered copy of starcore is needed. The lua script is simple and easy to use. When embedding lua in web page, uses ... tag.
Create Project
Create a web server project, add libraries of starcore to the project. As follow,
http://dynamic-web-server-for-android.googlecode.com/svn/wiki/images/workspace.PNG
Init Starcore
Using the following code to init starcore and import SRPSHtmlEnvEngine service.
```
StarCoreFactoryPath.StarCoreCoreLibraryPath = "/data/data/"+getPackageName()+"/lib";
StarCoreFactoryPath.StarCoreOperationPath= "/data/data/"+