×

Discussion Board

Search:

Type: Posts; User: doomer999; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    5,720

    Differences between S60 SDKs

    Hi,

    I have some confusion about the SDKs for S60.

    There are two SDKs I found:
    "Series 60 MIDP Concept SDK Beta 0.3.1"
    "Series 60 MIDP SDK 1.2.1 for Symbian OS"

    What are the differences...
  2. Replies
    3
    Views
    5,080

    Hi, If I'm not mistaken, the problem must be...

    Hi,

    If I'm not mistaken, the problem must be that the three Random objects are created at the same time, so they have the same seed, which leads to the same series of random numbers.

    There are...
  3. Replies
    6
    Views
    8,083

    Hi, If I am not mistaken, I know that the...

    Hi,

    If I am not mistaken, I know that the following way has a flaw.

    >>int rand = Math.abs(random.nextInt() % 4);

    That is Math.abs() cannot convert the smallest negative number to positive....
  4. com.nokia.mid.ui not working in SunONE Studio ME

    Hi,

    I have been writing applications with JBuilder and it works fine, but recently I tried to use SunONE Studio ME 4 update 1 and found that classes that include anything from com.nokia.mid.ui...
  5. Replies
    1
    Views
    5,990

    Simultaneous sound in series 40

    Hi,

    I would like to ask do series 40 phones support simultaneous sounds played in applications?

    Because I tried to simultaneously play two sounds with two separate Sound() objects but in vain....
  6. Replies
    2
    Views
    4,199

    Does that mean that if I setClip(0, 0, 128, 128)...

    Does that mean that if I setClip(0, 0, 128, 128) in the beginning (on series 40), my application can be run faster?

    Is there any difference between this and repaint(0, 0, 128, 128) ?
  7. Replies
    2
    Views
    4,199

    simple question: setClip()

    Hi,

    For FullCanvas, is the default clipping area same as setClip(0, 0, 128, 128) ?

    Coz if it is not, drawing something outside the Canvas may slow down the application?

    Thanks
    Nelson
  8. Replies
    4
    Views
    2,449

    Source-code preprocessor

    Hi,

    In the documentation "Efficient MIDP programming", it is mentioned that using "source-code preprocessor" is better than "static final" variables. What exactly is it? How to use it?

    Thank...
  9. Replies
    1
    Views
    6,657

    reducing jar file size

    Hi,

    I have some questions related to reducing the jar file size.

    1. If I use Vector() instead of self-programmed linked list, can the size be reduced?

    2. Is it true that final static...
  10. Replies
    1
    Views
    6,497

    overlapping data by setRecord() in RMS?

    Hi,

    If I have a record(ID = 1) of integer 5 originally stored in the RecordStore, and now I use setRecord() to reset this record to integer 999999, will the following record (ID = 2) or other...
  11. Replies
    2
    Views
    4,859

    problem with Random()

    Hi,

    I have some problems with Random(). My code is as follows.

    Random random = new Random();
    private int rand(int scale) {
    return (random.nextInt() << 1 >>> 1) % scale;
    }

    Whenever I...
  12. Replies
    1
    Views
    6,533

    Any ways to debug the applications?

    Hi,

    I wonder whether there are ways to debug the applications when running on emulators or at other times? Does debugging requires other software, eg. JBuilder or Sun Studio?
    Because I find...
  13. Replies
    0
    Views
    4,818

    sending jar file from phone to phone

    Hi,

    Is there any way to send jar and jad file from phone to phone?
    If yes, how to do it? Is there any examples available somewhere?

    Thank you.
    Nelson
  14. Replies
    1
    Views
    4,443

    smartTone problem

    Hi,

    I am using smartTone to create some sound for my application, just like the example of BlockGame.
    It works fine with the emulator. However, when running on the phone, problems occur....
  15. Replies
    4
    Views
    6,727

    removing RecordStore

    Hi,

    I have a question about rms storage.
    Do I need to manually remove the record store before I delete the application from the deivce?
    Otherwise I am afraid that memory will be wasted...
  16. Replies
    10
    Views
    7,481

    I am not sure whether I am correct or not, but as...

    I am not sure whether I am correct or not, but as far as I know, whenever the applications ends, all system resources taken up by the application will be released automatically.
    That means you do...
  17. Replies
    5
    Views
    4,738

    Thanks. So how about a situation like this? ...

    Thanks.

    So how about a situation like this?

    Alert alert = new Alert(...);
    //after some code
    alert = new Alert(...);

    Will the first Alert be garbage collected?
  18. Replies
    5
    Views
    4,738

    Thanks for your reply. But in the example of...

    Thanks for your reply.

    But in the example of the splash screen, there is no pointer referencing it. Then how can I set it to null?

    Nelson
  19. Replies
    5
    Views
    4,738

    when is garbage collection performed?

    Hi,

    If I have a splash screen which is created in the MIDlet like this:

    Display.getDisplay(this).setDisplay(new Splash());

    Will it be garbage collected when it is not used?

    Thank...
  20. Replies
    6
    Views
    9,077

    game category

    Hi Everyone,

    I have written a game for series 40 phones and I tested that with 6610. However, the game won't load into the game category but the application category instead.
    I have already added...
  21. Replies
    3
    Views
    4,415

    Problem with Alert

    Hi everyone,

    I am trying to make an alert message which stays there until the user presses a softkey. After that the application ends.

    However, whenever I have used the...
Results 1 to 21 of 21
×