I developed an API simlilar to sun's j2me web service API , but I couldn't run it in any phones. While installing in nokia 6600 it throws authorisation fail error and in nokia 3650 i could install it but while running it throws application error , illegal state exception
Can anybody let me know in which phones I can run this implementation
Hard to say, without knowing what your application does, exactly. Are you saying you have your own JSR-172 implementation or that you wrote your midlet to depend on JSR-172 and that you're now looking for a phone with JSR-172 support?
If the latter, then I don't know of any phones with JSR-172 support.
If the former, more details are needed for anyone to even take a good guess about what you might be doing wrong (or whatever the reason).
I developed my own API for accessing web services for jsr 172. It is not Sun's j2me webservice implementation but most related to that. It works well with wireless tool kit. But with real phones it gives the following error.
1>
Nokia3650- I could installed the jar file but while running it throws "Application error , illegal state exception"
Nokia 6600- While installing it throws "Authorisation fail"
With which phones I can test my implementation. And what is the MIDP version I should use to create the jar file. And let me know whether there are any security procedures to run this implementations with real phones.
2>
To use sun's jsr172,should the api be already installed in the phone.
I created an application using sun's api classes , midlet classes and generated stubs.
It gives error in real phone.
as i mentioned earlier my api and sun's api are not working and give same error.
please any body help me. I am hanging in these things for a long time and I 'm unable to move to any other things.
Thanks for ur reply.
Yes I got the application work on the phone.
The problem is I had some packages with standard names including java. , javax. etc. After I changed all the names it works well with the phone.
But i'm using some already existing classes. so i want to have the original package names. What should i do to to have those packages with original name. It is a must for me.
According to the J2ME spec. an implementation is allowed to disable the ability to add classes to other packages. In Nokia implementations, applications are not allowed to add classes to packages java.*, javax.*, com.sun.*, and platform implemenation classes com.nokia.mid.*.
I know the thread is old, but I just thought I would let everybody know for future reference....
/ Dopenhagen