Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Creating Android App which is works as service (like SIGNAL)?
Forum Updated to NodeBB v4.3 + New Features

Creating Android App which is works as service (like SIGNAL)?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 2 Posters 287 Views 2 Watching
  • 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.
  • MucipM Offline
    MucipM Offline
    Mucip
    wrote on last edited by
    #1

    Hi,
    I want to create messaging App (like SIGNAL) in case of use private in our company. I have Linux server and no problem about storing messages.
    I want to create listener app to listen my linux server but must run in the background.
    Is there any sample or guide about how to create backround running with Qt?

    Regards,
    Mucip:)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Usually, messaging apps use the push method and not the pull. Messages are sent to the server that then dispatches them. They are not polling one or more machines. That would be inefficient and wasteful in terms of bandwidth and battery lifetime.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • MucipM Offline
        MucipM Offline
        Mucip
        wrote on last edited by
        #3

        Hi @SGaist ,
        In my scenerio, I will use Apache/PHP and PostgreSQL in the Linux Server. I store all messages and user information on the server.
        I will create app in the Android clients which runs in the background.

        I may use push mechanism which described here no problem.

        Linux server can ping to the client to check the messages.
        But in any case I need to create App which runs in the bacground first. :)

        Regards,
        Mucip:)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You would need a service.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved