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. Do I need Activity and Fragment in Qt for Android?
Forum Updated to NodeBB v4.3 + New Features

Do I need Activity and Fragment in Qt for Android?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 1 Posters 983 Views
  • 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.
  • I Offline
    I Offline
    Ibrahim
    wrote on last edited by
    #1

    Hi; I develop mobile apps for Android, iOS and Windows Mobile. Do I need activity and fragment in Qt for Android? Have to I run Java codes for Activity and Fragment? I use .ui.qml files and I write to all the different pages on different items:

    // Example:
    Item { id: page1 }
    Item { id: page2 }
    Item { id: page3 }
    ...
    

    I know there are onCreate, onResume, onPause etc. methods on the activities. Are there these activity methods alternatives in Qt/QML? Is there activity and fragment alternative for Qt on mobile? Thanks.

    I 1 Reply Last reply
    0
    • I Ibrahim

      Hi; I develop mobile apps for Android, iOS and Windows Mobile. Do I need activity and fragment in Qt for Android? Have to I run Java codes for Activity and Fragment? I use .ui.qml files and I write to all the different pages on different items:

      // Example:
      Item { id: page1 }
      Item { id: page2 }
      Item { id: page3 }
      ...
      

      I know there are onCreate, onResume, onPause etc. methods on the activities. Are there these activity methods alternatives in Qt/QML? Is there activity and fragment alternative for Qt on mobile? Thanks.

      I Offline
      I Offline
      Ibrahim
      wrote on last edited by
      #2

      How can I use onCreate, onResume etc. activity methods in QML Forms?

      1 Reply Last reply
      0

      • Login

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