martedì, 23 giugno 2009

Newer the phone, more strange the bug. The following is a bug affecting some Series60 devices (3rd FP1, 3rd FP2 and 5th): Nokia E71, Nokia N79, Nokia N96, Nokia 5800 XpressMusic.

The withespace characters before and after JAD attributes should be ignored according to MIDP specifications but if user tries to install an application with a whitespace character after the last JAD attribute on one of the mentioned decvies he will get a "Compulsory attributes missing".

So, be sure to remove whitespace chars from your JAD!


Did you like the article? Buy me a coffee!

postato da: emanuelepec alle ore 20:23 | Permalink | commenti
categoria:bug , nokia, tipsandtricks


sabato, 30 maggio 2009

This issue appears on the Nokia families: Series 80 2nd Edition, S60 2nd Edition FP2, S60 2nd Edition FP3, S60 3rd Edition, S60 3rd Edition FP1.

From Forum Nokia: when a MIDlet tries to edit an existing contact, add a new one, or remove an existing contact using the JSR-75 PIM API on S60 2nd Edition FP2, S60 2nd Edition FP3, and S60 3rd Edition devices, the user is asked for change confirmations every time, even if the API access setting is "always allowed". This includes situations where the MIDlet is placed in the operator/manufacturer domain (excluding S60 3rd Edition FP1 devices), or the user has manually changed the API access settings for the MIDlet in a trusted 3rd party domain.

Unfortunately, there is no workaround for this problem.


Did you like the article? Buy me a coffee!

postato da: emanuelepec alle ore 10:27 | Permalink | commenti
categoria:bug , tipsandtricks, j2me


giovedì, 19 marzo 2009

Despite the '\n' can be used in any string in J2ME applications, with S60 Editions up till S60 3rd Edition, Feature Pack 1, the new line is not inserted properly in the Alert and the message remains in the same line (at least until it fits in the alert width).

The issue has been fixed starting from S60 3rd Edition, Feature Pack 2.

Read more at the Forum Nokia Wiki


Did you like the article? Buy me a coffee!

postato da: emanuelepec alle ore 17:17 | Permalink | commenti
categoria:bug , nokia, j2me


venerdì, 29 agosto 2008

It took sometime to me to understand why my connection class wasn't working anymore after the update to the new Android SDK 0.9.

Trying to open a simple socket I got the error "UknownHostException" even if my code wasn't changed.

The solution has been add to the AndroidManifest.xml this line:

<uses-permission xmlns:android="http://schemas.android.com/apk/res/android" android:name="android.permission.INTERNET"></uses-permission>

Magically the problem disappears.


Did you like the article? Buy me a coffee!

postato da: emanuelepec alle ore 17:00 | Permalink | commenti
categoria:bug , google, tipsandtricks, android


mercoledì, 23 luglio 2008

If you want to set the volume in the MediaPlayer using the following code:

                InputStream is = getClass().getResourceAsStream( "/sound.amr" );
                Player player = Manager.createPlayer(is, soundType);
               
player.addPlayerListener( this );
               
player.realize();
                VolumeControl volumeControl =
                (VolumeControl)
player .getControl( "VolumeControl" );
                if ( volumeControl != null ) {
                    volumeControl.setLevel( volume );
                }

when you launch the player with:

                player.start();

no sound can be heard on the LG KE970 Shine without getting any error.

This device requires to get the prefetched status if you want to set the volume and play the sound correctly. The working code is then:


                InputStream is = getClass().getResourceAsStream( "/sound.amr" );
                Player player = Manager.createPlayer(is, soundType);
               
player.addPlayerListener( this );
               
player.realize();
               
player.prefetch( );
                VolumeControl volumeControl =
                (VolumeControl)
player .getControl( "VolumeControl" );
                if ( volumeControl != null ) {
                    volumeControl.setLevel( volume );
                }


Maybe other phones are affected as well (especially LG). Post comment if you other phones with the same problem.


Did you like the article? Buy me a coffee!

postato da: emanuelepec alle ore 20:44 | Permalink | commenti
categoria:bug , tipsandtricks, j2me, lg , mmapi


giovedì, 10 aprile 2008

Forum Nokia


A bug related to the use of the class Timezone using the Daylight saving time.

Click here to see


Did you like the article? Buy me a coffee!

postato da: emanuelepec alle ore 18:52 | Permalink | commenti
categoria:bug , nokia, j2me


Blogs Directory