GithubHelp home page GithubHelp logo

anyremote-j2me-client's Introduction

anyremote-j2me-client

This is a custom build that I made for the j2me client that is distributed with anyremote. This is not a fork. It's more like a re-packaging.

I repackaged the build to use reuse an existing j2me ant + antenna build that I had instead of the make+autotools system currently used by the upstream sourceforge project. I did this because my template j2me ant+antenna build system already had support for signing MIDlets with an x509 certificate in a java keystore. I need this because the j2me handset that I use with anyremote does not allow unsigned MIDlets to use the jsr82 bluetooth APIs.

If you are using a nokia phone and want to install your own code signing certificate on the device, take a look at one of these projects:

This is currently tracking the 2010-04-21 version of anyremote-j2me-client.

Build Documentation

Build Variant Properties

icon.size:
set the icon size used in the output jar. The default "all", will include all available icon set sizes
jsr82:
set this to false to create a nojsr82 build (defaults to true)
sign.app:

set to true to sign the jad file with an x509 certificate (defaults to false, which means the jad will not be signed)

NOTE:
you can create a src/build/user.properties file or set the user.properties.location to the path of an external properties file that can override properties used in the build.

Signing your MIDlet jad file

To sign the midlet, you must set sign.app=true when you build.

You must also set these properties:

keystore.file:
the location of a java keystore with your cert + keys
storepass:
the password of your keystore
certalias:
the alias of your cert+private key pair in your keystore
certpass:
the password of the private key associated with the [certalias] cert in your keystore

Examples

Build a variant with all icon sizes + jsr82 enabled. Do not sign the jad.:

ant package

Build a variant with jsr82 enabled and 64px icons, and sign the MIDlet (by default, the jar will not be signed):

ant -Dicon.size=64 -Djsr82=true -Dsign.app=true package

Clean and then build a non-jsr82 variant, using 48px icons. Do not sign the jad. NOTE: jsr82 defaults to true:

ant -Dicon.size=48 -Djsr82=false clean package

Build, package and then run the MIDlet.:

ant run

Other Notes

If you do not want to use the ant maven plugin to download the build deps (proguard and antenna), then you can explicitly set the location of the jars on your filesystem:

ant -Dwtk.proguard.home=/path/to/your/proguard/install/dir -Dantenna.jar=/path/to/your/antenna.jar package

anyremote-j2me-client's People

Contributors

gorlowski avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

darkrift

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.