Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Android inherit AppCompatActivity

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24585

    Patrik Dusek

    Hi all,

    I need to implement an additional framework in Android. This framework needs in a methode that I have to call

    the parameter for the calling activity as AppCompatActivity. My main activity extends the vplayactivity which works

    fine for all my other android native stuff. But I can’t pass it as param to the methode. Seems like the vplayactivity does not

    extend AppCompatActivity. Correct?

    Any ideas how I can get my activity passed as AppCompatActivty to the framework call?

    Thx,

    Patrik

    #24604

    Patrik Dusek

    Hi Team,

    do you have any ideas on this?

    thx,

    patrik

    #24605

    Alex
    Felgo Team

    Hi Patrik,

    VPlayActivity extends QtActivity, which is derived from android.app.Activity.

    So in order to get this working, we’d probably have to migrate the QtActivity to work based on AooCompatActivity and then create a VPlayActivity that extends this new class. This may not be straightforward.

    Depending on the 3rd party framework in use, there might be alternatives. Requiring AppCompatActivity is not quite best practice.

    Could you send details about the used framework, the troublesome code part, and anything else that may help to support@felgo.com ?

    Then we can have a quick look what the available options are.

    Best,
    Alex

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded