Posts Tagged J2ME

How to parse XML, RSS feed with kXML in a J2ME MIDlet

More an more mobile devices are used to access Internet and connected services. One efficient way to transfer data between different platforms and technologies is to use XML files, which are simple text files formatted accordingly to the XML rules.

IN order to process an XML file and to extract needed data you need a XML parser which is a text process engine.

Read the rest of this entry »

, ,

7 Comments

Parteneriat Nokia – Windows (Windows Mobile 7)

Trebuie sa recunosc ca sunt putin socat de acest anunt. Chiar daca anuntul oficial a fost facut pe 11 Februarie 2011, azi am citit despre el (am fost in vacanta…). Incercand sa trec peste aceasta uimire, este ironic sa aflu acest lucru azi, dupa ce am sustinut mai devreme un seminar de Programare Dispozitivelor Mobile in care am facut o comparatie intre platformele .NET pentru Windows Mobile, J2ME – Java Micro Edition pentru Symbian si Java pentru Android. Evident, ordinea de prezentare anterioara este crescatoare in ceea ce priveste performanta, calitate, dezvoltare viitoare, etc.

Read the rest of this entry »

,

1 Comment

J2ME tutorial – How to create a simple MIDlet application with NetBeans

The purpose of this tutorial is to present the basic elements needed for mobile Java applications (MIDlets) development. The notions described will be sufficient to build a simple application J2ME HelloWorld application.

Read the rest of this entry »

27 Comments

How to encrypt / decrypt with AES from Bouncy Castle API in J2ME applications

In this post we will see how to use the AES (Advanced Encryption Standard) or Rijndael algorithm implementation from the Bouncy Castle API for J2ME platform. The example will use the AES lightweight engine to encrypt and decrypt a file managed by a J2ME (Midlet) application.

The Bouncy Castle Crypto API for Java provides a lightweight cryptographic API that works with everything from the J2ME to the JDK 1.6 platform.

The API is different for J2ME platform than the one for JDK platform. For example, the lightweight API has different implementations for the two platforms:

Read the rest of this entry »

, , , ,

19 Comments

How to use Bouncy Castle Lightweight Cryptographic API in NetBeans for J2ME (midlets) projects

The Bouncy Castle Crypto API for Java providesĀ a lightweight cryptography API that works with everything from the J2ME to the JDK 1.6 platform.

The API provides cryptographic functions for Java JDK 1.1 to 1.6 applications and for J2ME (mobile applications) midlets. The API can be downloaded from theĀ Bouncy Castle latest releases page. Read the rest of this entry »

, , ,

13 Comments