Blackberry JAVA DEVELOPMENT ENVIRONMENT - - CRYPTOGRAPHIC SMART CARD DRIVER - DEVELOPMENT GUIDE Anleitung zur Fehlerbehebung Seite 150

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 286
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 149
150
BlackBerry Java Development Environment Development Guide
Retrieve module information
Retrieve an array of handles for existing modules on a BlackBerry device
>Invoke getModuleHandels().
int handles[] = CodeModuleManager.getModuleHandles();
String name = CodeModuleManager.getModuleName( handles[0]);
Create code modules
Task Steps
Retrieve a handle for a module. >Invoke getModuleHandle() and provide the name of the code module as a parameter.
int handle = CodeModuleManager.getModuleHandle("test_module");
Retrieve specific information about a
module.
> Invoke the methods of the CodeModuleManager class and provide the module handle as a
parameter to these methods.
String name = CodeModuleManager.getModuleName( handle );
String vendor = CodeModuleManager.getModuleVendor( handle );
String description = CodeModuleManager.getModuleDescription( handle );
int version = CodeModuleManager.getModuleVersion( handle );
int size = CodeModuleManager.getModuleCodeSize( handle );
int timestamp = CodeModuleManager.getModuleTimestamp( handle );
Task Steps
Create a module without data. >Invoke createNewModule() and provide the size of the module in bytes as a parameter.
int handle = CodeModuleManager.createNewModule( 3000 );
Create a module with data. >Invoke createNewModule(int, byte[], int), providing the following parameters:
the length in bytes of the entire module
the byte array to add to the module
the length parameter to specify the number of bytes from the byte array to add to the
start of the module
static int createNewModule(int, byte[], int);
Write data into a module. You can write data into a code module in increments, as long as you know the offset at which
to add data.
>Invoke writeNewModule() and provide a byte array of data as a parameter to this
method.
Boolean success = CodeModuleManager.writeNewModule( handle, data,
0, data.length );
Save a module to the BlackBerry® device
database.
>Invoke saveNewModule(int). If the module saves successfully, the method returns one
of the result codes defined in the
CodeModuleManager class.
int result = CodeModuleManager.saveNewModule(handle);
Seitenansicht 149
1 2 ... 145 146 147 148 149 150 151 152 153 154 155 ... 285 286

Kommentare zu diesen Handbüchern

Keine Kommentare

Audi Q7 - UICK Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Autos Audi Q7 - UICK.
Wir stellen 1 PDF-Handbücher Audi Q7 - UICK zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungshandbuch






Weitere Produkte und Handbücher für Autos Audi

Modelle Dokumententyp
243 Bedienungsanleitung   Pneumatische Federsysteme Teil 2 Die 4-Level, 44 Seiten
A3 Bedienungsanleitung   Product and Price Guide A3/S3 Saloon / A3 Cabriolet, 32 Seiten
2007 TT Coup'e Bedienungsanleitung   Preisliste Audi TT Coupé Audi TT Roadster Modelljahr 2007, 16 Seiten
Q5 - Bedienungsanleitung   Product and Price Guide, 31 Seiten
A4 - GUIDE 2008 Spezifikationen   Audi A4 - GUIDE 2008 Specifications, 194 Seiten
A8 Spezifikationen   Audi A8 Specifications, 108 Seiten
S4 Biturbo Spezifikationen   Audi S4 Biturbo Specifications [en] , 27 Seiten
S8 Spezifikationen   Audi S8 Specifications, 56 Seiten
A5 - GUIDE Spezifikationen   Audi A5 - GUIDE Specifications, 34 Seiten
A3 Sportback 332 Bedienungsanleitung   SSP332 Audi A3 Sportback, 9 Seiten
RS 5 Bedienungsanleitung   Product and Price Guide A5/S5/RS 5 Coupé and A5/S5, 32 Seiten
RS 6 Spezifikationen   Audi RS 6 Specifications, 68 Seiten
A6'05 323 Bedienungsanleitung   Audi A6 ´05 Selbststudienprogramm 323 Service Training, 76 Seiten
RS 7 Bedienungsanleitung   Audi RS7 Flyer PDF, 8 Seiten
A6'05 323 Bedienungsanleitung   MANUAL Audi A6 2005 Esp [en] , 76 Seiten
RS 7 Bedienungsanleitung   Katalog RS 7 Sportback, 37 Seiten
A4 - GUIDE 2008 Bedienungsanleitung   how to – replace cam follower on 2005.5 [en] [es] [fr] , 18 Seiten
R8 2007 Bedienungshandbuch   Audi R8 2007 Owner`s manual, 210 Seiten
A3 2004 Bedienungsanleitung   Workshop Manual Service - erWin, 19 Seiten
2012 A7 Bedienungsanleitung   AUDI ORDER GUIDE MODEL YEAR 2012 USA (Retail), 56 Seiten