Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Kurinchikumaran Thavarajah

Greenhorn
+ Follow
since Dec 06, 2004
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 Kurinchikumaran Thavarajah

Hi all,
I developed a midlet for accessing a web site. It uses an HttpConnection to connect to the site and print the page as html tags in the console window.

To access a seured page (https://localhost:8443/index.jsp), which changes should I do in the implementation. Here I want to know how to use secure connection with MIDP.

Let me know what r the additional api's I should use and I want a sample code.

Regards
kumaran
15 years ago
Hi all

I created a midlet class to access web site using httpConnection. How can I use SSL with this j2me application. I don't have any idea about ssl. Can anybody explain how ssl works and how to use ssl with j2me applications to access a web site.

Regaards
Kumaran
15 years ago
sorry for the wrong reply. it is not for this question
15 years ago
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.
15 years ago
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.
15 years ago
Yes , I developed my own api according to jsr172. It has 2 optional packages jaxrpc and jaxp. jaxp is a a sax parser implementation. and jaxrpc is an rpc module. My api is fully independent from other apis. I only used cldc10.jar and midpapi.jar to developed my project. It is not dependent on any other apis. It doesn't use sun's j2me api any where. If clearly says, my api can be used for web accessing instead of sun's api.

I developed mobile applications using my api, midlet class and generated stubs by my wsdl2java tool. It works well with wireless tool kit. But I am unable to run it in a real phone. I got the problems with these phones,

Nokia 3650- I installed the jar. But while running it throws "application error ,illegal state exception"

Nokia 6600- I couldn't install my jar file. while installing using bluetooth it throws "authorisation fail"

I developed mobile applications using sun's api, midlet class and generated stubs by sun's tool. It works well with wireless tool kit. But it gives same problem with phones.

Here I checked for both midp1 and 2.And for normally packaged jar and obfuscated jar. but same error comes.

And enother problem I found while writing this message. The packaged jar also works well with wireless tool kit. But obfuscated jar throws error while running in wireless tool kit,the error is

" Uncaught exception java/lang/NoClassDefFoundError: javax/xml/rpc/a: Cannot create class in system package "

what is the reason for this error? But simple applications are working well with packaged jar and also with obfuscated jar.

So i am looking forward from you soon with a complete reply to solve obfuscation error, and please let me know how can I test my implementation in a phone. and the type of phone.
15 years ago
To use sun's jsr172, the api should 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. (please reffer my other questions about jsr172)

as i mentioned in other questions, my api and sun's api is 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.
15 years ago
I developed an 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.

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.
15 years ago
Can u tell me , Which phones supprt Sun's API? And let me know the MIDP version
15 years ago
can anybody explain how to sign the midlet.

I created new key pair and the certificate signing request using nokia developers suite.

But I don't know where to send this csr file for getting the certificate.

So , please give the web address where I can get the certificate.
15 years ago
Hi Joel Karimpil
thanks for ur reply.

I checket it with midp1 and midp2. but it gives the same message.

With nokia 3650 I could install the jar file using bluetooth. Simple programs for displaying messages are works well. But when I run my application, When I click the send button to connect to the remote machine it throws "Application error , Illegal state exception". Is it due to lack of supporting of the phone?

But I couldn't install the jar file in nokia 6600 phone. While installing it throws "Authorization fail" error

My application uses HttpConnection to connect to the remote machine.Since I use this connection, should I sign the permission with Nokia develops suite?
Is signing necessory for this? But I thing it is not necessory for testing purposes. I'm using Nokia Developer's suite with eclipse for my developments. Can u explain all the steps to create the jad and jar files using the Nokia Developer's suite and deploying them in the phone.
15 years ago
Hi all,
I developed an application for accessing web services and it works well with wireless tool kit. But when I run the jad file ,created by the wireless tool kit, with nokia developer's suit, it gives the following error message

"A Class was not found during the execution, It is possible that preverifying has failed. if you compiled the classes with the J2SDK 1.4.1 or later, please check that you use the compiler option "-target 1.1" , which generates class files for all java SDKs. Also note that the default emulator used for preverifying must support the APIs which are used by the classes in the classpath."

And while checking with nokia 3650 phone, When I click the send button, it gives the following error.

"Application error, illegal state exception"

please anybody help me to solve this problem. Please explain every step I have to do.
15 years ago
I developed an application to access web services from the j2me platform. Although it works well with sun's wireless tool kit, when I run it with nokia 3650 phone, it throws Application error, Illegal state exception.

I couldn't find the reason for this problem. Here I have implemented Runnable interface in the MIDLet class. And I call the HttpConnection with the new thread otherthan the main thread to prevent deadlocks.

If any body helps me, it will be helpful for me to carry on my implementation.
15 years ago