• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Some basic doubts

 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It would be of great help if some one could clear some basic doubts for me about j2me. I am a newcomer to this topic so here goes...

1. say i have made jar and jad files after packaging is done. can the midlet suite be installed from my PC to the phone using only a bluetooth dongle and a server like tomcat on the PC , so that the phone can type some path like say http:\\localhost\some_url ?

2. does over the air transmission install mean i need gprs enabled in my phone ? or does it simply mean installing over any wireless transmission like bluetooth ? , assuming the answer to question one is yes.

3. can i write code using j2se that searches for mobile devices and attempts to send files to them ? i am required to send files to a mobile phone from a web application and i wonder if this is possible. Both the j2se code that looks for the phone and the MIDlet that runs on it need to be coded by me.

4. if the PC can send files using the dongle can i run a MIDlet in the background of my phone to listen for a connection and then accept this file ? i will need to pass xml files to the phone.

My experience with j2me can only be measured in hours right now. i am good with java 1.5 If some one can help me out with these questions it would be great.

thank you.
 
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
Wow alot of stuff.

First provisioning your phone with the app.

If you use a Bluetooth Dongle, you can just copy the jar file onto your phone just like you would move files around in Windows Explorer. You do not need a web server to do that.

As far as using a Web Server, you will still need that to be available over the Internet for the phone to use the GPRS connection.

You can always send an SMS message to a phone which includes the link to the jad file, and the user gets the message, "clicks" the jad file, and the installation will begin. Again the link is really to a web site.

As far as sending XML files to the phone. You don't have to have the application running, you can use the Push Registry to "wake-up" the midlet when the message is sent to the phone. But you need to read up on the Push Registry. On Sun's java.sun.com there are some good tutorials in the J2ME section that you might want to check out.

Hope that helps.

Mark
 
Deepak Bala
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes that did help. Thank you. i will look into it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic