|
ContributingToSimple
Contributing To Simple
Featured Contributing to SimpleCoding StylePrograms are much easier to maintain when all files have a consistent style. We follow the standard Java coding style, as defined by Sun in their Code Conventions for the Java Programming Language, with a few exceptions and additions. This style guide is comprehensive and detailed and is in common usage in the Java community. In addition, we enforce the following style rules:
Testing ChangesThe most important rule of all: No code submission without running all tests and passing them! Broken submissions will be rolled back immediately. There is two kinds of tests. The first kind tests the compiler and the runtime libraries. To run them execute the following command: ant clean runtests The second kind test the components. For this you need to build the test application, deploy it to a device and manually/visually check that all components still behave and look as expected. The commands for the component tests are: ${SIMPLE_HOME}/simplec ../../tests/com/google/devtools/simple/runtime/DeviceTests/StartTests/simpleproject/project.properties
${ANDROID_HOME}/tools/adb install -r ${SIMPLE_HOME}/../../tests/com/google/devtools/simple/runtime/DeviceTests/StartTests/build/deploy/StartTests.apkWhenever fixing bugs or writing new code make sure there is a test accompanying the change. Writing Libraries and ComponentsFor information on writing new Simple runtime libraries and components see the Simple Component Writer's Guide. |
I'm looking for something like GW-basic that can run within the android os. So I can write quick and dirty apps on the phone itself without the SDK.
Im willing to write a "SIMPLE IDE" wich will be build with Real Studio. This way i can develop on one platform (windows or mac i have) and deploy for Windows, Mac OSX and Linux. Feel free to contact me on produino a.t. gmail .dot. com