android


Missing App Icon after modifying Manifest


I was trying to create a splash screen for my app, so i followed this guide:
http://www.androidhive.info/2013/07/how-to-implement-android-splash-screen-2/
I changed my Manifest in order to launch first from my launcher activity, I booted it from Android Studio and it actually worked. But when I was looking for the app on my launcher I noticed that it doesn't has icon and name like the other applications.
I tried to unnistall and install it again and nothing... The application is listed on the installed applications.
This is part of my manifest fest:
<application
android:allowBackup="true"
android:icon="#drawable/bclose_1"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<!-- Splash Screen Activity-->
<activity
android:name=".SplashScreen"
android:label="#string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.SPLASHSCREEN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Main Activity-->
<activity
android:name=".MainActivity"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<!-- Preferences Activity-->
<activity
android:name=".Preferences"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.PREFERENCES" />
<category android:name="android.intent.category.PREFERENCE" />
</intent-filter>
</activity>
I believe LAUNCHER and MAIN action should be combined in order to show it in Launcher.
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
Change it to
<activity
android:name=".SplashScreen"
android:label="#string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.SPLASHSCREEN" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

Related Links

Create different number of items inside a ListView Android
How can i insert memory info in a different layout in a textview in android
How to get old ARM for Android 2.2 (API 8)
tool to monitor the urls sent by the android application
Android ListFragment Runtime Error
Android using switchpreference to set color background
Android to ASP.NET Upload Savepath
Implementing video recorder, crashing app
Using local calendar in emulator
First and last EditText in ListView is showing the same value
How to Display two atcivitys Ui in one screen 70 % and 30%?
Buttons setText from shuffled list item positions display wrong results
Correctly implementing onMeasure() when extending a ViewGroup
in android canvas why the matrix is too slow and sluggish
Increment the textview value on button click in listview
ActionBarsherlock how to set dividers on menu items with icons only

Categories

HOME
merge
depth
serialization
solaris
gradient
aws-cli
tail
maxscript
pcl-crypto
dkim
java.util.logging
opengl-es-3.0
intercom
soci
backpack-for-laravel
inno-download-plugin
easeljs
jquery-callback
froala
android-maps
angular-translate
winexe
bringtofront
realm-mobile-platform
testcomplete
weather
cart
clickjacking
joomla2.5
reverse
getlasterror
raft
hivemq
release
urlsession
preloader
chronicle-map
jide
openresty
opennms
zenhub
context-sensitive-grammar
spring-data-couchbase
opengl-4
android-testing
ngmaterial
chromium-os
custom-lists
windows-azure-queues
refinerycms
gcloud-ruby
piracy-prevention
toast
libvlc
rubaxa-sortable
openbabel
mruby
nsmenu
mintty
alternate
android-framework
dsym
syndicationfeed
openargs
gwt-openlayers
spring-3
isqlquery
composite-component
device-width
android-loadermanager
landscape-portrait
update-statement
webdev.webserver
mbeans
massive
dataform
codebase
timertask
business-model
idatareader

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App