×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Mar 2006
    Location
    India
    Posts
    138

    Question How to lanuch a jar file of JSR179 from C++ code

    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

  2. #2
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: How to lanuch a jar file of JSR179 from C++ code

    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

  3. #3
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: How to lanuch a jar file of JSR179 from C++ code

    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

  4. #4
    Regular Contributor
    Join Date
    Mar 2006
    Location
    India
    Posts
    138

    Re: How to lanuch a jar file of JSR179 from C++ code

    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

  5. #5
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: How to lanuch a jar file of JSR179 from C++ code

    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

  6. #6
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: How to lanuch a jar file of JSR179 from C++ code

    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):
    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-10 at 23:42.

  7. #7
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: How to lanuch a jar file of JSR179 from C++ code

    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

Similar Threads

  1. S60 2nd edition FP3 SDK reports error in jar file entry
    By iwmonkey in forum Mobile Java Tools & SDKs
    Replies: 12
    Last Post: 2010-03-11, 01:39
  2. Jar file contains a lot of stuff
    By LiveRock in forum Mobile Java General
    Replies: 1
    Last Post: 2006-04-14, 09:20
  3. Invalid jar file
    By irina_white in forum Mobile Java General
    Replies: 6
    Last Post: 2005-05-28, 15:40
  4. Replies: 1
    Last Post: 2005-05-26, 14:22
  5. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

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