You Are Here:

Community: Developer Discussion Boards

#1 Old Question How to lanuch a jar file of JSR179 from C++ code - 2006-08-09, 07:53

Join Date: Mar 2006
Posts: 129
Location: India
Send a message via Yahoo to anand_zain76
anand_zain76's Avatar
anand_zain76
Offline
Regular Contributor
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
Reply With Quote

#2 Old Re: How to lanuch a jar file of JSR179 from C++ code - 2006-08-09, 15:26

Join Date: Dec 2005
Posts: 1,886
Location: Brazil
Send a message via MSN to juarezjunior Send a message via Skype™ to juarezjunior
juarezjunior's Avatar
juarezjunior
Offline
Forum Nokia Champion
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
Reply With Quote

#3 Old Re: How to lanuch a jar file of JSR179 from C++ code - 2006-08-10, 02:31

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
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
Reply With Quote

#4 Old Re: How to lanuch a jar file of JSR179 from C++ code - 2006-08-10, 08:18

Join Date: Mar 2006
Posts: 129
Location: India
Send a message via Yahoo to anand_zain76
anand_zain76's Avatar
anand_zain76
Offline
Regular Contributor
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
Reply With Quote

#5 Old Re: How to lanuch a jar file of JSR179 from C++ code - 2006-08-10, 14:12

Join Date: Dec 2005
Posts: 1,886
Location: Brazil
Send a message via MSN to juarezjunior Send a message via Skype™ to juarezjunior
juarezjunior's Avatar
juarezjunior
Offline
Forum Nokia Champion
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
Reply With Quote

#6 Old Re: How to lanuch a jar file of JSR179 from C++ code - 2006-08-11, 00:36

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
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):
Quote:
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.
These are not implemented feature in Nokia JSR-179 api implementation,
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-11 at 00:42.
Reply With Quote

#7 Old Re: How to lanuch a jar file of JSR179 from C++ code - 2006-08-11, 00:59

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
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
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
S60 2nd edition FP3 SDK reports error in jar file entry iwmonkey Mobile Java Tools & SDKs 11 2008-05-23 22:14
Jar file contains a lot of stuff LiveRock Mobile Java General 1 2006-04-14 10:20
Invalid jar file irina_white Mobile Java General 6 2005-05-28 16:40
What is the error in my code here? Unable to Save document to file yuva69 General Symbian C++ 1 2005-05-26 15:22
Looking for help from member......pl...help me in my source code. yuva69 General Symbian C++ 0 2002-06-10 13:24

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia