• 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

J2ME->C++ app (different)

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks,
I know this has been discussed here before (I've done the searching), but I haven't found mention of this particular approach; I'm wondering what you guys think.
Problem: I desparately need access to some native Symbian OS stuff from my J2ME application (Nokia MIDP2, like the 6600). If I can't make it happen, it's gotta be rewritten in C++. Egads.
Now, I know that JNI is not an option, but I was wondering about socket communication via localhost. Is it possible to run a C++ server app and use the http socket classes from the J2ME application to talk to the localhost server?
And is there just no way possible to make platformRequest work?
As you can tell, I'm reaching that desparation stage, since rewriting this sucker in C++ is gonna set us back significantly.
I'd really appreciate any info.
Dean.
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
there is a free http symbian OS server that you can rewrite to fit your needs : http://sourceforge.net/projects/epochttp/
I test it on my n-gage, it is very interesting for many apps ideas.
The idea is to request the localhost http://127.0.0.1/hello.html with J2ME to get data from C++.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic