Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2ME->C++ app (different)

 
dean smith
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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.
 
Phoum Lib
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • 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++.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic