×

Discussion Board

Search:

Type: Posts; User: SymNewbi; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    2,373

    Re: How to get battery level using CHWRMPower

    Thank you wizard for your detailed answer, it really means a lot.

    Actually I do need to get the battery level scaled to 100 degrees, so RPorperty and CTelephony will not do this trick.

    Anyway,...
  2. Replies
    15
    Views
    2,373

    Re: How to get battery level using CHWRMPower

    Wizard_hu_

    Based on your post #10 , we are now on the same page and understand the ambiguity of the situation.

    So, do I use a timer that check battery level using GetBatteryInfo periodically ?...
  3. Replies
    15
    Views
    2,373

    Re: How to get battery level using CHWRMPower

    Now:

    PowerMeasurement(TInt aErr, CHWRMPower::TBatteryPowerMeasurementData& aMeasurement)

    the aErr is ( -2 )

    /**
    System wide error code -2 : an error that has no specific categorisation.
    ...
  4. Replies
    15
    Views
    2,373

    Re: How to get battery level using CHWRMPower

    Hi again,

    Now as I modified my code by adding iPower->SetPowerReportObserver(g_Appui); which returns 0

    The return value of iPower->StartAveragePowerReporting(iStatus, iInterval ); also has...
  5. Replies
    15
    Views
    2,373

    Re: How to get battery level using CHWRMPower

    Thank you wizard_hu_ for your quick response.

    I checked it and it returns -8 , what does this mean ?


    /**
    System wide error code -8 : an invalid handle has been passed.

    A system wide error...
  6. Replies
    15
    Views
    2,373

    Re: How to get battery level using CHWRMPower

    Here is my code, using AO, it works only when using iPower->GetBatteryInfo(iStatus,iBatteryConsumptionData); but after that I doesn't notify me when battery level changes, what is wrong or missing:
    ...
  7. Replies
    15
    Views
    2,373

    Re: How to get battery level using CHWRMPower

    thanks, and I'll get back here with results.

    B.R
  8. Replies
    15
    Views
    2,373

    Re: How to get battery level using CHWRMPower

    Yes I checked this link and as much it helped me, a much as it confused me.

    Anyway, I get the code to work, but I have a couple of questions:

    1- I'm using an AO and it has its CHWRMPower as a...
  9. Replies
    15
    Views
    2,373

    How to get battery level using CHWRMPower

    hi all,

    I've been trying in vain to get notified with battery level when it changes using CHWRMPower.

    I searched Wiki, Google, Dibo for examples but nothing exist.

    I tried documentation,...
  10. Re: How to draw a clipped images inside a rounded rectangle

    Hello all, is there anymore help regards my question ??
  11. Re: How to draw a clipped images inside a rounded rectangle

    thanks for reply,

    do yo mean to use DrawBitmapMasked and use a (Black white image) as a round rectangle mask via CFbsBitmap::Load() ?
  12. How to draw a clipped images inside a rounded rectangle

    hi all,

    I want to draw images inside a rounded rectangle, these images get clipped when reach the edges of the rounded rectangle; just like when we see in favorite contacts widgets, user can...
  13. Problem when trying to detect if contact item is Favorited - Belle

    Hi all,

    I'm trying the code below to detect if any of contacts is Favorited, but it never detects the Favorited contacts ??!!



    #define KUidContactFieldFavouriteValue 0x10274DB3...
  14. How to get the ID of the active view of another application

    Is there a way to get the ID of the active view of the active application [ but of course not my own application ] ?

    thanks
  15. Re: a problem when opening new contact dialog

    I may repeated my questions because I couldn't understand your answer. I read that genius people with high experience write missing information as their brain works faster than their hands, and so...
  16. Re: a problem when opening new contact dialog

    thank you for your quick answer,

    but how can I show a create new contact dialog while my app in background?

    and why the new contact dialog exit option force my application to exit?

    thank you...
  17. a problem when opening new contact dialog

    I use this code to launch a new contact dialog, but there are two problems:

    1- It opens the new contact dialog inside my application view, so if I call it from background it is not visible, unless...
  18. How to receive screen orientation change event faster

    Hi,

    I receive screen orientation change event in HandleWsEventL() :

    I monitor screen change event ( from landscape to portrait and vice verse ) via RWindowGroup::EnableScreenChangeEvents();
    ...
  19. Re: HandleWsEventL & HandlePointerEventL, which structure is correct

    hi @symbianyucca,

    regarding receiving change screen event in HandleWsEventL() :

    I monitor screen change event ( from landscape to portrait and vice verse ) via...
  20. Re: HandleWsEventL & HandlePointerEventL, which structure is correct

    thank you so much :)
  21. Re: HandleWsEventL & HandlePointerEventL, which structure is correct

    big thanks for your clarification :)

    I want to be greedy and ask you for a future example - not code, but a logic - that I should / must choose one sequence than the other?

    thanks
  22. HandleWsEventL & HandlePointerEventL, which structure is correct

    hi all,

    which structure is right when we handle HandlePointerEventL() , HandleWsEventL()




    void CCtrl::HandlePointerEventL(const TPointerEvent& aPointerEvent) // 1
    {
    ...
  23. Re: How to detect when keyboard is open in devices as E7, C6.01

    I found that it needs an internal API that is not available in public SDK, too bad :(
  24. Re: How to detect when keyboard is open in devices as E7, C6.01

    No, I'm talking about the physical keyboard not the virtual.
  25. How to detect when keyboard is open in devices as E7, C6.01

    hi all,

    Is there an API to monitor keyboard status - if there is any - and whether it is open or not?

    thanks all,
Results 1 to 25 of 41
Page 1 of 2 1 2
×