Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved How to set notification bar in android phone from qt

    Mobile and Embedded
    2
    2
    470
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Abin last edited by

      How to set notification bar in android phone from qt

      1 Reply Last reply Reply Quote 0
      • K
        kornava last edited by

        You can do it in Java, then call it from the Qt side,
        The JNI (Java native interface) will handle this inter-languages call.

        You write a Java method that will contain the notification necessarie instructions (without touching the layout), put it inside a a java file in your src path (don't forget to add the package name in the header of the java file)

        those links may help (don't make any buttons or layout items, all the gui must be in Qt side...):
        http://developer.android.com/guide/topics/ui/notifiers/notifications.html
        https://www.youtube.com/watch?v=GQPyXkbikXw

        Then you can call this Java method from the Qt side.
        How to make it? follow this tutorial:
        http://www.kdab.com/qt-android-episode-5/

        1 Reply Last reply Reply Quote 0
        • First post
          Last post