• 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

Executing an application stored in COMPUTER from MOBILE\CELLPHONE

 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible to execute a normal java program (without using server) from Mobile using J2ME ..

Say for example i worte HelloWorld.java program ...
i stored that program in my machine which is having IP addredd XX.XX.XXX.XX .Now i want to call that program from J2ME program .

Here i am not using any Servers ...

Is there any way to execute that program without using servers...
 
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
Sort of, you can have a listener program running on your machine that when called will trigger the program. The listener could be a Servlet, or you could use Sockets.

Mark
 
Harish Tiruvile
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Mark Spritzler ,

sir,I got one more doubt after implementing servlet as a listener..To invoke servlet\Java application,i need to enter in to my company network to acces system where i stored ordinary servlet\java program.

Question:If i use Servlet or socket as a listener ,then can i access My company network.

I am asking because ,without RAS card i cannot access My company network from Laptop(since i am using wireless intenet connection)or from home .

So is there any feature in J2ME through which i can access company network from My mobile to call servlet\socket program.
 
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
Simply remember that your cell phone is completely outside of any "network" so to connect into a network you need exactly what you would need if you were using a computer in the library to try to connect to your work's network. Someway in, so you need some open port in your Office Network that the J2ME app can get into and pass security credentials, which could be a public/private key with SSL.

Mark
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're not doing something illegal are you?

One way to do this is to get a GSM Modem (like iTegno). Get an SMS Server (like NowSMS) to wait for the SMS and then launch your app (can be any app, exe, etc.)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic