Hi,
I have to lanuch a jar file of JSR179 from C++ code since I have to implemnt wrapper class for JSR179 API in C++ exe in S60 3rd edition. So could you plz help me in ths regard.
Thanks
Anand Jain
Hi,
I have to lanuch a jar file of JSR179 from C++ code since I have to implemnt wrapper class for JSR179 API in C++ exe in S60 3rd edition. So could you plz help me in ths regard.
Thanks
Anand Jain
Hi Anand,
"I have to lanuch a jar file of JSR179 from C++ code since I have to implemnt wrapper class for JSR179 API in C++ exe"
Could you please elaborate a little more on your issue? What are you developing, firmware?
BR,
Juarez Junior
hi,
it should go to C++/Symbian section I think,
there are many thread there about integrating midlets with native .app,
e.g.:
http://discussion.forum.nokia.com/fo...=launch+midlet
regards,
Peter
Hi,
Ok I eloborate what I need to achive:
platform: Series60 3rd edition Symbian 9.1
API to be accessed: JSR-179 Location API from javax.microedition.location package.
Objective: To access only some part (Orientation and ProximityListener classes) to provide a wrapper c++ class for them so that these can be used in C++ application also.
Reason: The loaction specifc classes, Orientation and ProximityListener in JSR179 do not have their corresponding c++ implementaion in Series60 3rd edition Symbian 9.1.
Plz give some insights.
Thanks
anand
Hi anand,
Now it's clear what you're trying to achieve. I think Peter is right and it would be better to ask this question on the Symbian C++ section.
I know about a solution to alllow JME to call native C++ but i've never heard about the same on the opposite direction.
Extending the Reach of MIDlets: how MIDlets can access native services
http://www.symbian.com/developer/tec...ework_v1.1.zip
BR,
Juarez Jr
hi anad & juarez,
after reading last anads post now its clear that entire assumption is wrong: you cannot access API which is not implemented on SymbianOS/Nokia implementation,
you have no access on to that api on Symbian/C++ - because that's not implemented at all,
if not in symbian then more in Java,
From Nokia java developer library doc (released on July):
These are not implemented feature in Nokia JSR-179 api implementation,Excluded features
The following optional features are not supported in the implementation of the Location API:
*There is no orientation support, which is used to query the orientation of the terminal.
*There is no proximity listener support, which is used to receive notifications of when the terminal enters an area (specified by coordinates and a radius).
*It is not possible to select where landmark stores should be created.
sorry, not possible at all,
We should stress (with big capitalized S) Nokia to add at least Orientation support - that was feature I hope to have tests on nokia
regards,
Peter
Last edited by peterblazejewicz; 2006-08-10 at 23:42.
hi guys,
I've just checked "Tourist Route" sample nokia midlet and it seems that they plan to implement Orientation/Proximity Listener in future - I cannot see other reason why they provided sensor/proximity related code in sources,
does someone know something on that subject?
regards,
Peter