Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User Raakel's Avatar
    Join Date
    Mar 2010
    Posts
    17
    Hello,

    I'm facing a lot of problems while trying to use the NEP External API. What I want to do is that my application can obtain measurement data from NEP and display it on the screen. To receive measurement samples from NEP, I know that I have to pass a pointer to my implementation of MJuiceMeasurementSampleReaderIf interface to the NewL() function of CJuiceExternalApi, but then, I don't know where these samples are saved and how to display them on the screen.

    I've been searching over internet and documentation but I can hardly ever find information about this API, so I'm really lost... Could you help me a little bit with it? Or do you know where I can find more info and examples about this topic?

    Thank you very much for your help!

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    That interface can not be simpler. It requires implementing a single method which has a single TJuiceMeasurementSamples argument. That is a callback method, you implement it and NEP invokes it. What you get in the argument is the measurement data. It is you who can collect/store/ignore it, and it is also you who can display/draw/etc. RArray could be a good utility to store either the entire sample (RArray<TJuiceMeasurementSamples>) or just a part of it.

  3. #3
    Registered User Raakel's Avatar
    Join Date
    Mar 2010
    Posts
    17
    Ok, thank you! I'm going to try to implement something like this.... but... don't you know where I can find more information and examples of this API??

  4. #4
    Nokia Developer Moderator ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    Example of what? Receiving a value as a parameter in a callback? As I remember the API package does have some examples, does it not?

Similar Threads

  1. [moved] NEP - Certificate Error : contact the supplier!
    By fa00064 in forum General Development Questions
    Replies: 8
    Last Post: 2010-03-05, 07:27
  2. External Authentificate Condition of Use error
    By adrien843 in forum Near Field Communication
    Replies: 0
    Last Post: 2009-09-09, 07:55
  3. Use of external styles in xhtml
    By fihsak in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-07-11, 07:43
  4. Use of external styles in xhtml
    By fihsak in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 1970-01-01, 02:00
  5. Use of external styles in xhtml
    By fihsak in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved