×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    4

    MBanner / MNotification

    Hi,

    I need to show notifications on lock screen. I searched and found out the class MBanner is for this purpose. (http://harmattan-dev.nokia.com/unsta....html#_details)


    But, I am unable to use it. I will highly appreciate if you could provide me with some example on how to use it or some other approach in qt / qml to show notification on lock screen.

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: MBanner / MNotification

    Again, what's you use case? Are you sure you need this level of notification?

    Anyway, MNotification is what you are looking for.
    http://harmattan-dev.nokia.com/unsta...fications.html
    Also note that this API is deprecated

    Hartti

  3. #3
    Registered User
    Join Date
    Apr 2010
    Posts
    4

    Re: MBanner / MNotification

    Hi Hartti,

    I need to show these notifications at this level only.

    I have used mbanner and added the path to the header file in the INCLUDEPATH, but, i am unable to find which is the library for it..

  4. #4
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327

    Re: MBanner / MNotification

    M* classes are generally libmeegotouch, all you need to do is CONFIG += meegotouch to get them (both headers and libraries). Note that MTF Is *deprecated* and is only available as part of the platform API.

  5. #5
    Registered User
    Join Date
    Nov 2007
    Location
    Finland
    Posts
    26

    Re: MBanner / MNotification

    Aren't those notifications available through non-deprecated APIs, such as QML or Qt Mobility? Or is it meant that developers should not use or have access to those notifications?

  6. #6
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327

    Re: MBanner / MNotification

    Qt Components is not feature complete, so I would expect them to show up there sooner or later (QtMobility doesn't sound like the right place). Until that, you're of course free to use the MTF version - luckily Notifications and Banners aren't too complex so can be wrapped (and exposed to QML) with little effort.

Posting Permissions

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