Please, please, please can someone tell me what steps I should be taking to use FullCanvas? Obviously some of you are using it successfully, but I can't get it working.
Thank you.
Printable View
Please, please, please can someone tell me what steps I should be taking to use FullCanvas? Obviously some of you are using it successfully, but I can't get it working.
Thank you.
Hello
It is not complicated:
Be sure that you are using right SDK for compiling which has nokia API's!
as simple as this:
import com.nokia.mid.ui.*;
public class YourOwnCanvas extends FullCanvas {
YourOwnCanvas()
{
}
paint(Graphics g)
{
g.draw...
}
}
Thanks Jalev, but it hasn't proved that simple for me! :-(
I just get:
c:\WTK104\apps\Fireworks\src\FireworksCanvas.java:39: package com.nokia.mid.ui does not exist
import com.nokia.mid.ui.*;
^
I'm using Win2K with all SPs and updates installed. I've installed j2sdk-1_4_1_02-windows-i586.exe to c:\j2sdk1.4.1_02; installed j2me_wireless_toolkit-1_0_4_01-bin-win.exe to c:\wtk104; and run setup.exe from nS60_jme_sdk_v1_0.zip and installed to c:\wtk104\wtklib\devices. I thought this would enable me to use FullCanvas, but when I try to compile my code or the samples I get the above error.
I can get MIDlets to compile and run without FullCanvas -- it seems that I can't use the Nokia APIs. The only FullCanva.class I can find is in c:\wtk104\lib\j2me-debug.zip. Do I need to unzip this? I have NOT set a classpath.
I'm trying to compile for the 7650. Any other suggestions?
Thanks for your help.