Android application with two application buttons -


I'm new to Android development. Currently, I'm building an Android app that has two launching icons. The first icon to launch the application's configuration portion. The second icon will be executed on the basis of the configuration.

The configuration will not be frequent activity.

But launching another icon would be too much to get results based on configuration. / P>

As I can see that most apps have a single launch icon Is there a way in Android that can fit my needs?

Thank you.

This can work.

In your manifest file (AndroidManifest.xml):

  & lt; Application Android: Hardware Expected = "True" Android: Label = "@ string / app_name" Android: Icon = "@ drawable / ic_launcher" & gt; & Lt; Activity Android: name = "MainActivity" Android: label = "@ string / app_name" & gt; & Lt; Intent-Filter & gt; & Lt; Action Android: name = "android.intent.action.MAIN" /> & Lt; Category android: name = "android.intent.category.LAUNCHER" /> & Lt; / Intent-Filter & gt; & Lt; / Activity & gt; & Lt; Activity Android: name = "SettingsActivity" android: label = "@ string / app_name" & gt; & Lt; Intent-Filter & gt; & Lt; Category android: name = "android.intent.category.LAUNCHER" /> & Lt; / Intent-Filter & gt; & Lt; / Activity & gt; & Lt; / Application & gt;  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -