• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Send data to a Mobile device

 
Bartender
Posts: 1155
20
Mac OS X IntelliJ IDE Oracle Spring VI Editor Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone know if it is possible to have a server send data to a mobile device?

A friend has developed in .net software which can send data from a mobile device to server however getting the server to send data to a PDA seems to be difficult if not impossible. The main problem is the PDA's do not have fixed IP addresses.

The outcome trying to find is to have a server initiate a connection to a PDA.

any help or direction would be great.

Thanx
 
Ranch Hand
Posts: 158
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Few days back in google search for Sony-Ericsson p910i software,
i found a site www.getjar.com which has a .exe file that convert DBF,SQL, etc database file into .p?? file that is readable for mobile. You search that .jar file for your PDA.

I hope this would solve your problem too.

Regards,
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Peter Rooke:
Does anyone know if it is possible to have a server send data to a mobile device?



Which carrier and which device are you asking about? The answer may vary.

Most (all?) wireless carriers use dynamic IP addresses for mobile devices so it's impossible to directly initiate a socket connection.

You may have heard about dynamic DNS services that could, in theory, map a domain name to the dynamic IP address of your phone. However, these services rely on a 24/7 client running on your phone that would report IP address changes to a domain name server. This solution won't help you. If you are going to run a 24/7 client on the device then you might as well make that device keep an open channel directly to your server rather than mess with all the dynamic DNS stuff.

What you might be able to do is use a text message to the device is a wake-up call. When the phone receives the special SMS then it runs an application to retrieve the payload from your server.

Depending on the phone/carrier, you may be able to automate the entire process. The phone would listen for specially coded messages, launch your MIDlet, and so on. Alternatively, you can just send a message intended for the owner. Something like, "Hey, run the FooBar program now!"

William Frantz
http://sprintdevelopers.com
[ January 06, 2006: Message edited by: William Frantz ]
 
Peter Rooke
Bartender
Posts: 1155
20
Mac OS X IntelliJ IDE Oracle Spring VI Editor Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for that, I will pass this information onto my colleague.
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I need an application which does exactly what your friend has done (sending data from phone to server). can you send me the details as to how he did that? your help is highly appreciated

-Anandh
 
William Frantz
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Anandh Ramesh:
I need an application which does exactly what your friend has done (sending data from phone to server).


Actually, the original question was regarding pushing data from a server to a phone.

If you want to push data from a phone to a server, that's easy. You could write a J2ME MIDlet that posts data to an HTTP server, but the easiest thing would be to use a native web browser to access a simple form on a standard web server.

What carrier/handset are you trying to use and what data are you tring to move?

William Frantz
http://sprintdevelopers.com
reply
    Bookmark Topic Watch Topic
  • New Topic