sabato, 25 ottobre 2008

Past days I experienced a weird problem building and running a midlet with Antenna inside Eclipse. Each time I built and run the application, the WTK "DefaultColorPhone" emulator I used had the RMS completely deleted. Everything was fine if I exited from the appliction and started again without any building.

The solution has been going to the Windows current user "Documents and Settings" folder and browse in "j2mewtk\2.5.2\appdb\DefaultColorPhone". There I found a file in.use that was the lock for the existent RMS and that was the reason why the WTK generated a new clean RMS each time I built the application. Deleting it everything is ok again.


Did you like the article? Buy me a coffee!

postato da: emanuelepec alle ore 10:16 | Permalink | commenti
categoria:tipsandtricks, j2me, sdk , emulators


sabato, 18 ottobre 2008

Sun has released the new SDK for Java Mobile Development which is the successor of the Java Wireless Toolkit 2.5.2 and the Java Toolkit 1.0 for CDC. As they say " It integrates CLDC, CDC and Blu-ray Disc Java (BD-J) technology into one SDK".

The reported key features are:
  • Integration with 3rd party emulators and Windows Mobile devices
  • On-device deployment and on-device debugging
  • CLDC/MIDP, CDC/FP/PBP/AGUI and BD-J integrated into one SDK
  • New CLDC HotSpot Virtual Machine
  • Optimized MSA 1.1 stack with extensions
  • Profiling support
  • BD-J support
  • New development environment based on Netbeans Platform
  • Lightweight UI Toolkit (LWUIT) integration
  • Device search database integrated in SDK
Some of the new features are really appreciated.

For example the MSA 1.1 stack with extension includes the following new JSR:
  • Mobile Sensor API (JSR 256)
  • XML API for Java ME (JSR 280)
  • Java Binding for the OpenGL ES API (JSR 239)
Also the integration with LWUIT is a very good features. This SDK is is the first developer's kit that comes with a built-in LWUIT library, resource manager and demo application.

And last but not least, the integrated device database which is a built-in WURFL database search engine with thousands of mobile devices. More than 8000 platforms are accessible using the database in the SDK.

I haven't tried the new SDK yet but I will do soon. If anyone has already tried it please post a comment.


Did you like the article? Buy me a coffee!

postato da: emanuelepec alle ore 10:49 | Permalink | commenti
categoria:j2me, sdk , emulators, lwuit


venerdì, 22 agosto 2008

After the rumors about the HTC Dream which should be on the market earlier than expected after the supposed delays, Google has released a Beta of the new Android SDK.

The SDK can be downloaded at http://code.google.com/android/download_list.html and for information about upgrading from the previous version you can visit http://code.google.com/android/intro/upgrading.html .

Google wants to move quickly towards the release of the SDK 1.0.

The important changes in this new BETA release are:

  • First and most obviously, the new Home screen is included, along with a ton of UI changes for 1.0.
  • Some new applications are included: an Alarm Clock, Calculator, Camera, Music player, Picture viewer, and Messaging (for SMS/MMS conversations.)
  • Several new development tools were added, such as a graphical preview for XML layouts for users of Eclipse, and a tool for constructing 9-patch images.
  • Since we've got a new Home screen application now, we thought the now-obsolete version from the M5 early-look SDK might be helpful to developers, so its source is included as a sample.
  • A number of new APIs are fleshed out and improved, and others are now close to their final forms for 1.0.
  • Tons of bugs were fixed, of course. (If you had problems with the MediaPlayer, try it now!)
This is how the new main screen of the emulator looks:


android_emu_Beta


Did you like the article? Buy me a coffee!

postato da: emanuelepec alle ore 17:10 | Permalink | commenti
categoria:google, emulators, android


lunedì, 15 ottobre 2007

Sony Ericsson logo


The registered Sony Ericsson Developers Community members have now the opportunity to test their own application on pre-commercial phones.This is an online services which:
  • is a global service, 24 hours a day, 7 days a week
  • is convenient: no shipping of phones or firmware updating required
  • has selected 2007 phones, representative of JP-7, JP-8 and UIQ 3
  • can test key presses and network behavior
  • has on-line session reservation, virtual view of phone and real-time results
  • for one hour testing slot per phone, $18-20 (USD) per hour depending on selected monthly package
Link: developer.sonyericsson.com/site/global/products/virtuallab/p_virtual_lab.jsp


Did you like the article? Buy me a coffee!

postato da: emanuelepec alle ore 20:54 | Permalink | commenti
categoria:sony ericsson, mobile phones, emulators


martedì, 02 ottobre 2007

At this link, we can find several interesting J2ME system properties useful when we are working with File Connection API and we want know, for example, names and path of some directories.

The link is from Forum Nokia website but is a good start for all the devices supporting this optional package.

www.forum.nokia.com/document/Java_ME_Developers_Library_v1/GUID-545CA84A-8378-4DFA-9035-94479F5BE26E.html




Did you like the article? Buy me a coffee!

postato da: emanuelepec alle ore 19:29 | Permalink | commenti
categoria:nokia, tipsandtricks, j2me, mobile phones, emulators


lunedì, 01 ottobre 2007

When we are working with FileConnection API, it's good to have an easy way to put file in the file system of the emulator to test at least the read side of our midlets.

If we are using the Nokia Serie 60 3rd edition FP1 emulator we can find the filesystem at

C:\Nokia\Devices\S60_3rd_MIDP_SDK_FP1\bin\epoc32\winscw\c\

(supposing we have installed the SDK under C:\).

If you enter in the "Data" folder, you can then see the folders for the files like Images, Sounds, etc.


Did you like the article? Buy me a coffee!

postato da: emanuelepec alle ore 21:37 | Permalink | commenti
categoria:nokia, tipsandtricks, j2me, emulators


Blogs Directory