sanj duke

Greenhorn
+ Follow
since Jan 14, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sanj duke

Hey,
I found this thread about distributing midlets without the developers permission.
hmmmm interesting....
copyright violation thread
21 years ago
Hi everyone,
Further to my previous post I've discovered the problem to the i95cl device exception.
There is a typo error in the device property file provided in the i95cl.zip file.
The second property in the file is "pressed_buttons_image=i95cl-sivler.jpg" instead of "pressed_buttons_image=i95cl-silver.jpg".
Correct the image name and the problem will go away!!
Cheers
Sanj
21 years ago
Hi Everyone,
Motorola have just released their J2ME Wireless Toolkit customizations for the i95cl phone along with phone images and device property file.

web page

The i95cl device works fine in Wireless Toolkit 1.0.3!!! But I get errors when using it in Wireless Toolkit 1.0.4.
I've checked the properties file thoroughly.
Any ideas anyone?
Here are thre errors I'm getting in Wireless Toolkit 1.0.4.
java.lang.IllegalArgumentException: Width (-1) and height (-1) must be > 0
at java.awt.image.SampleModel.<init>(SampleModel.java:108)
at java.awt.image.ComponentSampleModel.<init>(ComponentSampleModel.java:128)
at java.awt.image.PixelInterleavedSampleModel.<init>(PixelInterleavedSampleModel.java:69)
at java.awt.image.Raster.createInterleavedRaster(Raster.java:625)
at java.awt.image.Raster.createInterleavedRaster(Raster.java:265)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:303)
at com.sun.kvem.EMDevice.duplicateImage(Unknown Source)
at com.sun.kvem.EMDevice.<init>(Unknown Source)
at com.sun.kvem.midp.MIDP$DeviceFrame.<init>(Unknown Source)
at com.sun.kvem.midp.MIDP.run(Unknown Source)
at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(Unknown Source)
at com.sun.kvem.environment.EmulatorInvoker.runEmulatorSameVM(Unknown Source)
at com.sun.kvem.environment.EmulatorInvoker.runEmulator(Unknown Source)
at com.sun.kvem.environment.ProfileEnvironment$KVMThread.runEmulator(Unknown Source)
at com.sun.kvem.environment.ProfileEnvironment$KVMThread.run(Unknown Source)
Many Thanks
Sanj
21 years ago
Hello Everyone,
Just a quick question.
Is it better to free old objects before allocating new ones? For example setting an object to null before re-allocating another object (with new).
Or is it better to specifically call System.gc().? Is it worth calling garabge collection because I have heard it doesn't take care of fragmentation.
Many Thanks

Sanj
21 years ago
Hello,
I'm having difficulty in trying to rotate an image (e.g. 45 degrees clockwise).
Can anyone please suggest to me a way to rotate an image in a midlet for J2ME.
Many Thanks
22 years ago
Hi,
Can anyone give any general advice for fine tuning and increasing the performance of servlets so that they run faster and better? i.e. do's and don'ts
Many Thanks
22 years ago