Results 1 to 2 of 2

Thread: Wrtting a messenger app for Android;

  1. #1
    Join Date
    Apr 2014
    Posts
    125
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Android Maemo/MeeGo

    Question Wrtting a messenger app for Android;

    Hello;

    I want to write a messenger app (similar to WhatApps) for Android.

    1. The entire message is made of:
    - 50 words user data up to a maximum of 10 x 50 words, and
    - 100 lines from a file of control data (xml file)
    , all of this sent in the same network message from one Android device to the other.

    2. The sender is periodically (every second) sending a very small message of 100 characters from sender - receiver for handshaking,....

    What are the best protocol and APIs to use to do that in Qt mobile?

    Thanks;

    Mut.

  2. #2
    Join Date
    Dec 2017
    Posts
    4
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Windows Android

    Lightbulb Re: Wrtting a messenger app for Android;

    Hi!

    You can also have a look at V-Play Engine for mobile apps and games. It includes a chat service which allows to create your own cross-platform messenger with a few lines of code:

    Qt Code:
    1. import VPlay 2.0
    2. import VPlayApps 1.0
    3.  
    4. App {
    5.  
    6. // app navigation
    7. Navigation {
    8. NavigationItem {
    9. title: "User Profile"
    10. icon: IconType.user
    11. NavigationStack {
    12. initialPage: socialView.profilePage
    13. }
    14. }
    15.  
    16. NavigationItem {
    17. title: "Chat"
    18. icon: IconType.comment
    19. NavigationStack {
    20. initialPage: socialView.inboxPage
    21. }
    22. }
    23. }
    24.  
    25. // service configuration
    26. VPlayGameNetwork {
    27. id: gameNetwork
    28. gameId: 285
    29. secret: "AmazinglySecureGameSecret"
    30. multiplayerItem: multiplayer
    31. }
    32.  
    33. VPlayMultiplayer {
    34. id: multiplayer
    35. appKey: "dd7f1761-038c-4722-9f94-812d798cecfb"
    36. pushKey: "a4780578-5aad-4590-acbe-057c232913b5"
    37. gameNetworkItem: gameNetwork
    38. }
    39.  
    40. // social view setup
    41. SocialView {
    42. id: socialView
    43. gameNetworkItem: gameNetwork
    44. multiplayerItem: multiplayer
    45. visible: false // we show the view pages on our custom app navigation
    46. }
    To copy to clipboard, switch view to plain text mode 

    For more information, please see here: https://v-play.net/cross-platform-ap...-cloud-storage

Similar Threads

  1. Replies: 4
    Last Post: 10th July 2014, 16:22
  2. Replies: 2
    Last Post: 29th August 2011, 14:13
  3. Yahoo! messenger like project
    By yazwas in forum Qt Programming
    Replies: 1
    Last Post: 22nd December 2009, 19:13
  4. make MSN Messenger QStyle?
    By oob2 in forum Qt Programming
    Replies: 1
    Last Post: 10th May 2007, 23:17
  5. Slide Up Window (Messenger Style)
    By December in forum Qt Programming
    Replies: 3
    Last Post: 13th February 2007, 17:01

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.