Important: Please read the Qt Code of Conduct -

Creating a new custom android activity not possible [solved]

  • Hei there. I've tried to create a new custom android activity via QtAndroidExtras. I first call a static method from a java file. This method then tries to create the android activity via Intent.
    But Intent keeps triggering the Exception:

    activity class {org.schabi.vectiz/LoginActivity}; have you declared this activity in your AndroidManifest.xml?

    Thats strange. I've added the activity to my AndroidManifest.xml:

    android:label="Login" >
    <action android:name="android.intent.action.LOGIN" />

    The file is lying in <project_root>/android/src.

  • Did you try calling the static method from JAVA?
    You should verify your java code first.

  • Well yes I first developed everything with eclipse and then copied the file into my Qt project.

  • ok i've got an answer. Just look at this:

Log in to reply