Hello. Someone can tell - in one project I try to start not the main activity first, but an activity with entering my login and password, but this all fails, I already indicated something like this in the manifest:

<activity android:name=".ui.activities.LoginActivity" android:label="@string/title_activity_login"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> <activity android:name=".ui.activities.MainActivity"> </activity> 

but in any way .... where else can it be necessary to prescribe something? it seems as soon as it had to be corrected in the code, so that the first would be activation with authorization. And the most interesting, I create a separate project, then in which I create activations with authorization, I prescribe as above I wrote and everything works as it should (i.e., it starts authorization activation first). What could be here?

Closed due to the fact that off-topic participants cheops , user194374, aleksandr barakin , D-side , zRrr Jul 11 ​​'16 at 23:07 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - cheops, Community Spirit, aleksandr barakin, D-side, zRrr
If the question can be reformulated according to the rules set out in the certificate , edit it .

    1 answer 1

    The question is no longer relevant. It helped to create a new project, in which he transferred all the logic from the previous one. Because I already wrote that I checked the same actions on a clean project and everything started as it should, i.e. starting with activation authorization. And so it is still not clear what it was.