Hichem-elAbassi / j4me

Automatically exported from code.google.com/p/j4me
0 stars 0 forks source link

The log demo won't start on my Sony Ericsson K850i #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start the log demo application
2. Allow reading user data
3. Allow writing user data

What is the expected output? What do you see instead?
The application showing. I get 'Application error'

What version of the product are you using? On what operating system?
K850i, latest firmware

Please provide any additional information below.
Other apps run fine (gps app loops showing exceptions but there is no
location api available on this phone)

Original issue reported on code.google.com by franci...@gmail.com on 19 Dec 2007 at 9:57

GoogleCodeExporter commented 9 years ago
Unfortunately this is almost certainly a phone issue.  Many of them only allow 3
midlets to run from a suite.  For example the Motorola RAZR and SVLR only even 
show
of them.

I think my solution will be to just have a single MIDlet and let the user pick 
their
example from a new main menu.  Does that sound reasonable to you?

Original comment by deanbro...@gmail.com on 21 Dec 2007 at 3:19

GoogleCodeExporter commented 9 years ago
I don't know, might be the problem. Let me know when I can test the new app...

Original comment by franci...@gmail.com on 21 Dec 2007 at 8:13

GoogleCodeExporter commented 9 years ago
Hi,

I found a fix for the same issue I had on K800i and on Esmertec JVM.

Francis,
will you please test if it works on your k850i. You will find attached, a 
j4me.jar.

Dean, 
It seems that ClassNotFoundException is not always thrown by Class.forName,  but
NoClassDefFoundError.

I change logDemoScreen.hasClass has following 

private static boolean hasClass (String name)
    {
        try
        {
            Class.forName( name );
            return true;
        }
        catch (Throwable e)
        {
            return false;
        }
    }

Original comment by jmherme...@gmail.com on 21 Dec 2007 at 9:37

Attachments:

GoogleCodeExporter commented 9 years ago
Yep the log demo works now

Original comment by franci...@gmail.com on 21 Dec 2007 at 9:42

GoogleCodeExporter commented 9 years ago

Original comment by deanbro...@gmail.com on 24 Dec 2007 at 12:22

GoogleCodeExporter commented 9 years ago

Original comment by deanbro...@gmail.com on 24 Dec 2007 at 3:29

GoogleCodeExporter commented 9 years ago
Hi Dean,

I've tried to install the app on a Sony Ericsson XPERIA and says "not 
supported", what might be the issue?

Original comment by mokonejm@gmail.com on 14 Jan 2011 at 8:14

GoogleCodeExporter commented 9 years ago
Are you try to change :

catch (ClassNotFoundException e)
to
catch (Throwable e)

as it is describe before.

Original comment by java4...@gmail.com on 14 Jan 2011 at 10:34

GoogleCodeExporter commented 9 years ago
Yes, got NullPointerException at java.langVMClassLoader error

Original comment by mokonejm@gmail.com on 26 Jan 2011 at 9:09