Skip Headers
Oracle® Java ME Embedded Developer's Guide
Release 8.1
E52611-02
Index
Next
Contents
List of Examples
List of Figures
List of Tables
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Operating System Commands
Shell Prompts
Conventions
1
Developer Migration Guide
1.1
Overview
1.2
Modified Permission Model
1.3
Device I/O Namespace
1.4
Generic Connection Framework Changes
2
Java Embedded VM Proxy and Console
2.1
Design
2.2
Starting the VM Proxy on the Desktop
2.2.1
Server Mode Connection
2.2.2
Client Mode Connection
2.3
VM Proxy Options
2.4
Using the Command Line Interface
2.4.1
ams-install
2.4.2
ams-list
2.4.3
ams-update
2.4.4
ams-remove
2.4.5
ams-run
2.4.6
ams-stop
2.4.7
blacklist
2.4.8
properties-list
2.4.9
get-property
2.4.10
set-property
2.4.11
save-properties
2.4.12
net-info
2.4.13
net-set
2.4.14
net-reconnect
2.4.15
device-list
2.4.16
device-change
2.4.17
shutdown
2.4.18
cd
2.4.19
delete
2.4.20
get
2.4.21
ls
2.4.22
mkdir
2.4.23
pwd
2.4.24
put
2.4.25
ks-delete
2.4.26
ks-export
2.4.27
ks-import
2.4.28
ks-list
2.4.29
ks-clients
3
Security
3.1
Overview of Oracle Java ME Embedded Permissions
3.2
Accessing Peripherals
3.2.1
Signing the Application with API Permissions
3.2.1.1
Method #1: Signing Application Using the NetBeans IDE
3.2.1.2
Method #2: Signing Application Using a Command Line
3.2.1.3
Method #3: Using NullAuthenticationProvider
3.3
CLDC Permissions
3.3.1
FilePermission
3.3.1.1
Resource Name
3.3.1.2
Actions
3.3.2
RuntimePermission
3.3.2.1
Resource Name
3.3.3
LoggingPermission
3.3.4
PropertyPermission
3.3.4.1
Resource Name
3.3.4.2
Actions
3.4
Keystore Permissions
3.4.1
KeyStorePermission
3.4.1.1
Resource Name
3.5
Device I/O Permissions
3.5.1
ADCPermission
3.5.1.1
Resource Name
3.5.1.2
Actions
3.5.2
ATPermission
3.5.2.1
Resource Name
3.5.2.2
Actions
3.5.3
CounterPermission
3.5.3.1
Resource Name
3.5.3.2
Actions
3.5.4
DACPermission
3.5.4.1
Resource Name
3.5.4.2
Actions
3.5.5
DeviceMgmtPermission
3.5.5.1
Resource Name
3.5.5.2
Actions
3.5.6
GenericPermission
3.5.6.1
Resource Name
3.5.6.2
Actions
3.5.7
GPIOPinPermission
3.5.7.1
Resource Name
3.5.7.2
Actions
3.5.8
GPIOPortPermission
3.5.8.1
Resource Name
3.5.8.2
Actions
3.5.9
I2CPermission
3.5.9.1
Resource Name
3.5.9.2
Actions
3.5.10
MMIOPermission
3.5.10.1
Resource Name
3.5.10.2
Actions
3.5.11
PWMPermission
3.5.11.1
Resource Name
3.5.11.2
Actions
3.5.12
SPIPermission
3.5.12.1
Resource Name
3.5.12.2
Actions
3.5.13
UARTPermission
3.5.13.1
Resource Name
3.5.13.2
Actions
3.5.14
WatchdogTimerPermission
3.5.14.1
Resource Name
3.5.14.2
Actions
3.6
Smart Cards
3.6.1
APDUPermission
3.6.1.1
Resource Name
3.7
Cellular
3.7.1
CellularPermission
3.7.1.1
Resource Name
3.8
Generic Events
3.8.1
EventPermission
3.8.1.1
Resource Name
3.8.1.2
Actions
3.9
COMM Protocol
3.9.1
CommProtocolPermission
3.9.1.1
Resource Name
3.10
Connector
3.10.1
CBS
3.10.1.1
Resource Name
3.10.1.2
Actions
3.10.2
File Read
3.10.2.1
Resource Name
3.10.2.2
Actions
3.10.3
File Write
3.10.3.1
Resource Name
3.10.3.2
Actions
3.10.4
RTSP
3.10.4.1
Resource Name
3.10.4.2
Actions
3.10.5
SMS
3.10.5.1
Resource Name
3.10.5.2
Actions
3.11
Datagram Protocol
3.11.1
DatagramProtocolPermission
3.11.2
DTLSProtocolPermission
3.12
File Protocol
3.12.1
FileProtocolPermission
3.12.1.1
Resource Name
3.12.1.2
Actions
3.13
Hypertext Transfer Protocols
3.13.1
HTTPProtocolPermission
3.13.2
HTTPSProtocolPermission
3.14
IMC
3.14.1
IMCProtocolPermission
3.14.1.1
Resource Name
3.15
Multicast Protocols
3.15.1
MulticastProtocolPermission
3.16
Push Protocols
3.16.1
PushRegistryPermission
3.16.1.1
Actions
3.17
Socket Protocols
3.17.1
SocketProtocolPermission
3.17.2
SSLProtocolPermission
3.18
Location
3.18.1
LocationPermission
3.19
Media
3.19.1
RecordControl
3.19.2
VideoControl
3.20
Auto-Start
3.20.1
AutoStartPermission
3.20.2
AutoStartPermission
3.20.2.1
Resource Names
3.21
Power
3.21.1
PowerStatePermission
3.21.1.1
Resource Names
3.22
Software Management
3.22.1
SWMPermission
3.22.1.1
Resource Names
3.22.1.2
Actions
4
Software Management
4.1
SuiteInstallListener Interface
4.2
SuiteListener Interface
4.3
SuiteManager Interface
4.4
TaskListener Interface
4.5
TaskManager Interface
4.6
ManagerFactory Class
4.7
The Suite Class
4.8
SuiteInstaller Class
4.9
SuiteInstaller Class
4.10
SWMPermission Class
4.11
Task Class
4.12
InstallerErrorCode
5
General Purpose Input/Output
5.1
Setting a GPIO Output Pin
5.2
Working with a Breadboard
5.3
Blinking an LED
5.4
Testing Output and Input Pins
6
Working with the I2C Bus
6.1
Experimenting with a 7-Segment Display
6.2
Experimenting with a 16x2 LCD Display
7
The Serial Peripheral Interface (SPI) Bus
7.1
Using the SPI Bus to Communicate with an ADC
8
Working with Java ME Encryption
8.1
Connecting to an SSL Server
8.2
Authenticating an SSL Server
8.3
Accessing the Keystore
8.4
Configuring the Board as a Secure Server
A
Java ME Optimization Techniques
A.1
Design
A.1.1
Memory
A.1.2
Threads
A.1.3
System Callbacks
A.2
Input/Output
A.3
General Tips
A.4
Application Size
B
Java ME Embedded Properties
B.1
Modifying the Properties File
B.2
Using the Command-Line Interface
C
Signing an IMlet Suite's JAR File
C.1
Instructions for Using JadTool
C.2
Using the JadTool Utility
C.3
Handling Expired Certificates
C.4
Options Summary
D
Managing Keys and Certificates
D.1
Running MEKeyTool
D.2
Using the MEKeyTool Utility
D.3
ME Keystores
D.3.1
Working Directory for the Emulator
D.3.2
Creating and Managing Multiple ME Keystores
D.3.2.1
Creating Alternate ME Keystores
D.3.2.2
Managing Alternate ME Keystores
D.4
Importing a Key
D.5
Listing Available Keys
D.6
Deleting a Key
D.7
Replacing a Key
D.8
MEKeyTool Summary
E
OEM Extensions
E.1
Using OEM Extensions
F
Encryption Algorithms
F.1
Supported Algorithms for Windows, Raspberry Pi, and Qualcomm Platforms
F.1.1
TLSv1.0 - TLSv1.2
Glossary
Index