Qt World Summit: Register Today!

How to start a second activity in Android

  • My, my class called NFCInterface does not starts as activity when my app starts.
    I have added these lines in the AndroidManifest.xml file but the lines don't be considered. What it is wrong?

        <activity android:name="it.labcsp.handyman.handymantouch.NFCInterface" >
                <action android:name="android.nfc.action.TAG_DISCOVERED"/>
                <category android:name="android.intent.category.DEFAULT"/>

  • @mrdebug Hi,

    Does your NFCInterface class inherits from QtActivity ?

  • It works but only one time.
    After the first ufc event the app goes to freeze here

        protected void onResume() {

Log in to reply