zhengpanyong / i-jetty Goto Github PK
View Code? Open in Web Editor NEWThis project forked from arathi/i-jetty
i-jetty是一款可以运行在Google Android手机平台上的jetty(开源的servlet容器)
Home Page: https://code.google.com/p/i-jetty/
This project forked from arathi/i-jetty
i-jetty是一款可以运行在Google Android手机平台上的jetty(开源的servlet容器)
Home Page: https://code.google.com/p/i-jetty/
i-jetty Instructions ==================== New versions of i-jetty can be downloaded from the Android Marketplace. From version 3.0 onwards, a web application that exposes your phone information via the network - called the "Console WebApp" - is also available for download via the Android Marketplace. Building from Source ===================== Depedencies ----------- * Subversion * Java 1.6 * Maven Checkout source --------------- Check out the project from code.google.com: $ svn checkout http://i-jetty.googlecode.com/svn/trunk/ i-jetty-read-only Source structure ---------------- The checkout will produce a directory structure like so: + i-jetty + i-jetty-server : adaptation of Jetty to Android + i-jetty-ui : Android app bundle for Jetty + console + webapp : webapp for controlling phone remotely + apk : Android app bundle for installing webapp + example-webapps : example webapps integrated with Android APIs Building -------- 1) cd i-jetty-read-only/i-jetty 2) mvn clean install This produces an adroid app bundle in i-jetty-ui/target/i-jetty-xxxxx.apk. This apk file can then be installed to the phone or to an emulator. For help on installing apk bundles to the phone or the emulator, see http://developer.android.com Using i-jetty ============= Starting i-jetty ---------------- Navigate to the "Manage Jetty" application and click on it to activate. Click on the "Start Jetty" button. Stopping i-jetty ---------------- If you already have i-jetty running, you can click and drag down the i-jetty icon in the navigation bar at the top of the screen to see the "Manage Jetty" task. Click on the task. Now click on the "Stop Jetty" button. Configuring i-jetty ------------------- Click on the "Configure" button to change the settings for i-jetty. Currently supported settings are: HTTP Connector Settings + Use NIO [true|false] + Non SSL Port [8080] HTTPS Connector Settings + Use SSL [false|true] + Use NIO [true|false] *** only on Android 2.2 and greater + Keystore Password [jetty default value] + Keystore Filename [/sdcard/etc/keystore] + Password [jetty default value] + Truststore Password [jetty default value] + Truststore Filename [/sdcard/etc/keystore] HTTP Connector Settings ---------------- You can choose to use either an NIO (SslSelectChannelConnector) or a BIO (SocketConnector) based connector. For information on the differences between these connectors, see http://docs.codehaus.org/display/JETTY/Configuring+Connectors NIO is the Default. HTTPS Connector Settings ------------ An SSL connector will not be started by default. If you wish to use SSL, check the Use SSL checkbox. You will not need to configure anything else, as i-jetty will use its own preconfigured keystore and password settings. If you wish to use your own keystore, then provide the location of the keystore file and passwords as appropriate. You may find it helpful to refer to the Jetty documentation on the SSL connector at http://docs.codehaus.org/display/JETTY/Ssl+Connector+Guide. If you are running on Android 2.2 or greater, you also have the option to use an NIO SSL connector. Prior releases use a BIO SSL connector. Downloading new webapps ----------------------- Click on the "Download" button and then enter the http url of a android-enabled webapp. The webapp will be downloaded and installed to i-jetty. You may need to restart i-jetty in order to start the newly installed webapp.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.