• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst
  • Peter Rooke
  • Mikalai Zaikin
Bartenders:
  • Himai Minh

J2ME Starter for Motorolla

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I just started learning J2ME and created a Hello World application. I am using the Motorolla emulator and it shows up the Hello World on the scrren. Is there a way of inserting the application to motorolla mobile or just seeing hello World there?


Thanks

Sachin
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You use OTA, Over the Air, you will pass the .jar and .jad file to the device. You can do this different ways.

1. Web Site, which has .jad file types, and your phone just calls a URL location to download and install into the phone.
2. Cables with the phone. This is direct and will be using the cable then just copying the files to the phone.
3. Infrared or Bluetooth, same as cable but without the cables.

Your phone supports any combination, meaning it might not allow Bluetooth, but Cable and Web site is fine.

Web Site is always supported.

Mark
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mark is a bit optimistic.

What carrier and handset are you using?

You can't install your own apps over the air if you are using a Motorola phone on Nextel. You need to get a cable, you need to get permission from Nextel, and you need a few software tools to do the job.

You can't install your own apps over the air on Cingular either. For example, to install programs on a RAZR, you need to hack your phone using a "SEAM editor" and then you can install MIDlets over a cable or over Bluetooth.

William Frantz
http://sprintdevelopers.com
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First, I am really glad I didn't make my Sprint comment.

You can't install your own apps over the air on Cingular either. For example, to install programs on a RAZR, you need to hack your phone using a "SEAM editor" and then you can install MIDlets over a cable or over Bluetooth.



I have been able to use OTA and Bluetooth on my Cingular Siemen's S66 with no problem and no hacking, or need to pay Cingular.

But, each provider and each device is different, and that was what I was saying. It can be any particular combination of ways to get an app onto the device, you have to find out which way works for your provider and device.

Mark
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On Nokia 6600 and Motoroal A845 phones, I was just using the IR port to send the JAD/JAR files and that worked just fine.

Other phones - like Nokia 6800 - it won't even load the app via IR port....

Arvind
 
Sachin Jain
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mark,

Thanks for your reply.

For the website option how do i make the jar jad files to install on my phone. I have placed the hello world jar and jad on the website. I am using Nokia 6600 but later have to install on Motorolla Mobiles (few models)

Also if i want to do through cable , is there any security related to that?

Sachin

You use OTA, Over the Air, you will pass the .jar and .jad file to the device. You can do this different ways.

1. Web Site, which has .jad file types, and your phone just calls a URL location to download and install into the phone.
2. Cables with the phone. This is direct and will be using the cable then just copying the files to the phone.
3. Infrared or Bluetooth, same as cable but without the cables.

Your phone supports any combination, meaning it might not allow Bluetooth, but Cable and Web site is fine.

Web Site is always supported.

Mark
--------------------
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, is your Web Server set up for the file type of "jad". What is that file that you need to change on the web server. I can't remember.

Then all you have to do is use your phone, connect to the URL with the Jad file. Usually you would create a WML page, just like HTML, but simpler. you can check out www.w3schools.com for a simple tutorial. Then you get the WML page displayed on your phone and you just click the link. It will download the jad file and the Application Manager will take over and ask if you want to install the application.

With the cable there isn't Security to copy your files over.

Mark
 
Sachin Jain
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mark. I wanted to try other way out a person goes to our website and then hits download and through IR to his phone. Is it possible?
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys i have a big problem.I tryed to send a Hello world java aplication(Hello World.jar) to my mobile phone(Sony Erricson K500i) which has Java MIDP 2.0 and it didn't recognise it.Why is that so?
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sachin Jain:
Thanks Mark. I wanted to try other way out a person goes to our website and then hits download and through IR to his phone. Is it possible?



Yes it is possible. If I understadn you correctly.

Steps
1. The user on their desktop goes to your website and downloads the .jar and maybe also the .jad file.

2. The user, using their cable/IR/or Bluetooth depending on how their device can connect and copy files from their desktop. They copy it into their directory on the phone for applications.

3. It now shows on their list of applications, they launch it, and it installs the application.


That works fine. But for those devices that cannot connect to a desktop/laptop, then only OTA gives you the way to get the app to the phone.

Some service providers like Sprint require going through their service for fees. So you cannot use the copy from desktop to device.

Hope that helps.

Mark
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Haidu Vlad Andrei:
Guys i have a big problem.I tryed to send a Hello world java aplication(Hello World.jar) to my mobile phone(Sony Erricson K500i) which has Java MIDP 2.0 and it didn't recognise it.Why is that so?



Well there could be lots of reasons, jar file size doesn't match the size you have listed in your jad file. The file wasn't copied to an appropriate directory on the device for the App Manager to see it.

Besides that, I think you should post this in a new Thread. Actually I will create that Thread for you with your questions. We don't want to hijack someone else's thread do we.

Mark
 
Haidu Vlad Andrei
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No we don't .I'll try to send it again later when i get home.Thx for your advice.
 
reply
    Bookmark Topic Watch Topic
  • New Topic