Can anyone say how to manipulate manifest file from a java file.
For example . . .
i am having an app consisting of a registration activity(LAUNCHER) and login activity (DEFAULT).
Now once i installed the app i will be shown with registration page as it is the launcher.
if i click the app icon again since i am once registered i should be shown with the login activity (which means this should be labelled as LAUNCHER).
Can anyone help me please..

You do not want to do such stuff and I do not think it is possible. Just store user registration details in SharedPreferences, then on re-launch check if you have them and just move onto loggin screen

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.