×

Discussion Board

Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    5,978

    Re: Create file in Recordstore on installation?

    After opening the recordstore

    use the following code-


    int recordCount = rs.getNumRecords();

    if(recordCount == 0){
    //use addRecord()
    }else{
  2. Replies
    6
    Views
    6,214

    Re: RMS exception setRecord()

    To set a record using the above code u need to have the record in the RMS ..if its not there then it will throw the above mentioned exception.

    Other exception are--
    RecordStoreNotOpenException -...
  3. Re: outOfMemory exception on device with 2mb memory

    Hi Nauman and GX
    Just for a suggestion you both could try nulling the form,running a System.gc() and recreating the form if opening and closing is causing u the issue.
  4. Replies
    8
    Views
    7,279

    Re: Record store problem

    Hi Harshal
    It would be easy to figure out if u could post in your code and also would like to to know the device you are talking about.

    Mean while u could check for--
    1>what happens if u...
  5. Replies
    3
    Views
    6,706

    Re: Sleep and Resume thread

    Hi friend,
    See you definetly can pause a thread by using Thread.yeild() or Thread.sleep(long) methods however if u are trying to use it for pausing effect in your player i guess it cannot be...
  6. Replies
    3
    Views
    6,023

    Re: Error opening games

    hi ,

    I havent used carbide.j before but have been regularly using SUN,s J2me development kit and proguard as obfuscator....The above problem seems to be with the settings due to which the...
  7. Re: How to create a partly transparent Canvas to lay on top of another Canvas?

    Except for the drawARGB() with transpanreny enabled thers no way u can make the background image as transparent ...however since 6600 has many known issues it is difficult to get this running on it
  8. Replies
    1
    Views
    6,434

    Re: How add vertical Scroll in canvas.

    Hi,
    I dont think you would be able to add a vertical scroll bar on to a canvas. However u can definetly code the logic to add vertical scroll. If u just need it to display text that u...
  9. Thread: game

    by adilb
    Replies
    4
    Views
    4,729

    Re: game

    hi,
    The best way for collision detection betweeen two balls ..considering them as circles is to check the distance between there center points to be greater then there sum of there diameters .Eg...
  10. Replies
    3
    Views
    6,007

    Re: tiled layer and sprites

    Hi,
    the situation above wont arise if u have done the right coding ..please check there might be a slight mistake some where ..pointers wld be like do as suggested make sure u draw the tiled...
  11. Replies
    8
    Views
    4,255

    Re: How to make java code illegible?

    Hi,
    As suggested above by most of them u definetly can use any obfuscator in the market available like proguard,retroguard or any othe rif u like ..all these obfuscators what they do is try and...
  12. Replies
    1
    Views
    5,448

    Re: Plz...Help!!! How to do KeyMapping?

    Hi daisy_deepa
    The best way to do key mapping is not to write the code directly in the function keyPressed() instead what u do is u can just set aflag in the keyPressed function depending on...
  13. Replies
    4
    Views
    7,746

    Re: 6600 Memory problem

    HI namz,
    As you say u have developed ...maybe its like you are trying to load all your game resourceas at one go..try loading only those elements that are most needed at that instance.For Eg-...
Results 1 to 13 of 13