×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    to get the Attribute value

    I need to get the Attribute value, depending on that Attribute value, I need to show some data....

    the problem here to get the value is:

    If value is "Question", how can I compare to TBuf8<20> value = aAttributes[i].Value().DesC();

    Using RDebug, value is coming like this : QETO (alternate letters of QUESTION)

    Please help me

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: to get the Attribute value

    What is the type of aAttributes??


    TBuf can be compared by == operator.

  3. #3
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: to get the Attribute value

    type of aAttributes is RAttributeArray&

    I need to compare TBuf8<> value with KId
    _LIT(KId, "ID" );
    I tried with == operator, but its giving error

  4. #4
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: to get the Attribute value

    Quote Originally Posted by sunitha.m13 View Post
    type of aAttributes is RAttributeArray&

    I need to compare TBuf8<> value with KId
    _LIT(KId, "ID" );
    I tried with == operator, but its giving error
    I think you are comparing 16bit litrate to 8 bit.

    Like: if(_L8("Hi")==_L("Hi")) this is not right
    convert both in either 8bit or 16 bit then compare it.

  5. #5
    Regular Contributor
    Join Date
    Aug 2009
    Location
    Bangalore, India
    Posts
    454

    Re: to get the Attribute value

    yes...its correct....now its working....

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: to get the Attribute value

    While I guess the values stored in that RAttributeArray could be represented in some visual form for the users this question has nothing to do with "Symbian User Interface", does it?

    Please post your questions in appropriate forums to help keep this board tidy. Thanks!
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. cannot create .sis file....
    By jebindaniel in forum Themes/Carbide.ui
    Replies: 6
    Last Post: 2010-04-28, 03:22
  2. Replies: 4
    Last Post: 2006-09-05, 15:15
  3. ant run-mms-send-with-mm7 and ant run-mms-receive-with-mm7
    By tomerbd in forum General Messaging
    Replies: 0
    Last Post: 2005-11-10, 05:32
  4. Nokia Mobile Server 1.3 SDK mmsc mm7 API (1/2)
    By kehong in forum General Messaging
    Replies: 4
    Last Post: 2004-02-09, 10:45
  5. Attribute values in bluetooth discovery database
    By ncjdavies in forum Bluetooth Technology
    Replies: 0
    Last Post: 2002-11-12, 08:50

Posting Permissions

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