-
Notifications
You must be signed in to change notification settings - Fork 19
/
README
40 lines (21 loc) · 1.37 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
JFormica is an ANT+ library for java. It is designed to take some of strain away from writing ant enabled applications.
Compatability:
Ant+ usb stick - all operating systems with an javax.usb implementation / Android (using the wrapper for dynastream's antlib)
Ant+ enabled phone - Android only
It is based on python-ant (https://github.com/mvillalba/python-ant) by Martín Raúl Villalba.
EXAMPLE CODE:
See :
https://github.com/cowboy-coders/jformica_examples
https://github.com/cowboy-coders/JFormica/tree/master/jformica_examples
COMPILE INSTRUCTIONS:
To compile either import each folder into eclipse or compile using gradle.
General notes
jsr80: you should copy a jar containing a javax.usb implementation to jformica_jsr80/libs/jsr80
android - you need to copy dynastreams antlib.jar to jformica_android/libs
Gradle notes
You need to create a file called local.properties in the root directory of this repository defining fluxutils_dir. This should point to root of the FluxUtils repository, e.g:
fluxutils_dir=/home/fluxoid/code/CyclismoProject/Cyclismo/libs/FluxUtils
To compile seperately, enter the desired compoents folder and issue 'gradle build'. Doing so from the project root will attempt to build all three. Add the resulting jars to your classpath.
USAGE INSTRUCTIONS:
Please see:
https://github.com/cowboy-coders/JFormica/tree/master/jformica_examples