Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Anuja arathi

Greenhorn
+ Follow
since Oct 29, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anuja arathi

Hi,
I am trying to save an audio file in a directory. The mobile has Symbian OS.
I want to know if there is any way to save the file either using J2ME API or Nokia Symbian API.
Please suggest,
Thanks,
Arathi
18 years ago
Hi Again,
Carlos, I was able to run a MIDLET which sends an SMS through "Run Via OTA". I feel the problem is with the MIDLET which receives SMS. Could you please run any sample MIDlet to receive SMS.
But my MIDlet which sends an SMS is stuck when i send the SMS to WMA console. If you have any sample code which is working can you send it to "r_anuja@hotmail.com". Thanks a lot .
Arathi.
18 years ago
Carlos, I am able to execute a sample application "mmademo"(which comes with WTK) through "run via OTA" . It executed properly without any errors.
What is the Network you configured?. edit->preferences->network configuration. I have set it to http/1.1.
I have installed the WTK in some other directory and tried to execute the SMSDemo and am still getting the same problem. I don't know where else to look.
Thanks a lot for your help !!!
Arathi
18 years ago
Hi ,
I don't know how to unsign the MIDlet once signed with a certificate.
I have executed another MIDlet (sms send/receive) which was not signed and with security set to maximum. I am still getting the same error "OTA Error Code (49) ".
Second problem is still ocurring even after removing the permissions.
I am using Sun's emulator. What I want to do is to send and receive and SMS through MIDlet.
Carlos, I have another question. I want to create a scenario, where the user sends an SMS (to SMS gateway) and in response can I send a MIDlet ? Is this possible?
Thanks ,
Arathi.
18 years ago
Thanks Carlos,
The security domain is set to maximum and the Midlet has been signed (following the procedure given in user guide of WTK) . When executed the Midlet through "run viaOTA", I am getting the following error
"OTA Error Code (6) - The CA that issued the content provider certificate is unknown. [C=My Company;O=myserver]".

WHen I run the application locally , I am getting the following error.

java.lang.SecurityException: Application not authorized to access the restricted API
at com.sun.midp.security.SecurityToken.checkForPermission(+295)
at com.sun.midp.security.SecurityToken.checkForPermission(+20)
at com.sun.midp.midletsuite.MIDletSuiteImpl.checkForPermission(+51)
at com.sun.midp.dev.DevMIDletSuiteImpl.checkForPermission(+23)
at com.sun.midp.io.j2me.sms.Protocol.openPrimInternal(+436)
at com.sun.midp.io.j2me.sms.Protocol.openPrim(+8)
at javax.microedition.io.Connector.openPrim(+121)
at javax.microedition.io.Connector.open(+15)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+5)
at example.sms.SMSReceive.startApp(+35)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
at com.sun.midp.midlet.Scheduler.schedule(+266)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+116)

Thanks again,
Arathi
18 years ago
Hi,
I am getting "Code (49) - Application authorization failure. [javax.microedition.io.Connector.sms]". error when I execute the SMSDemo MIDlet that comes along with the J2ME Wireless Tool Kit 2.0.
I have added the API permission for "javax.micoedition.io.connector.sms". Still I am getting the same probelm. I have written MIDLETS to send an SMS, which are also getting the same error when executed.
I have posted this im many forums but haven't got any answer.Could someone please help me in solving this.
Thanks,
arathi
18 years ago