android - Why are there many icons of my App? -


When I develop my application on my mobile phone, a lot of my application appears in the icon. So I've got the icon for every action (sometimes twice). ?

What's Wrong?

Here's my AndroidManifest.xml:

  & Lt; Usage-permission Android: name = "android.permission.RECORD_AUDIO" /> & Lt; Usage-permission Android: name = "android.permission.WRITE_EXTERNAL_STORAGE" /> & Lt; Usage-permission Android: name = "android.permission.READ_EXTERNAL_STORAGE" /> & Lt; Usage-permission Android: name = "android.permission.INTERNET" /> & Lt; Use-enabled Android: name = "android.hardware.camera" Android: required = "true" /> & Lt; Usage-permission Android: name = "android.permission.ACCESS_NETWORK_STATE" /> & Lt; Usage-permission Android: name = "android.permission.ACCESS_COARSE_LOCATION" /> & Lt; Usage-permission Android: name = "android.permission.ACCESS_FINE_LOCATION" /> & Lt; Permission Android: name = "com.unitnode.MAPS_RECEIVE" Android: protectionLevel = "signature" /> & Lt; Use-enabled Android: glEVersion = "0x00020000" Android: required = "true" /> & Lt; Use-sdk android: minSdkVersion = "19" Android: targetSdkVersion = "19" /> & Lt; Android: label = "@ string / app_name" android: allowBackup = "true" Android: largeHeap = "true" android: backupAgent = "com.unitnode.FileBackup" Android: Icon = "@ drawable / ic_launcher" Android: Theme = "@Style / Aaptimum" & gt; & Lt; Activity Android: Name = "com.unitnode.OpenProject" Android: label = "@ string / app_name" Android: parentActivityName = "com.unitnode.Collection" & 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 = "com.unitnode.Property" android: label = "@ string / settings" & 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 = "com.unitnode.SoundRecord" android: label = "@ string / settings" & 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 = "com.unitnode.FullscreenMode" Android: label = "@ string / fullscreenMode" & 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 = "com.unitnode.DatenbankHelper" Android: label = "@ string / settings" & 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; Meta-Data Android: Name = "com.google.android.backup.api_key" Android: value = "AEdPqrEAAAAIgcHi_mYg2z3r6ovsAyWLlVO7Zk7oKPCBxIJb-Q" /> & Lt; Meta-Data Android: Name = "com.google.android.maps.v2.API_KEY" Android: value = "AIzaSyBT21LxMEdlR6cecCXb913IPo7cIP-oMiU" /> & Lt; Meta-Data Android: name = "com.google.android.gms.version" android: value = "@ integer / google_play_services_version" /> & Lt; / Application & gt; Text after the   

Each activity is a target filter that has a launcher Gets the icon:

   & Lt; Category android: name = "android.intent.category.LAUNCHER" /> & Lt; / Intent-Filter & gt;   

Remove filters from those activities that do not have to be.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -