Skip to main content

LWUIT for BlackBerry

37 replies [Last post]
playerthong
Offline
Joined: 2008-09-02

Hi everyone, I like LWUIT very much because it's very cool for J2ME. I tried my LWUIT Demo on Netbean6.1 successfully.However, I run my LWUIT Demo on Simulator of JDE4.5 of BlackBerry unsuccessfully. I deleted M3G helper classes and the 3D Transition classes .I built my project successfully but run unsuccessfully.It show "JVM Error 104 uncaught Exception" .Please help me.Who can give me a simple successful example LWUIT for blackberry.

my email: playerthong@yahoo.com

Message was edited by: playerthong

Message was edited by: playerthong

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
saturon

Hi Maxim,

My humble advice regarding fonts:
I also thought that bitmap fonts are the solution, however I had to
realize that performance was really suffering on a lot of places that
was too much to bear for the user. Typical places where you realize this
are list scrollings e.g. on menu items.
Also if you are tight with memory you have to take into consideration
the additional amount of memory the bitmap fonts consume.

To be flexible what i did is to have centrally define my fonts so that i
can switch to bitmap / sytsem just by using a flag and do not have to
replace those references all across the code base. Besides I also
considered a hyprid approach. And another thing: underline is not
supported yet for bitmap fonts, you have to draw the line yourself...

Rgds Ben

-----Original Message-----
From: Chen.Fishbein@Sun.COM [mailto:Chen.Fishbein@Sun.COM]
Sent: Donnerstag, 12. März 2009 14:45
To: users@lwuit.dev.java.net
Subject: Re: three font sizes

Hi,
System fonts are taken from MIDP and unfortunately there are no more
then 3 sizes in MIDP, and the size itself is not something we can
control.
Use bitmaps if the system fonts does not satisfy your needs.

Regards,
Chen

Maxim Vladimirsky wrote:

There are at least two of us :-). I personally find that on most systems
the small font is not small enough :-(.

-Maxim

On Thu, Mar 12, 2009 at 12:12 PM, browneye man
wrote:

Hi,

Is it just me or are other people not satisfied with just three system
font sizes?

david

[att1.html]

Maxim Vladimirsky

Thank you for a comprehensive answer, Ben. Hybrid approach is probably the
way to go for me.

-Maxim.

On Thu, Mar 12, 2009 at 11:00 PM, saturon wrote:

> Hi Maxim,
>
> My humble advice regarding fonts:
> I also thought that bitmap fonts are the solution, however I had to realize
> that performance was really suffering on a lot of places that was too much
> to bear for the user. Typical places where you realize this are list
> scrollings e.g. on menu items.
> Also if you are tight with memory you have to take into consideration the
> additional amount of memory the bitmap fonts consume.
>
> To be flexible what i did is to have centrally define my fonts so that i
> can switch to bitmap / sytsem just by using a flag and do not have to
> replace those references all across the code base. Besides I also
> considered a hyprid approach. And another thing: underline is not supported
> yet for bitmap fonts, you have to draw the line yourself...
>
> Rgds Ben
>
>
> -----Original Message-----
> *From:* Chen.Fishbein@Sun.COM [mailto:Chen.Fishbein@Sun.COM]
> *Sent:* Donnerstag, 12. März 2009 14:45
> *To:* users@lwuit.dev.java.net
> *Subject:* Re: three font sizes
>
> Hi,
> System fonts are taken from MIDP and unfortunately there are no more then 3
> sizes in MIDP, and the size itself is not something we can control.
> Use bitmaps if the system fonts does not satisfy your needs.
>
> Regards,
> Chen
>
> Maxim Vladimirsky wrote:
>
> There are at least two of us :-). I personally find that on most systems
> the small font is not small enough :-(.
>
> -Maxim
>
> On Thu, Mar 12, 2009 at 12:12 PM, browneye man wrote:
>
>> Hi,
>>
>> Is it just me or are other people not satisfied with just three system
>> font sizes?
>>
>> david
>>
>>
>>
>
[att1.html]

browneye man

I've noticed that on my Nokia S60 phone, there are other applications
that can control the font size at a much finer scale.  I'm guessing
that it is the Java VM that is putting the limit on font control. 
Can anyone comment on that?

My application is a Chinese ebook reader.  There are 2500 frequently
used Chinese characters in the language.  Because of the complexity
of Chinese Characters, a font size that is too small is not readable. 
So if you imagine 2500 medium sized bitmapped Chinese Characters
included with my jar, it takes too much space and too long to load.

My problem with system fonts is that every system has a different
font size and different font face.  This makes my application look
and feel different on each device.    But for now, I guess i'll have
to live with it, because it is really unpractical to  inlude a bitmap
font with my application.

Thanks for all your advice.

david

 
 
 
Thank you for a comprehensive answer, Ben. Hybrid approach is probably the
way to go for me.

-Maxim.

On Thu, Mar 12, 2009 at 11:00 PM, saturon wrote:

> Hi Maxim,
>
> My humble advice regarding fonts:
> I also thought that bitmap fonts are the solution, however I had to realize
> that performance was really suffering on a lot of places that was too much
> to bear for the user. Typical places where you realize this are list
> scrollings e.g. on menu items.
> Also if you are tight with memory you have to take into consideration the
> additional amount of memory the bitmap fonts consume.
>
> To be flexible what i did is to have centrally define my fonts so that i
> can switch to bitmap / sytsem just by using a flag and do not have to
> replace those references all across the code base. Besides I also
> considered a hyprid approach. And another thing: underline is not supported
> yet for bitmap fonts, you have to draw the line yourself...
>
> Rgds Ben
>
>
> -----Original Message-----
> *From:* Chen.Fishbein@Sun.COM [mailto:Chen.Fishbein@Sun.COM]
> *Sent:* Donnerstag, 12. März 2009 14:45
> *To:* users@lwuit.dev.java.net
> *Subject:* Re: three font sizes
>
> Hi,
> System fonts are taken from MIDP and unfortunately there are no more then 3
> sizes in MIDP, and the size itself is not something we can control.
> Use bitmaps if the system fonts does not satisfy your needs.
>
> Regards,
> Chen
>
> Maxim Vladimirsky wrote:
>
> There are at least two of us :-). I personally find that on most systems
> the small font is not small enough :-(.
>
> -Maxim
>
> On Thu, Mar 12, 2009 at 12:12 PM, browneye man wrote:
>
>> Hi,
>>
>> Is it just me or are other people not satisfied with just three system
>> font sizes?
>>
>> david
>>
>>
>>
>

[att1.html]

Shai Almog

This is an inherent problem of bitmap fonts. You can get the font
size using font getHeight() so that shouldn't be the actual problem
however the real problem is far worse: Hi DPI. Devices have
ridiculously high DPI making a 13 pixel font look tiny on one device
and decent on another...
The solution we try to offer in some cases is configurability of the
default font via system settings, this is pretty easy to do globally
in LWUIT by changing the theme Hashtable programmatically when
setting the theme. E.g. theme.put("font", myFont);

> I've noticed that on my Nokia S60 phone, there are other applications
> that can control the font size at a much finer scale. I'm guessing
> that it is the Java VM that is putting the limit on font control.
> Can anyone comment on that?
>
> My application is a Chinese ebook reader. There are 2500 frequently
> used Chinese characters in the language. Because of the complexity
> of Chinese Characters, a font size that is too small is not readable.
> So if you imagine 2500 medium sized bitmapped Chinese Characters
> included with my jar, it takes too much space and too long to load.
>
>
> My problem with system fonts
> is that every system has a different
> font size and different font face. This makes my application look
> and feel different on each device. But for now, I guess i'll have
> to live with it, because it is really unpractical to inlude a bitmap
> font with my application.
>
> Thanks for all your advice.
>
> david
>
>
>
>
>
>
>
> Thank you for a comprehensive answer, Ben. Hybrid approach is
> probably the
> way to go for me.
>
> -Maxim.
>
> On Thu, Mar 12, 2009 at 11:00 PM, saturon wrote:
>
> > Hi Maxim,
> >
> > My humble advice regarding fonts:
> > I also thought that bitmap fonts are the solution, however I had
> to realize
> > that performance was really suffering on a lot of places that was
> too much
> > to bear for the user. Typical places where you realize this are list
> > scrollings e.g. on menu items.
> > Also if you are tight with memory you have to take into
> consideration the
> > additional amount of memory the bitmap fonts consume.
> >
> > To be flexible what i did is to have centrally define my fonts so
> that i
> > can switch to bitmap / sytsem just by using a flag and do not
> have to
> > replace those references all across the code base. Besides I also
> > considered a hyprid approach. And another thing: underline is not
> supported
> > yet for bitmap fonts, you have to draw the line yourself...
> >
> > Rgds Ben
> >
> >
> > -----Original Message-----
> > *From:* Chen.Fishbein@Sun.COM [mailto:Chen.Fishbein@Sun.COM]
> > *Sent:* Donnerstag, 12. März 2009 14:45
> > *To:* users@lwuit.dev.java.net
> > *Subject:* Re: three font sizes
> >
> > Hi,
> > System fonts are taken from MIDP and unfortunately there are no
> more then 3
> > sizes in MIDP, and the size itself is not something we can control.
> > Use bitmaps if the system fonts does not satisfy your needs.
> >
> > Regards,
> > Chen
> >
> > Maxim Vladimirsky wrote:
> >
> > There are at least two of us :-). I personally find that on most
> systems
> > the small font is not small enough :-(.
> >
> > -Maxim
> >
> > On Thu, Mar 12, 2009 at 12:12 PM, browneye man
> wrote:
> >
> >> Hi,
> >>
> >> Is it just me or are other people not satisfied with just three
> system
> >> font sizes?
> >>
> >> david
> >>
> >>
> >>
> >
>
>
>

Shai Almog
http://lwuit.blogspot.com/
https://lwuit.dev.java.net/faq.html

[att1.html]

kjayanaresh
Offline
Joined: 2005-04-04

Thanks, Its been resolved.

siva80sankar
Offline
Joined: 2008-12-11

Hi Shawal

i have implemented the steps which you have given here
but i cant able to create the new project after configuring the simulator,
its just shows disabled finish button and it get stuck up the Netbeans application
i cant able to continue my work there?

can you get me the right solution for implementing this Blackberry application in Netbeans along with Lwuit

with Regards
P>Sivasankar

browneye man

Hi,

Is it just me or are other people not satisfied with just three system font sizes?

david

[att1.html]

Maxim Vladimirsky

There are at least two of us :-). I personally find that on most systems the
small font is not small enough :-(.

-Maxim

On Thu, Mar 12, 2009 at 12:12 PM, browneye man wrote:

> Hi,
>
> Is it just me or are other people not satisfied with just three system font
> sizes?
>
> david
>
>
>
[att1.html]

Chen Fishbein

Hi,
System fonts are taken from MIDP and unfortunately there are no more
then 3 sizes in MIDP, and the size itself is not something we can control.
Use bitmaps if the system fonts does not satisfy your needs.

Regards,
Chen

Maxim Vladimirsky wrote:
> There are at least two of us :-). I personally find that on most
> systems the small font is not small enough :-(.
>
> -Maxim
>
> On Thu, Mar 12, 2009 at 12:12 PM, browneye man
> > wrote:
>
> Hi,
>
> Is it just me or are other people not satisfied with just three
> system font sizes?
>
> david
>
>
>
[att1.html]

Maxim Vladimirsky

Yeah, I know that. And my comment is by no means a complain about LWUIT.
This is just a way to ease my frustration with MIDP by shearing it with the
community :-)

-Maxim

On Thu, Mar 12, 2009 at 4:45 PM, Chen Fishbein wrote:

> Hi,
> System fonts are taken from MIDP and unfortunately there are no more then 3
> sizes in MIDP, and the size itself is not something we can control.
> Use bitmaps if the system fonts does not satisfy your needs.
>
> Regards,
> Chen
>
>
> Maxim Vladimirsky wrote:
>
> There are at least two of us :-). I personally find that on most systems
> the small font is not small enough :-(.
>
> -Maxim
>
> On Thu, Mar 12, 2009 at 12:12 PM, browneye man wrote:
>
>> Hi,
>>
>> Is it just me or are other people not satisfied with just three system
>> font sizes?
>>
>> david
>>
>>
>>
>
[att1.html]

cknappe
Offline
Joined: 2008-08-28

Hi,

i did LWUT on BlackBerry. Look those ant script parts - hope this helps.
















After that use proguard


















Now put the manifest into it and repack to jar









jarfile="${build}/bin/${file.name}.jar" manifest="${build}/META-INF/MANIFEST.MF">





After that you have to throw this into the rapc compiler






So this could give you some support i think.

cknappe
Offline
Joined: 2008-08-28

Add to last post:

use BlackBerry api in bootclasspath

susantasweng
Offline
Joined: 2008-12-31

Hi,
Shai Almog,

After trying a lot I got a easiest solution and the process is:

[b]Very simple solution to run LWUIT application into Blackberry successfully without Any Error:
[/b]
[b]The process(I suppose you're on a NetBeans IDE...?):[/b]
1) Before using the LWUIT.jar file into your application you have to pre verify that. [u]The command to run is:[/u]
D:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\bin>preverify -classpath "D:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\lib\net_rim_api.jar"
"D:\NBProjects\LWUITDemo\dist\lib\LWUIT.jar"

2) Then you will get the following errors:
i) [b]Error preverifying class com.sun.lwuit.SVGImage
VERIFIER ERROR com/sun/lwuit/SVGImage.drawImage(Lcom/sun/lwuit/Graphics;II)V
:
Cannot find class javax/microedition/m2g/ScalableImage[/b]
You have to delete that SVGImage.class file from LWUIT.jar because JDE failed to verify it for the above errors.

ii) Then again run that command & you again will get errors:
[b]Error preverifying class com.sun.lwuit.animations.Transition3D
VERIFIER ERROR com/sun/lwuit/animations/Transition3D.initTransition()V:
Cannot find class javax/microedition/m3g/Node[/b]
And you have to also delete Transition3D.class, M3G.class & M3G$Callback.class files from LWUIT.jar because JDE failed to verify them also.
iii) Then again run that command and it will able verify successfully without any message. When pre verifying, all pre verified classes are saved in a subdirectory "output" by default into the JDE “bin” directory.

3) Now take that pre verified LWUIT.jar file and make your application. And after completing your prject with your .jad & .jar file make the .cod file [u]with the following command:[/u]
D:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\bin>rapc import="D:\Program Files\Research In Motion\BlackBerry JDE 4.2.1\lib\net_rim_api.jar" codename="C:\Documents and Settings\Susanta\Desktop\COD\COD\LWUITApps" -midlet " D:\NBProjects\LWUITApps\dist\LWUITApps.jad" " D:\NBProjects\LWUITApps\dist\LWUITApps.jar"
(Where “import” path is the net_rim_api.jar path, ”codename” path is the path where you want to make the cod file with name then .jad file path & .jar file path)
And you will get the .cod file in the codename path & test it.

[u]# And running LWUITDemo application downloaded from LWUIT website,we need to made a simple change:[/u]
Resources res2 = Resources.open("/myTheme1.res");

Replace the above statement by the following two

InputStream stream1 = getClass().getResourceAsStream("/resources.res");
Resources res2 = Resources.open(stream1);

Because of some folder structure problem it can not open directly.

Thanks,
Susanta

susantasweng
Offline
Joined: 2008-12-31

Hi friends,
I am also facing the same problem with LWUIT & Blackberry. I have already developed some demo applications for our clients,but today when I go to run it in Blackberry Simulator, i was getting error after installing successfully.first time i become frustrated while resolving the error "verification error 2953 at offset 1e3e" but after searching the error in google i got some references & try to resolve again with all the process was detailed like, deleting Transition3D.class, M3G$Callback.class, M3G.class and SVGImage.class also with deleting MediaComponent.class from the .jar file; making .cod file ; without making .cod file,making project with that .jar file into the Blackberry JDE but all goes in vain.
will anybody please help me by providing some code or modified LWUIT.jar file & step wise process which will sufficient to run LWUIT apps on Blackberry.

my mail Id is: susantasweng@gmail.com

Thanx a lot.

adnutri
Offline
Joined: 2008-10-28

Hi achie3xis ,

I have the same problem.

Could you send the code from the library LWUIT prepared for Blackberry?

my e-mail: ar.brandao@gmail.com

Best Regards

juanurielme
Offline
Joined: 2008-09-29

Hi, i dont speak english but i try. you can give me step by step ? I have a LWUIT without m3g but i can't star a aplication. I have an error: java.lang.ClassCastException. or SecurityException

import javax.microedition.midlet.MIDletStateChangeException;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.container.MainScreen;

import com.sun.lwuit.Display;
import com.sun.lwuit.Form;
import com.sun.lwuit.events.ActionEvent;
import com.sun.lwuit.events.ActionListener;

public class HelloApp extends UiApplication {
public static void main(String argv[]) {
System.out.println("main");
HelloApp app = new HelloApp();
app.enterEventDispatcher();
}

public HelloApp() {

pushScreen(new HelloLWUITMidlet());

}
}

class HelloLWUITMidlet extends MainScreen implements ActionListener {

public HelloLWUITMidlet() {

Display.init(this);
Form f = new com.sun.lwuit.Form("Hello, LWUIT!");
f.show();

}

public void pauseApp() {
}

public void destroyApp(boolean unconditional) {
}

public void actionPerformed(ActionEvent ae) {
// notifyDestroyed();
}

protected void startApp() throws MIDletStateChangeException {

}
}

Shai Almog

LWUIT expects a MIDP MIDlet not the RIM API.

> Hi, i dont speak english but i try. you can give me step by
> step ? I have a LWUIT without m3g but i can't star a aplication.
> I have an error: java.lang.ClassCastException. or SecurityException
>
> import javax.microedition.midlet.MIDletStateChangeException;
> import net.rim.device.api.ui.UiApplication;
> import net.rim.device.api.ui.container.MainScreen;
>
> import com.sun.lwuit.Display;
> import com.sun.lwuit.Form;
> import com.sun.lwuit.events.ActionEvent;
> import com.sun.lwuit.events.ActionListener;
>
> public class HelloApp extends UiApplication {
> public static void main(String argv[]) {
> System.out.println("main");
> HelloApp app = new HelloApp();
> app.enterEventDispatcher();
> }
>
> public HelloApp() {
>
> pushScreen(new HelloLWUITMidlet());
>
> }
> }
>
> class HelloLWUITMidlet extends MainScreen implements ActionListener {
>
> public HelloLWUITMidlet() {
>
> Display.init(this);
> Form f = new com.sun.lwuit.Form("Hello, LWUIT!");
> f.show();
>
> }
>
> public void pauseApp() {
> }
>
> public void destroyApp(boolean unconditional) {
> }
>
> public void actionPerformed(ActionEvent ae) {
> // notifyDestroyed();
> }
>
> protected void startApp() throws MIDletStateChangeException {
>
> }
> }
> [Message sent by forum member 'juanurielme' (juanurielme)]
>
> http://forums.java.net/jive/thread.jspa?messageID=302300
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>

Shai Almog
http://lwuit.blogspot.com/

[att1.html]

sawal_xp
Offline
Joined: 2008-02-12

so how to make our project that use lwuit to run in blackberry..??
anyone has successfully to run lwuit project in blackberry (BB)....????

daniel_asv
Offline
Joined: 2008-11-12

Yes i have done.

This are my steps:

1. Download https://lwuit.dev.java.net/files/documents/8797/107402/LWUIT_20080814.zip
2. Extract LWUITDemo from LWUIT_20080814.zip to NetBeansProjects
3. Open LWUITDemo\dist\lib\LWUIT.jar with winrar en delete the files com\sun\lwuit\animations\Transition3D.class, M3G$Callback.class, M3G.class and SVGImage.class
4. Configure netbeans for use blackberry emulator http://www.netbeans.org/kb/55/blackberry.html
5. Open LWUITDemo project in netbeans, right clic the project enter properties, change the emulator to blackberry, edit build.xml and run

Message was edited by: daniel_asv

sawal_xp
Offline
Joined: 2008-02-12

i had try with that step, but with configure show in step 4 from netbeans, i didn't get the *.COD file...

how to get it...?
and, in another thread Shai said that LWUIT is need MIDP not RIM..

daniel_asv, did you edit your main classMIDLET to be extend to net.rim.device.api.ui.UiApplication..?

daniel_asv
Offline
Joined: 2008-11-12

I get the *.cod with the build.xml

In the build.xml i add before the xml from the page

I don´t extend UiApplication

Message was edited by: daniel_asv

sawal_xp
Offline
Joined: 2008-02-12

hai daniel_asv ..
can you publish in this thread your build.xm file...?:)
i had edit and doing step like you, but when i build in netbeans, i didn't get the .cod file...

please help me..

daniel_asv, the .cod that you get from compile in netbeans, have you try to run it to emulator or the device, and what the result, is it successful..?
if it successful i really need your help..:)

thx...:D

daniel_asv
Offline
Joined: 2008-11-12

Here is the project with the project files
http://rapidshare.com/files/165030884/LWUITDemo.zip.html

I have run the cod file in the emulator and the cod file is in the dir of the emulator

sawal_xp
Offline
Joined: 2008-02-12

hi daniel_asv, thx for your link to download.:)
i had try compile your project with netbeans, but i don't get the .COD file..
you said that you had to try in running it with the emulator or device, how to run the project in the blackberry device with only a JAR file or JAD file...?

if the LWUITdemo project you give the link, we can get the COD file, how to make it work..?

please help me...:)
thx...:)

daniel_asv
Offline
Joined: 2008-11-12

You need to configure your netbeans like in this page http://www.netbeans.org/kb/55/blackberry.html for use the blackberry emulator

Then search the cod file in the simulator dir

Use

bin/javaloader -usb load Demo.cod

to run in the device

adnutri
Offline
Joined: 2008-10-28

Hi achie3xis ,

I have the same problem.

Could you send the code from the library LWUIT prepared for Blackberry?

my e-mail: ar.brandao@gmail.com

Best Regards

siva80sankar
Offline
Joined: 2008-12-11

can u guide me how to use lwuit for blackberry in netbeans
i cant able to work in net beans

with regards
sivasankar

manojp_1988
Offline
Joined: 2009-01-06

Hi ,

i need LWUIT made for Blackberry. please help me..

My Email id ; manojp_1988@yahoo.co.in,manojp1988@gmail.com.

Thank You..

achie3xis
Offline
Joined: 2008-08-26

Hi...

read i said before.and u can use LWUIT in blackberry..Ok,i will send u my LWUIT jar to u'r mail..

Regards,

[b]Asri Dwitiya[/b]

sojourner_jdk
Offline
Joined: 2008-12-17

Hi ! Asri,
Can you send me a copy of BlackBerry version of LWUIT lib?

Thanks,
-jdk

achie3xis
Offline
Joined: 2008-08-26

> Hi ! Asri,
> Can you send me a copy of BlackBerry version of
> LWUIT lib?
>
> Thanks,
> -jdk

Follow my step in netbeans 6.5..

1.copy the newest LWUIT library
2.clean and build with "Off obfuscation level"
3.after that.,add that LWUIT jar to your app
4.clean and build u'r app with "High obfuscation level"
5 and run u'r app

that's really work 4 me.,if after follow my step u found verification error.,i'll send my lwuit jar to u'r mail..thanks

regards,

[b]Asri Dwitiya[/b]

achie3xis
Offline
Joined: 2008-08-26

Hi..

I'm using netbeans 6.1 and Blackberry 8310 and 8110.,in simulator and real device LWUIT works perfectly.,i'm remove all m3g class and transition 3d.,
Really.,LWUIT works perfectly...
Oya.,but in blackberry under blackberry bold they doesn't support SVG class.,
You also have to remove SVG class in your jar LWUIT .

Thanks..

Asri

Message was edited by: achie3xis

playerthong
Offline
Joined: 2008-09-02

Hi achie3xis ,Patrick Julien
I removed M3G.class,M3G$Callback.class,Transition3D.class,MediaComponent.class.I used "LWUIT_EA" so there is not SVG class.

This is my code:

import com.sun.lwuit.Display;
import com.sun.lwuit.Form;
import javax.microedition.midlet.*;

/**
* @author nmthong
*/
public class Hello extends MIDlet {
public void startApp() {
Display.init(this);
Form f=new Form("Yeah");
f.show();
}

public void pauseApp() {
}

public void destroyApp(boolean unconditional) {
}
}

I built it successful in JDE4.5 BlackBerry but when I run it in debug mode I received information from debug:

Starting Hello
Module 'Hello' has verification errors.Error starting Hello: Module 'Hello' has verification errors.

Hi ,achie3xis ,Could you send your LWUIT library to me by yahoo mail (playerthong@yahoo.com) and your yahoo nick ?
Help me ?Who can give me step by step ?

Thanks very much

Message was edited by: playerthong

Message was edited by: playerthong

achie3xis
Offline
Joined: 2008-08-26

Hello,,

Ok,,I already send my library lwuit to your email.,
Are u familiar with netbeans??if u familiar add LWUIT library in Library manager netbeans.,and in your project in "Resources" add that library.,
Oya and my level obfuscating level is 0!!
Before i already try obfuscatong level 0,8,9 and all works!!!
I have try your code.,and your code works in my blackberry simulator..

Regards,

[b]Asri[/b]

rbmsystems
Offline
Joined: 2008-09-23

achie3xis

Please send the code from the library LWUIT prepared for Blackberry.
I have the same problem.

Thank you very much

Rodolfo Burlando
rbmsystems@gmail.com

silwar
Offline
Joined: 2010-12-31

Hi achie3xis
I am new to BlackBerry Development
I have used LWUIT in j2me successfully but unable to implement it in Blackberry
could you plz send me code on my email
Yash
p.yashraj@gmail.com

Patrick Julien

Did you also get rid of the SVGImage class? You also need to remove the
MediaComponent class

On Tue, Sep 2, 2008 at 4:31 AM, wrote:

> Hi everyone, I like LWUIT very much because it's very cool for J2ME. I
> tried LWUITDemo on Netbean6.1 successfully.However, I run LWUITDemo on
> Simulator of JDE4.5 of BlackBerry unsuccessfully. I deleted M3G helper
> classes and the 3D Transition classes .I built my project successfully but
> run unsuccessfully.It show "JVM Error 104 uncaught Exception" .Please help
> me.Who can give me a simple successful example LWUIT for blackberry
> [Message sent by forum member 'playerthong' (playerthong)]
>
> http://forums.java.net/jive/thread.jspa?messageID=296632
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>
>

--
http://www.spectrumdt.com
http://codepimps.org
[att1.html]