Soumya Rout wrote:Ok do one thing. Open your JAD file
It should be like
To add these properties in netbeans follow the steps,
1. Go to project Properties. (Right click properties)
2. Find the Application Descriptor section from the category
3. You will get the 4 tabs. Chose the respective tab and add the respective properties.
Then build the project. And reopen the JAD. After doing these things try to run your SMS app. It should work now.
Soumya Rout wrote:Have configured the PUSH Registry properties in the JAD ?
e.g:- MIDlet-Push-1: sms://:50001,RecieveMidletName,*
Yasin Turk wrote:I made a MIDlet for SMS listening. It works on Emulator WTK. I tried it on my phone Nokia 2630 (s40 5th edition). But it throws an exception. It says: "Cannot receive in client mode"
So does this mean that I need to change this into "Server Mode"? Is it possible?
Thanks a lot.
Vijay Dogra wrote:Hi Sanjay,
Can you please try to set the settings of installed application on your phone (Options->Application Access).
If this even doesnt help, then you have to sign your application before installing it to the real device.
VJ
Vijay Dogra wrote:Have you mentioned the permissions required in your file?
Jim Hoglund wrote:Okay, EACH_THREAD is a limit on how many cells will be calculated by one thread.
I just plugged in a number that will cause a few threads to die early, before the table
is completely filled in. This assures that multiple threads will run, demonstrating what
you want to see.
Did you run the program? It has two output grids. One is the calculated grid and the
other shows the thread number that calculated each cell. I would be happy to address
any other questions you have.
Jim ......
Jim Hoglund wrote:Thank you for the quick response. I will have some
time to work on your questions tomorrow.
Jim ......
Jim Hoglund wrote:Sanjay : This is not a debate. We are trying to help you see problems with your design.
Please study my previous response. It explains why there would be inconsistent results,
as Peter identified in his post, and shows one way to avoid this problem. Please do not
make us feel that we are wasting our time in trying to help.
Jim ......
Peter Taucher wrote:
First of all you never executed the threads concurrently ... only one at a time was running. I'm sure that's not what you wanted. With the modifications at least different threads concurrently modify the jacobi array. I don't really know what you're trying to achieve. In each thread you go through the loops and for each thread count therefore get another result.
Peter Taucher wrote:
The threads may concurrently modify entries of the array that other threads may use as operands for their next calculatione therefore I don't think you'll get a defined result that easily.