After opening the recordstore
use the following code-
int recordCount = rs.getNumRecords();
if(recordCount == 0){
//use addRecord()
}else{
Type: Posts; User: adilb; Keyword(s):
After opening the recordstore
use the following code-
int recordCount = rs.getNumRecords();
if(recordCount == 0){
//use addRecord()
}else{
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 -...
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.
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...
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...
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...
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
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...
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...
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...
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...
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...
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-...