I faced a great deal of problem of having to install my application in the Motorola phone.
First, without any certificate, I am not able to run the application as there is no permission to read user's data.
Second, after applying for a certificate, while running my application it says Certificate has expired. It was because I didn't set the correct date and time.
Third, my application says authentication failure. It took me a great deal of research of what went wrong. The mistake was, I turned one big round before reaching to the point. It was because of the VeriSign certificate which is not valid for Motorola. If I were to develope an application and wish to test it, I gotta apply for the bound certificate. I refered to the FAQ from the Motorola's Developers Website.
Here is the link to the steps taken to achieve it:
I am writing a MIDlet that uses protected API (e.g. JSR75 FileConnection). These protected API are not accessible to an unsigned/untrusted MIDlet so whenever I try to use a protected API class without the MIDlet being signed/trusted a SecurityException is generated. How do I obtain a developer certificate to allow me to developer a MIDlet which access protected API?
Showing posts with label Motorola. Show all posts
Showing posts with label Motorola. Show all posts
Friday, 12 December 2008
Thursday, 27 November 2008
Installing Java Application in the Motorola Phone
This seems more difficult then I thought.
I bought the Motorola V3xx phone and it has got a USB Cable.
BUT!, no cd for me to install the software!
This software is important so that the pc would know what to do when you connect the Motorola phone to the pc. Without the software, the pc would mention that the phone is not installed properly or something like that.
These are the steps that I took:
(For any problems faced, read below)
Step 1.
Sign up at the Motorola Developer's Website.
Step 2.
Then, I had to download the following:
Handset USB Driver for Windows: used for connecting your Motorola handset to a Windows computer via a USB cable
Motorola Midway Tool: used for downloading Java™ ME applications to your phone using a serial or USB cable
**Please take note you'll need to install the Handset USB Driver for Windows before installing the Midway Tool**
Step 3.
After that, follow the instructions on using the Midway Tool and you are done.
**Please take note:
- insert the USB cable at the correct times.
- ensure that the JAD and JAR files under the same folder.
Problems:
1. Enabling the Java App Loader in Motorola
In the Midway tool, there is a step whereby you need to open the Java App Loader in the Java Settings. However, it is not possible in all phones. You may need to send it to Motorola for them to enable it for you! This is a complete waste of time!
Solution:
I downloaded MotoMidMan together with RSD Lite and used it to enable the java app loader and it works!
It is hard to really say which one solution works so it is best for you to google and try it out. I did heard of The UID Extraction Tool on the MOTODEV web site (MOTODEV) which can be used to enable JAL if it is not visible in the handset's "Java Settings" menu. I have not tried it but you might want to try!
However, I recommend you NOT to use p2ktools or p2kman. It just doesn't work for me.
All the best!
I bought the Motorola V3xx phone and it has got a USB Cable.
BUT!, no cd for me to install the software!
This software is important so that the pc would know what to do when you connect the Motorola phone to the pc. Without the software, the pc would mention that the phone is not installed properly or something like that.
These are the steps that I took:
(For any problems faced, read below)
Step 1.
Sign up at the Motorola Developer's Website.
Step 2.
Then, I had to download the following:
Handset USB Driver for Windows: used for connecting your Motorola handset to a Windows computer via a USB cable
Motorola Midway Tool: used for downloading Java™ ME applications to your phone using a serial or USB cable
**Please take note you'll need to install the Handset USB Driver for Windows before installing the Midway Tool**
Step 3.
After that, follow the instructions on using the Midway Tool and you are done.
**Please take note:
- insert the USB cable at the correct times.
- ensure that the JAD and JAR files under the same folder.
Problems:
1. Enabling the Java App Loader in Motorola
In the Midway tool, there is a step whereby you need to open the Java App Loader in the Java Settings. However, it is not possible in all phones. You may need to send it to Motorola for them to enable it for you! This is a complete waste of time!
Solution:
I downloaded MotoMidMan together with RSD Lite and used it to enable the java app loader and it works!
It is hard to really say which one solution works so it is best for you to google and try it out. I did heard of The UID Extraction Tool on the MOTODEV web site (MOTODEV) which can be used to enable JAL if it is not visible in the handset's "Java Settings" menu. I have not tried it but you might want to try!
However, I recommend you NOT to use p2ktools or p2kman. It just doesn't work for me.
All the best!
Subscribe to:
Posts (Atom)