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

How to implement Google AdMob mediation in Unity 5.3.5
How to animate items reordering in RecyclerView with StaggeredGridLayoutManager?
sending Image through GCM
getMap() is null in SupportMapFragment in gogole map in andorid fragment
onclick of one button calling functions of two other buttons simultaneously in android
I want to play the selected mp3 file from Listview
How to replace marker image with textview in google maps api for android?
Playing DASH streaming video from a DRM protected app inside another app without the decryption key
cyanogenmod 13 freezes and restarts
Chrome native app install banner not working
h264 decoding from AR drone stream on android using mediacodec
How can I create a multiline, multicolumn list item layout?
Espresso - use a grid view inside of a view pager containing other grid views
Espresso - how to find a specific item in a recycler view (order is random)
How can I inspect methods called with Parcel.transact
Android-Facebook SDK using graph api to post without storing access token on client app

Categories

HOME
deep-learning
linkedin
package
r-googlesheets
crystal-lang
extjs4.2
categorical-data
minecraft-forge
appcelerator-studio
frequency-distribution
coin3d
aws-sdk
intershop
sencha-touch
selinux
babel
r-mice
roundup
beta
onload
asymptotic-complexity
spotipy
iis-express
userdefaults
recurring-events
cart
jmockit
dumpbin
quickfixj
gojs
installshield-le
activexobject
sendbird
latitude-longitude
magento-1.9.2.4
xcode7.3
tex
nohup
z-notation
ods
css-position
mcustomscrollbar
laravel-elixir
dbnull
print-css
user-defined-fields
vugen
java-6
pacemaker
spring-cloud-feign
mta
cassia
query-by-example
beanstalk
phpgrid
highland.js
.bash-profile
canvg
j-security-check
dbaccess
wcm
jama
create.js
mintty
model-driven-development
neos-server
dolby-audio-api
windows-98
pdfviewer
extreme-programming
frameworkelementfactory
iboutlet
apache-whirr
rmdir
cuteeditor
nhprof
uideviceorientation
instantiationexception
facebook-iframe
jqueryform
aspmenu
scrollbars
sifr
pagemethods
duplex
lalr
xpsdocument
java1.4
lemmatization
wcf-proxy
netbeans6.1

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