Giter VIP home page Giter VIP logo

morseflash's Introduction

MorseFlash

MorseFlash is a (very) simple sample application written by Manfred Moser <[email protected]>

It was created to demonstrate the project setup needed to use the android-maven-plugin in a more complex project
including separate libraries as well as instrumentation testing.

In the following are a couple of pointers to building the project.

Device/Emulator
---------------

ensure that you have a emulator with Android 1.6 or higher running or an equivalent device attached. If you would like
the build to start and emulator ensure that an avd with the name "16" exists.

Full Build
----------

A full build can be executed with the command

mvn clean install

This will build everything as well as deploy the app to the emulator/device and execute the instrumentation tests there.

Release Build
-------------

A release type build like it would be necessary for publication of the application to the Android market and the necessary
steps for it is configured. The following preparation for the execution is necessary:

- Create your key following the instructions at http://developer.android.com/guide/publishing/app-signing.html#cert

- Create a profile like this

    <settings>
    <profiles>
        <profile>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <sign.keystore>/absolute/path/to/your.keystore</sign.keystore>
                <sign.alias>youralias</sign.alias>
                <sign.keypass>keypass</sign.keypass>
                <sign.storepass>storepass</sign.storepass>
            </properties>
        </profile>
    </profiles>
    </settings>

in your settings.xml file in ~/.m2

After this preparation the release build can be invoked with

mvn clean install -P release

which will in turn sign and zipalign the apk.

morseflash's People

Contributors

edomingues avatar

Watchers

 avatar  avatar

Forkers

euclid-cn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.