Skip to content

Commit 83f0754

Browse files
committed
Merge pull request blackberry#9 from mdwoolley/master
NFC MIDlet sample
2 parents ce46ed4 + d0bb1b0 commit 83f0754

31 files changed

Lines changed: 644 additions & 0 deletions

NFC/NfcMidlet2/.classpath

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="src" path="res"/>
5+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/net.rim.ejde.BlackBerryVMInstallType/BlackBerry JRE 7.0.0"/>
6+
<classpathentry kind="output" path="bin"/>
7+
</classpath>

NFC/NfcMidlet2/.project

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>NfcMidlet2</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>net.rim.ejde.internal.builder.BlackBerryPreprocessBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>net.rim.ejde.internal.builder.BlackBerryResourcesBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.jdt.core.javabuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
</buildSpec>
24+
<natures>
25+
<nature>net.rim.ejde.BlackBerryPreProcessNature</nature>
26+
<nature>net.rim.ejde.BlackBerryProjectCoreNature</nature>
27+
<nature>org.eclipse.jdt.core.javanature</nature>
28+
</natures>
29+
</projectDescription>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#Wed Jan 04 11:49:56 GMT 2012
2+
eclipse.preferences.version=1
3+
outputfolder=build
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#Wed Jan 04 11:49:27 GMT 2012
2+
eclipse.preferences.version=1
3+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
4+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
5+
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
6+
org.eclipse.jdt.core.compiler.compliance=1.4
7+
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
8+
org.eclipse.jdt.core.compiler.debug.localVariable=generate
9+
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
10+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=ignore
11+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=ignore
12+
org.eclipse.jdt.core.compiler.source=1.3
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!-- This file has been generated by the BlackBerry Plugin for Eclipse v3.6.1. -->
2+
3+
<Properties ModelVersion="1.1.2">
4+
<General Title="" Version="1.0.0" Vendor="BlackBerry Developer" Description=""/>
5+
<Application Type="MIDlet" MainMIDletName="nfc.sample.midlet.NfcMidlet2" MainArgs="" HomeScreenPosition="0" StartupTier="7" IsSystemModule="false" IsAutostartup="false"/>
6+
<Resources hasTitleResource="false" TitleResourceBundleName="" TitleResourceBundleRelativePath="" TitleResourceBundleClassName="" TitleResourceBundleKey="" DescriptionId="">
7+
<Icons>
8+
<Icon CanonicalFileName="res\img\icon.png" IsFocus="false"/>
9+
</Icons>
10+
</Resources>
11+
<KeywordResources KeywordResourceBundleName="" KeywordResourceBundleRelativePath="" KeywordResourceBundleClassName="" KeywordResourceBundleKey=""/>
12+
<Compile OutputCompilerMessages="false" ConvertImages="true" CreateWarningForNoExportedRoutine="true" CompressResources="false" AliasList="">
13+
<PreprocessorDefines/>
14+
</Compile>
15+
<Packaging PreBuildStep="" PostBuildStep="" CleanStep="" OutputFileName="NfcMidlet2" OutputFolder="deliverables" GenerateALXFile="true">
16+
<AlxFiles/>
17+
</Packaging>
18+
<HiddenProperties>
19+
<ClassProtection/>
20+
<PackageProtection/>
21+
</HiddenProperties>
22+
<AlternateEntryPoints/>
23+
</Properties>

NFC/NfcMidlet2/NfcMidlet2.jad

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
MIDlet-Name: NfcMidlet2
2+
MIDlet-Version: 1.0.0
3+
MIDlet-Vendor: BlackBerry Developer
4+
MIDlet-Jar-URL: NfcMidlet2.jar
5+
MIDlet-Jar-Size: 8925
6+
MicroEdition-Profile: MIDP-2.0
7+
MicroEdition-Configuration: CLDC-1.1
8+
MIDlet-1: NfcMidlet2,img/icon.png,nfc.sample.midlet.NfcMidlet2
9+
RIM-MIDlet-Flags-1: 1
10+
Manifest-Version: 1.0
11+
RIM-COD-URL: NfcMidlet2.cod
12+
RIM-COD-Size: 11188
13+
RIM-COD-Creation-Time: 1330098005
14+
RIM-COD-Module-Name: NfcMidlet2
15+
RIM-COD-Module-Dependencies: net_rim_cldc,net_rim_nfc
16+
RIM-COD-SHA1: cc 37 55 8b 13 7a 75 54 5c 21 37 9d e2 8a e6 3a b2 72 c9 c6

NFC/NfcMidlet2/README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# NfcMidlet2 Sample
2+
3+
4+
The purpose of this application is to demonstrate how to write a J2ME MIDlet for BlackBerry which can receive HCI transaction notifications relating NFC card emulation activity.
5+
6+
The sample code for this application is Open Source under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html).
7+
8+
**Applies To**
9+
10+
* [BlackBerry Java SDK for Smartphones](http://us.blackberry.com/developers/javaappdev/)
11+
12+
13+
**Author(s)**
14+
15+
* [Martin Woolley](https://github.com/mdwoolley)
16+
* [John Murray](https://github.com/jcmurray)
17+
18+
19+
**Dependencies**
20+
21+
1. BlackBerry Device Software 7.0 and above.
22+
23+
24+
**Known Issues**
25+
26+
None
27+
28+
**To contribute code to this repository you must be [signed up as an official contributor](http://blackberry.github.com/howToContribute.html).**
29+
30+
31+
## Contributing Changes
32+
33+
Please see the [README](https://github.com/blackberry/BlackBerry-Java) of the BlackBerry-Java repository for instructions on how to add new Samples or make modifications to existing Samples.
34+
35+
36+
## Bug Reporting and Feature Requests
37+
38+
If you find a bug in a Sample, or have an enhancement request, simply file an [Issue](https://github.com/blackberry/BlackBerry-Java/issues) for the Sample and send a message (via github messages) to the Sample Author(s) to let them know that you have filed an [Issue](https://github.com/blackberry/BlackBerry-Java/issues).
39+
40+
41+
## Disclaimer
42+
43+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NFC/NfcMidlet2/bin/img/icon.png

771 Bytes
Loading
3 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)