Showing two Icons when launch application - android

I want some assistance on Icons showing for my application, there are two icons one for my Library Project FBReader and one for my own launcher app. I make all changes as suggested on different web portals and StackOverflow but didn't get success. Please suggest me any solution regarding the same.
AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.handygo.rockasap"
android:installLocation="auto"
android:versionCode="70"
android:versionName="4.3.3" >
<!-- android:maxSdkVersion="17" max version create problem in Reader -->
<uses-sdk android:minSdkVersion="9" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.READ_SYNC_STATS" />
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<!--
<permission
android:name="com.handygo.rockasap.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
-->
<uses-permission android:name="com.handygo.rockasap.permission.C2D_MESSAGE" />
<!-- This app has permission to register and receive data message. -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<!-- <uses-feature
android:name="android.permission.ACCESS_FINE_LOCATION"
android:required="false" />
<uses-feature
android:name="android.permission.ACCESS_COARSE_LOCATION"
android:required="false" />
<uses-feature
android:name="android.permission.SEND_SMS"
android:required="false" />
<uses-feature
android:name="android.hardware.location"
android:required="false" />
<uses-feature
android:name="android.hardware.location.network"
android:required="false" />
<uses-feature
android:name="android.hardware.location.gps"
android:required="false" />-->
<uses-feature
android:name="android.hardware.telephony"
android:required="false" >
</uses-feature>
<!-- Version check the WIFI and Location permission -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY" />
**<application
tools:replace="android:icon, android:label, android:name, android:theme"
android:allowBackup="true"
android:icon="#mipmap/app_icon"
android:label="#string/app_name"
android:largeHeap="true"
android:name=".RockstandApplication"
android:theme="#style/AppTheme" >**
<!-- MOBIKWIK Activity Files -->
<activity
android:name="com.mobikwik.sdk.MobikwikSDK"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="MobiKwik"
android:theme="#style/MKSDKTransparent"
android:windowSoftInputMode="stateHidden" >
</activity>
<!-- PayTM Activity -->
<activity
android:name="com.paytm.pgsdk.PaytmPGActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" >
</activity>
<activity
android:name="com.mobikwik.sdk.PGWebView"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="BankPage"
android:theme="#style/MKSDKTheme"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.mobikwik.sdk.PaymentOptions"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="#string/app_name"
android:theme="#style/MKSDKTheme"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.mobikwik.sdk.PaymentActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="#string/app_name"
android:theme="#style/MKSDKTheme"
android:windowSoftInputMode="stateHidden" >
</activity>
<activity
android:name="com.mobikwik.sdk.GetUserDetailsActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="#string/app_name"
android:theme="#style/MKSDKTheme"
android:windowSoftInputMode="stateHidden" >
</activity>
<!-- multiwindow code -->
<meta-data
android:name="com.samsung.android.sdk.multiwindow.enable"
android:value="true" />
<meta-data
android:name="com.samsung.android.sdk.multiwindow.multiinstance.enable"
android:value="true" />
<meta-data
android:name="com.sec.android.multiwindow.STYLE"
android:value="fixedRatio" />
<meta-data
android:name="com.sec.android.support.multiwindow"
android:value="true" />
<service android:name="com.handygo.rockasap.apputils.GCMIntentService" />
<receiver
android:name="com.handygo.rockasap.apputils.GcmBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.handygo.rockasap" />
</intent-filter>
</receiver>
<provider
android:name="com.handygo.rockasap.DataProvider"
android:authorities="com.handygo.rockasap.DataProvider"
android:exported="true"
android:multiprocess="true" >
</provider>
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<activity
android:name="org.geometerplus.android.fbreader.crash.FixBooksDirectoryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":crash"
android:theme="#style/FBReader.Dialog" >
<intent-filter>
<action android:name="android.fbreader.action.CRASH" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="CachedCharStorageException" />
</intent-filter>
</activity>
<activity
android:name="org.geometerplus.android.fbreader.crash.MissingNativeLibraryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":crash"
android:theme="#style/FBReader.Dialog" >
<intent-filter>
<action android:name="android.fbreader.action.CRASH" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="ExceptionInInitializerError" />
</intent-filter>
</activity>
<service
android:name="org.geometerplus.android.fbreader.api.ApiService"
android:exported="false"
android:launchMode="singleTask" >
<intent-filter>
<action android:name="android.fbreader.action.API" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</service>
<activity
android:name="com.artifex.mupdfdemo.ScreenShotsActivity"
android:theme="#android:style/Theme.Translucent.NoTitleBar" >
</activity>
<activity
android:name="org.geometerplus.android.fbreader.SpeakActivity"
android:configChanges="orientation|keyboardHidden"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Light.Panel" />
**<activity
tools:replace="android:icon, android:label, android:name, android:theme"
android:name="org.geometerplus.android.fbreader.FBReader"
android:configChanges="orientation|keyboardHidden|screenSize"
android:icon="#mipmap/app_icon"
android:label="Rockstand"
android:launchMode="singleTask"
android:theme="#style/FBReader.Activity" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="#xml/searchable" />
</activity>**
<activity android:name="org.geometerplus.android.fbreader.DictionaryBrowser" />
<activity
android:name="org.geometerplus.android.fbreader.CancelActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.style.StyleListActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.style.EditStyleActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.image.ImageViewActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Activity" />
<!-- android:process=":imageView" -->
<service
android:name="org.geometerplus.android.fbreader.libraryService.LibraryService"
android:exported="false"
android:launchMode="singleTask"
android:process=":libraryService" >
<intent-filter>
<action android:name="android.fbreader.action.LIBRARY_SERVICE" />
</intent-filter>
</service>
<activity
android:name="org.geometerplus.android.fbreader.library.BookInfoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":library"
android:theme="#style/FBReader.Activity" />
<activity
android:name="org.geometerplus.android.fbreader.library.LibrarySearchActivity"
android:process=":library"
android:theme="#android:style/Theme.NoDisplay" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="#xml/searchable" />
</activity>
<activity
android:name="org.geometerplus.android.fbreader.library.LibraryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:launchMode="singleTask"
android:process=":library"
android:theme="#style/FBReader.Activity" >
<meta-data
android:name="android.app.default_searchable"
android:value="org.geometerplus.android.fbreader.library.LibrarySearchActivity" />
</activity>
<activity
android:name="org.geometerplus.android.fbreader.TOCActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Activity" />
<activity
android:name="org.geometerplus.android.fbreader.BookmarksActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Activity" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="#xml/searchable" />
</activity>
<activity
android:name="org.geometerplus.android.fbreader.BookmarkEditActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.preferences.PreferenceActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="#style/FBReader.Activity" />
<activity
android:name="org.geometerplus.android.fbreader.preferences.EditBookInfoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":library"
android:theme="#style/FBReader.Activity" />
<activity
android:name="org.geometerplus.android.fbreader.network.BookDownloader"
android:process=":networkLibrary"
android:theme="#android:style/Theme.NoDisplay" >
</activity>
<service
android:name="org.geometerplus.android.fbreader.network.BookDownloaderService"
android:launchMode="singleTask"
android:process=":networkLibrary" />
<activity
android:name="org.geometerplus.android.fbreader.network.NetworkSearchActivity"
android:process=":networkLibrary"
android:theme="#android:style/Theme.NoDisplay" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="#xml/searchable" />
</activity>
<activity
android:name="org.geometerplus.android.fbreader.network.NetworkLibraryPrimaryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:launchMode="singleTask"
android:process=":networkLibrary"
android:theme="#style/FBReader.Activity" >
</activity>
<activity
android:name="org.geometerplus.android.fbreader.network.NetworkLibrarySecondaryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Activity" />
<activity
android:name="org.geometerplus.android.fbreader.network.AuthenticationActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.network.BuyBooksActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.network.AddCatalogMenuActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.network.AddCustomCatalogActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Dialog" >
</activity>
<activity
android:name="org.geometerplus.android.fbreader.network.AuthorizationMenuActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.network.TopupMenuActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Dialog" />
<activity
android:name="org.geometerplus.android.fbreader.network.NetworkBookInfoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":networkLibrary"
android:theme="#style/FBReader.Activity" >
</activity>
<activity
android:name="com.artifex.mupdfdemo.MuPDFActivity"
android:configChanges="orientation"
android:label="#string/app_name"
android:theme="#android:style/Theme.Light.NoTitleBar.Fullscreen" >
</activity>
<receiver
android:name="org.geometerplus.android.fbreader.network.ListenerCallback"
android:process=":networkLibrary" >
<intent-filter>
<action android:name="android.fbreader.action.network.SIGNIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<!--
<activity
android:name="com.handygo.rockasap.screens.MainActivity"
android:screenOrientation="sensorPortrait"
android:theme="#style/AppTheme" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
-->
<activity
android:name=".SplashActivity"
android:launchMode="singleTask"
android:screenOrientation="sensorPortrait"
android:theme="#style/AppTheme"
android:windowSoftInputMode="adjustPan" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".RockstandFragmentScreenActivity"
android:configChanges="screenSize|keyboardHidden|orientation"
android:label="#string/title_activity_filters"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize|adjustPan"></activity>
<!-- The authenticator service -->
<receiver
android:name="com.handygo.rockasap.services.ReferralReceiver"
android:enabled="true"
android:exported="true"
android:permission="android.permission.INSTALL_PACKAGES" >
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<service
android:name="com.handygo.rockasap.services.AuthenticationService"
android:exported="false" >
<intent-filter>
<action android:name="android.accounts.AccountAuthenticator" />
</intent-filter>
<meta-data
android:name="android.accounts.AccountAuthenticator"
android:resource="#xml/authenticator" />
</service>
<!--<receiver
android:name="com.handygo.rockasap.UpdatePaymentSuccess">
<intent-filter>
<action android:name="update_paytm" />
</intent-filter>
</receiver>-->
</application>
</manifest>

Because you put two intent filters,remove one
<activity
android:name="org.geometerplus.android.fbreader.crash.FixBooksDirectoryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":crash"
android:theme="#style/FBReader.Dialog" >
<intent-filter>
<action android:name="android.fbreader.action.CRASH" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="CachedCharStorageException" />
</intent-filter>
</activity>
<activity
android:name="org.geometerplus.android.fbreader.crash.MissingNativeLibraryActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:process=":crash"
android:theme="#style/FBReader.Dialog" >
<intent-filter>
<action android:name="android.fbreader.action.CRASH" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="ExceptionInInitializerError" />
</intent-filter>
</activity>

Thats because you have 2 LAUNCHER activities in your manifest
<activity
android:name=".SplashActivity"
android:launchMode="singleTask"
android:screenOrientation="sensorPortrait"
android:theme="#style/AppTheme"
android:windowSoftInputMode="adjustPan" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity>
The 2 line
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
are both launchers. Remove 1

The other answers are correct, either remove the intentfilters or set the category of either to android.intent.category.DEFAULT
Note that if you dont declare it to DEFAULT, the compiler does it for you automatically.

Related

Cannot find the declaration of element 'manifest' i am unable to build the app

Error: Cannot find declaration of element manifest
I have the <manifest></manifest> element in my AndroidManifest.xml still I am getting the error.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.anupsaha.streammusic">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<application
android:name=".MyApplication"
android:allowBackup="true"
android:icon="#mipmap/app_icon_round"
android:label="#string/app_name"
android:roundIcon="#mipmap/app_icon_round"
android:supportsRtl="true"
android:largeHeap="true"
android:theme="#style/AppTheme"
android:usesCleartextTraffic="true">
<activity
android:name=".SplashActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".LoginActivity"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name=".MainActivity"
android:label="#string/title_activity_main"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity
android:name=".BaseActivity"/>
<activity
android:name=".RegisterActivity"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name=".ForgotPasswordActivity"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name=".ProfileActivity"
android:windowSoftInputMode="adjustPan|adjustNothing"/>
<activity
android:name=".ProfileEditActivity"
android:windowSoftInputMode="adjustPan"/>
<activity
android:name=".ReportActivity"
android:windowSoftInputMode="adjustPan|adjustNothing"/>
<activity
android:name=".SuggestionActivity"
android:windowSoftInputMode="adjustPan|adjustNothing"/>
<activity android:name=".SongByCatActivity"
android:windowSoftInputMode="adjustPan|adjustNothing"/>
<activity android:name=".SongByServerPlaylistActivity"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity android:name=".SongByMyPlaylistActivity"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity android:name=".SongByOfflineActivity"
android:windowSoftInputMode="adjustPan|adjustNothing"/>
<activity android:name=".SongByOFFPlaylistActivity"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity android:name=".Add2OfflinePlaylistActivity"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity android:name=".SettingActivity"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity android:name=".AboutActivity"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity
android:name=".OfflineMusicActivity"
android:label="#string/title_activity_main2"
android:theme="#style/AppTheme"
android:windowSoftInputMode="adjustPan|adjustNothing" />
<activity android:name=".SelectSongActivity"
android:windowSoftInputMode="adjustPan|adjustNothing"/>
<activity android:name=".MiniPlayer"
android:theme="#style/Theme.MiniPlayer"
android:launchMode="singleTask"
android:excludeFromRecents="true"
android:label="#string/app_name"
android:taskAffinity=""
android:windowSoftInputMode="adjustPan|adjustNothing">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.APP_MUSIC" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
<data android:mimeType="audio/*" />
</intent-filter>
</activity>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="#string/admob_app_id"/>
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<service
android:name=".PlayerService"
android:exported="false" />
<service
android:name="com.anupsaha.utils.NotificationExtenderExample"
android:exported="false"
android:permission="android.permission.BIND_JOB_SERVICE">
<intent-filter>
<action android:name="com.onesignal.NotificationExtender" />
</intent-filter>
</service>
<service
android:name=".DownloadService"
android:exported="false" />
<receiver android:name="com.anupsaha.utils.MediaButtonIntentReceiver">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>
</application>
</manifest>
AndroidManifest file link - here is link

How to make html to android app launch hyperlink?

I'm new in Android development.
I don't know how to create android app launch hyperlink and embed it into HTML page.
My scenario is when anyone click on this link android app will automatically launch, (app will be pre installed into the device.)
Here is the manifest code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:"http://schemas.android.com/apk/res/android" android:versionCode="9" android:versionName="1.0.4" package="com.happyconz.wherelive" platformBuildVersionCode="22" platformBuildVersionName="5.1.1-1819727">
<uses-sdk android:minSdkVersion="11" android:targetSdkVersion="21" />
<supports-screens android:anyDensity="true" android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:resizeable="true" android:xlargeScreens="true" />
<uses-feature android:name="android.hardware.camera" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.NETWORK" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="com.happyconz.wherelive.permission.INTERNAL" />
<permission android:name="com.happyconz.wherelive.permission.INTERNAL" android:protectionLevel="signature|signatureOrSystem" />
<application android:theme="0x7f0b0095" android:label="0x7f09028c" android:icon="0x7f02011d" android:name="com.happyconz.wherelive.GlobalApplication" android:allowBackup="true" android:largeHeap="true">
<activity android:theme="0x7f0b0099" android:label="0x7f09028c" android:name="com.happyconz.wherelive.activity.HomeActivity" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0b0095" android:label="0x7f09028c" android:name="com.happyconz.wherelive.Main" android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:label="0x7f09011e" android:name="com.happyconz.wherelive.about.CustomActivity" />
<activity android:theme="#style/Theme_AppCompat_Light_NoActionBar" android:label="0x7f09028c" android:name="com.happyconz.wherelive.video.youtube.sign.LoginActivity" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="#style/Theme_AppCompat_Light_NoActionBar" android:label="0x7f09028c" android:name="com.happyconz.wherelive.video.youtube.sign.LogoutActivity" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0b0099" android:name="com.happyconz.wherelive.recode.Recorder" android:permission="com.happyconz.wherelive.permission.INTERNAL" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="com.happyconz.wherelive.action.Recorder" />
</intent-filter>
</activity>
<activity android:theme="0x7f0b008f" android:name="com.happyconz.wherelive.CertFailDialog" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:label="0x7f09025a" android:icon="0x7f020121" android:name="com.happyconz.wherelive.video.MyLiveListActivity" android:launchMode="standard" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:label="0x7f090259" android:icon="0x7f020121" android:name="com.happyconz.wherelive.video.LiveListActivity" android:launchMode="standard" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:label="0x7f09003f" android:icon="0x7f020121" android:name="com.happyconz.wherelive.preference.InfoActivity" android:launchMode="standard" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0b0095" android:name="com.happyconz.wherelive.activity.WebViewActivity" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="#*android:style/Theme.NoDisplay" android:name="com.happyconz.wherelive.video.youtube.sign.CheckAuthActivity" />
<activity android:theme="0x7f0b0095" android:name="com.happyconz.wherelive.video.CreateChannelActivity" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0b0095" android:name="com.happyconz.wherelive.video.CreateLiveChannelActivity" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="#*android:style/Theme.Translucent" android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
<activity android:theme="#*android:style/Theme.Translucent.NoTitleBar" android:name="com.happyconz.wherelive.adv.AdEverFullScreen" android:taskAffinity="com.wherelive.pro" android:launchMode="singleTask" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
<activity android:theme="#style/Theme_AppCompat_Light_NoActionBar" android:name="com.happyconz.wherelive.adv.AdMainFullScreen" android:launchMode="singleTask" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
<activity android:theme="0x7f0b0098" android:icon="0x7f020121" android:name="com.happyconz.wherelive.preference.SettingActivity" android:launchMode="standard" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0b0098" android:icon="0x7f020121" android:name="com.happyconz.wherelive.preference.AccountSettingActivity" android:launchMode="standard" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0b0098" android:icon="0x7f020121" android:name="com.happyconz.wherelive.preference.ScreenSettingActivity" android:launchMode="standard" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0b0098" android:icon="0x7f020121" android:name="com.happyconz.wherelive.preference.LiveSettingActivity" android:launchMode="standard" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="0x7f0b0098" android:icon="0x7f020121" android:name="com.happyconz.wherelive.preference.MoreSettingActivity" android:launchMode="standard" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:icon="0x7f020121" android:name="com.happyconz.wherelive.preference.SettingProActivity" android:taskAffinity="com.wherelive.pro" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation|screenSize" android:allowTaskReparenting="true">
<intent-filter>
<action android:name="com.happyconz.wherelive.preference.SettingActivity" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:theme="#*android:style/Theme.NoDisplay" android:name="com.happyconz.wherelive.LicenseChecker" />
<receiver android:name="com.happyconz.wherelive.recode.service.AlarmReceiver" android:process=":remote">
<intent-filter android:priority="995">
<action android:name="com.happyconz.wherelive.recode.service.alarm" />
</intent-filter>
</receiver>
<receiver android:name="com.happyconz.wherelive.receiver.AuthReceiver" android:process=":remote">
<intent-filter android:priority="998">
<action android:name="com.happyconz.wherelive.recode.service.certification" />
</intent-filter>
</receiver>
<receiver android:label="0x7f09028c" android:icon="0x7f020120" android:name="com.happyconz.wherelive.recode.widget.AutoboyWidgetProvider">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="android.intent.action.USER_PRESENT" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="0x7f070001" />
</receiver>
<service android:name="com.happyconz.wherelive.recode.service.RecorderService" android:exported="true">
<intent-filter android:priority="999">
<action android:name="com.happyconz.wherelive.recode.service.IRecorderService" />
<action android:name="com.happyconz.wherelive.RECORDER_SERVICE" />
</intent-filter>
</service>
<service android:name="com.happyconz.wherelive.recode.service.CertificationService" />
<service android:name="com.happyconz.wherelive.recode.widget.AutoboyWidgetService" />
<service android:name="com.happyconz.wherelive.video.youtube.streaming.StreamerService" />
<meta-data android:name="com.crashlytics.ApiKey" android:value="e357fa9000ab877757425745ec7b43ad971b647b" />
<meta-data android:name="com.google.android.gms.version" android:value="0x7f0e0006" />
<activity android:theme="0x7f0b0098" android:label="0x7f090211" android:name="com.happyconz.wherelive.sns.SNSSettingActivity" android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:theme="#*android:style/Theme.Translucent.NoTitleBar" android:label="0x7f09028c" android:name="com.facebook.FacebookActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize" />
<activity android:label="0x7f09028c" android:name="com.happyconz.wherelive.sns.twitter.TwitterActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="oauth" android:host="com.happyconz.wherelive.sns" />
</intent-filter>
</activity>
<activity android:label="0x7f09028c" android:name="com.happyconz.wherelive.sns.twitter.TwitterProActivity" android:taskAffinity="com.wherelive.pro" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation|screenSize" android:allowTaskReparenting="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="oauth" android:host="com.happyconz.wherelive.sns.pro" />
</intent-filter>
</activity>
<activity android:name="com.happyconz.wherelive.sns.twitter.OAuthActivity" />
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="0x7f09032a" />
<meta-data android:name="io.fabric.ApiKey" android:value="180b89f527bdd6961fab824c28327acefbae668c" />
<activity android:name="com.mikepenz.aboutlibraries.ui.LibsActivity" />
</application>
</manifest>
Or another option is;
After you found the application packagename, If the application is in the Store you can link it to the application link to Store then if it is already installed, User can hit on the 'Open' button.
So link it to:
market://search?q=pname:<package_name>
Or:
http://market.android.com/search?q=pname:<package_name>

GCM Push Notification Issue

When the gcm push notification is sent, response shows successful, but at that time app was in stopped mode so msg must be queued, but when I restart the app gcm notification does'nt get received
Manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<permission
android:name="com.example.gcm.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.example.gcm.permission.C2D_MESSAGE" />
<uses-feature
android:name="android.hardware.telephony"
android:required="false" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<!--
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
Google Maps Android API v2, but are recommended.
-->
<application
android:allowBackup="true"
android:icon="#mipmap/ic_resqlife_logo"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<activity
android:name=".SplashScreen"
android:label="#string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".UserChoice"
android:label="#string/title_activity_user_choice"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".RegFormActivity"
android:label="#string/title_activity_reg_form"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".OTPVerificationActivity"
android:label="#string/title_activity_otpverification"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".MainActivity"
android:label="#string/app_name"
android:launchMode="singleTask"
android:screenOrientation="portrait" >
</activity>
<service
android:name=".GcmIntentService"
android:exported="true" >
</service>
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="#string/google_maps_key" />
<activity
android:name=".MapsActivity"
android:label="#string/title_activity_maps"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".GooglePlayServicesActivity"
android:label="#string/title_activity_google_play_services"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".ContactsListActivity"
android:label=""
android:screenOrientation="portrait" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<receiver
android:name=".GcmBroadcastReceiver"
android:enabled="true"
android:exported="true" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.example.gcm" />
</intent-filter>
</receiver>
<activity
android:name=".AlertActivity"
android:configChanges="orientation|keyboardHidden|keyboard"
android:label="#string/title_activity_alert"
android:screenOrientation="portrait" >
</activity>
<service
android:name=".LocationService"
android:exported="true" >
</service>
<activity
android:name=".NetworkActivity"
android:label="#string/title_activity_network"
android:screenOrientation="portrait" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".UpdateNetworkActivity"
android:label="#string/title_activity_update_network" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".NetworkActivity" />
</activity>
<receiver
android:name=".ReregisterGCMReceiver"
android:enabled="true"
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REPLACED" />
<data
android:path="com.tpl.arpitgoyal.resqlife"
android:scheme="package" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<activity
android:name=".UpdateProfile"
android:label="#string/title_activity_update_profile" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".NoInternetActivity"
android:label="#string/title_activity_no_internet"
android:launchMode="singleTask" >
</activity>
<activity
android:name=".InviteActivity"
android:label="#string/title_activity_invite" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".CoordinatesActivity"
android:label="#string/title_activity_coordinates" >
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="maps.google.com" />
<data android:scheme="https" />
<data android:pathPattern="/.*" />
</intent-filter>
</activity>
<!--
<receiver
android:name=".UnInstallReceiver"
android:enabled="true"
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<data
android:path="com.tpl.arpitgoyal.resqlife"
android:scheme="package" />
</intent-filter>
</receiver>
-->
<activity
android:name=".SliderButtonActivity"
android:label="#string/title_activity_slider_button" >
</activity>
<service
android:name=".VibratorService"
android:exported="true" >
</service>
<activity
android:name=".SmsOTPVerificationActivity"
android:label="#string/title_activity_sms_otpverification" >
</activity>
<service
android:name=".OnLineService"
android:enabled="true"
android:exported="false" >
</service>
</application>

Error while uploading Android Apk to play store

I'm trying to update my android application on google play store and I got the error saying that:
Your APK cannot be analyzed using aapt. Error output:
Interrupted while waiting for aapt dump badging to finish.
I read from this and this posts but still couldn't understand the reason.
This is the error I'm getting from play store.
Update 1:
My App Manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="19" />
<permission
android:name="com.example.StaySecure.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.example.StaySecure.permission.C2D_MESSAGE" />
<!-- Custom permission for maps -->
<permission
android:name="com.example.StaySecure.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="com.example.StaySecure.permission.MAPS_RECEIVE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<uses-feature
android:name="android.hardware.telephony"
android:required="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application
android:name="com.example.StaySecure.AppController"
android:allowBackup="true"
android:debuggable="false"
android:icon="#drawable/ic_logo"
android:label="StaySecure"
android:theme="#style/AppTheme" >
<activity
android:name=".SplashScreen"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/FullscreenTheme" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.example.StaySecure.MainActivity"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.EditGeofenceActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.AddGeofenceActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.EditProfileActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.ImageSelectionActivity"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Translucent.NoTitleBar" >
</activity>
<activity
android:name="com.example.StaySecure.SelectCountryCode"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.selectContactActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name=".ViewPagerActivity"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name=".RegisterActivity"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.UserInTroubleActivity"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<activity
android:name=".FakeSwitchOffActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.FakeSwitchOff" >
</activity>
<activity
android:name="com.example.StaySecure.ParticipationCheck"
android:excludeFromRecents="true"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent" >
</activity>
<activity
android:name="com.example.StaySecure.UserIsParticipantActivity"
android:label="StaySecure"
android:noHistory="true"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<activity android:name="com.example.StaySecure.LoadImageFromServer" >
</activity>
<activity
android:name="com.example.StaySecure.CounterActivity"
android:excludeFromRecents="true"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent" >
</activity>
<activity
android:name="com.example.StaySecure.SafetyTipActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.TrackMeActivity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Darker_blue_theme_app_compat" >
</activity>
<activity
android:name="com.example.StaySecure.GetHelpOrCloseTrackMeActivity"
android:excludeFromRecents="true"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent" >
</activity>
<activity android:name="com.example.StaySecure.GetHelpOrStopGeofenceService"
android:excludeFromRecents="true"
android:label="StaySecure"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent">
</activity>
<service android:name="com.example.StaySecure.IntentService_UploadImage" >
</service>
<service android:name=".CheckScreenOnOffService" >
</service>
<service android:name=".BlockSystemPopUp" >
</service>
<service android:name=".SendSmsService" >
</service>
<service android:name=".LocationUpdateService" >
</service>
<service android:name=".TrackingUser" >
</service>
<service android:name=".GCMIntentService" >
</service>
<service android:name=".RemindRegistration" >
</service>
<service android:name=".PowerBtnPressedServiceForActivation" >
</service>
<service android:name=".UpdateMarkerService" >
</service>
<service android:name=".TrackMeUpdateLocationService" >
</service>
<service android:name="com.example.StaySecure.GeofenceLocationService" />
<service android:name="com.example.StaySecure.StaySecureLocationService" />
<!-- Geofence BroadCast Receiver -->
<receiver
android:name="com.example.StaySecure.GeofenceBroadcastReceiver"
android:exported="false" >
<intent-filter>
<action android:name="com.example.StaySecure.ACTION_GEOFENCE_RECEIVE" />
</intent-filter>
</receiver>
<receiver android:name="PowerBtnPressedReceiver" >
<intent-filter>
<action android:name="android.intent.action.SCREEN_ON" />
<action android:name="android.intent.action.SCREEN_OFF" />
<action android:name="android.Intent.ACTION_USER_PRESENT" />
</intent-filter>
</receiver>
<receiver android:name="PowerBtnPressedReceiverForActivation" >
<intent-filter>
<action android:name="android.intent.action.SCREEN_ON" />
<action android:name="android.intent.action.SCREEN_OFF" />
<action android:name="android.Intent.ACTION_USER_PRESENT" />
</intent-filter>
</receiver>
<receiver android:name="MyMessageReceiver" >
<intent-filter>
<action android:name="com.example.staysecure.incomingmsg" />
</intent-filter>
</receiver>
<!-- App Admin Receiver -->
<receiver
android:name="MyAdminReceiver"
android:permission="android.permission.BIND_DEVICE_ADMIN" >
<meta-data
android:name="android.app.device_admin"
android:resource="#xml/admin" />
<intent-filter>
<action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
</intent-filter>
</receiver>
<receiver
android:name="com.google.android.gcm.GCMBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<!-- Receives the actual messages. -->
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<!-- Receives the registration id. -->
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.example.StaySecure" />
</intent-filter>
</receiver>
<receiver android:name=".AutoReceive" >
<intent-filter>
<action android:name="android.intent.action.PHONE_STATE" />
</intent-filter>
</receiver>
<!-- BootUpReceiver -->
<receiver
android:name="BootupReceiver"
android:permission="android.permission.RECEIVE_BOOT_COMPLETED" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<!-- BootUpReceiver -->
<receiver android:name="SimMismatchedReceiver" >
<intent-filter>
<action android:name="com.example.StaySecure.SimMismatched" />
</intent-filter>
</receiver>
<!-- For fetching current location -->
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<!-- Google Api Key for maps -->
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaSyC6umJJ2DmCBxOl2fdTjOGfwiWQ8vcFen4" />
<provider
android:name="InternalStorageContentProvider"
android:authorities="com.example.StaySecure"
android:exported="true" />
</application>

What Intents does the Facebook Android app support

As far as I know, the Facebook app for android only supports a basic intent.
Does anyone know of an authoritative list of intents for facebook? It would be nice if you could just have a like intent.
Obtain the apk either:
With the Backup function of Astro File Manager. Copy the backed up apk (see /sdcard/backups/apps/) to your PC.
OR
With adb: Find out the apk path using adb shell pm path com.facebook.katana. Pull the apk from that path with e.g. adb pull /data/app/com.facebook.katana-1.apk
Use android-apktool to extract the manifest file from the Facebook.apk:
apktool.bat d Facebook.apk fbExtracted
Search for <intent-filter> tags inside the extracted AndroidManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="11090" android:versionName="1.8.4" package="com.facebook.katana"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="7" />
<supports-screens android:anyDensity="true" android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="com.facebook.katana.provider.ACCESS" />
<permission android:name="com.facebook.katana.provider.ACCESS" android:protectionLevel="signature" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<permission android:name="com.facebook.katana.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="com.facebook.katana.permission.C2D_MESSAGE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application android:theme="#android:style/Theme.Light" android:label="#string/app_name" android:icon="#drawable/icon_katana" android:name="com.facebook.katana.FacebookApplication">
<provider android:name="com.facebook.katana.provider.UserStatusesProvider" android:permission="com.facebook.katana.provider.ACCESS" android:authorities="com.facebook.katana.provider.UserStatusesProvider" />
<provider android:name="com.facebook.katana.provider.UserValuesProvider" android:permission="com.facebook.katana.provider.ACCESS" android:authorities="com.facebook.katana.provider.UserValuesProvider" />
<provider android:name="com.facebook.katana.provider.KeyValueProvider" android:permission="com.facebook.katana.provider.ACCESS" android:authorities="com.facebook.katana.provider.KeyValueProvider" />
<provider android:name="com.facebook.katana.provider.EventsProvider" android:permission="com.facebook.katana.provider.ACCESS" android:authorities="com.facebook.katana.provider.EventsProvider" />
<provider android:name="com.facebook.katana.provider.ConnectionsProvider" android:permission="com.facebook.katana.provider.ACCESS" android:authorities="com.facebook.katana.provider.ConnectionsProvider" />
<provider android:name="com.facebook.katana.provider.PagesProvider" android:permission="com.facebook.katana.provider.ACCESS" android:authorities="com.facebook.katana.provider.PagesProvider" />
<provider android:name="com.facebook.katana.provider.LoggingProvider" android:permission="com.facebook.katana.provider.ACCESS" android:authorities="com.facebook.katana.provider.LoggingProvider" />
<provider android:name="com.facebook.katana.provider.PhotosProvider" android:permission="com.facebook.katana.provider.ACCESS" android:authorities="com.facebook.katana.provider.PhotosProvider" />
<provider android:name="com.facebook.katana.provider.MailboxProvider" android:permission="com.facebook.katana.provider.ACCESS" android:authorities="com.facebook.katana.provider.MailboxProvider" />
<provider android:name="com.facebook.katana.provider.NotificationsProvider" android:permission="com.facebook.katana.provider.ACCESS" android:authorities="com.facebook.katana.provider.NotificationsProvider" />
<provider android:name="com.facebook.katana.provider.ChatHistoryProvider" android:permission="com.facebook.katana.provider.ACCESS" android:authorities="com.facebook.katana.provider.ChatHistoryProvider" />
<provider android:name="com.facebook.katana.provider.CacheProvider" android:permission="com.facebook.katana.provider.ACCESS" android:authorities="com.facebook.katana.provider.CacheProvider" />
<service android:name="com.facebook.katana.service.FacebookService" />
<service android:name="com.facebook.katana.service.BackgroundDetectionService" />
<service android:name="com.facebook.katana.service.BackgroundRequestService" />
<service android:name="com.facebook.katana.service.UploadManager" />
<service android:name="com.facebook.katana.RemoveRawContactsService" />
<service android:name="com.facebook.katana.c2dm.PushReceiver" />
<activity android:theme="#style/Theme.FacebookDark" android:label="#string/app_name" android:name="com.facebook.katana.LoginActivity" android:configChanges="keyboard|keyboardHidden|orientation" android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.NotificationsActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.media.AlbumsActivity" android:configChanges="orientation" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.BugReporter" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.media.CreateEditAlbumActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.media.PhotosActivity" android:configChanges="orientation" />
<activity android:theme="#style/Theme.FacebookDark" android:name="com.facebook.katana.activity.media.ViewPhotoActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" />
<activity android:name="com.facebook.katana.activity.media.ViewVideoActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.media.PhotoFeedbackActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:windowSoftInputMode="adjustResize" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.stream.StreamActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:windowSoftInputMode="adjustPan" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.faceweb.FacewebChromeActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.feedback.FeedbackActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:windowSoftInputMode="adjustResize" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.events.EventsActivity" android:windowSoftInputMode="adjustResize" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.events.EventBirthdaysActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.events.EventDetailsActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.events.EventGuestsActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.media.CropImageActivity" android:configChanges="orientation" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.events.EventEditActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" />
<activity android:theme="#style/Theme.Facebook" android:label="#string/home_nearby" android:name="com.facebook.katana.activity.places.FriendCheckinsActivity" android:launchMode="singleTask" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:windowSoftInputMode="adjustResize" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.places.AddPlaceActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:windowSoftInputMode="adjustResize" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.places.PlacesNearbyActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:windowSoftInputMode="adjustResize" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.places.PlacesOptInActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.places.StubPlacesActivity" android:noHistory="true" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.chat.BuddyListActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.chat.ChatConversationActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.ProfileTabHostActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/vnd.facebook.profile" android:host="com.android.contacts" />
</intent-filter>
</activity>
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.UserInfoActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.PageInfoActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.places.PlacesInfoActivity" />
<activity android:label="#string/home_settings" android:name="com.facebook.katana.SettingsActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.media.UploadPhotoActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:windowSoftInputMode="adjustResize" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.media.UploadVideoActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="video/*" />
</intent-filter>
</activity>
<activity android:theme="#style/Theme.Transparent" android:label="#string/facebook_status" android:name="com.facebook.katana.WidgetActivity" android:process="com.facebook.widget.affinity" android:taskAffinity="com.facebook.widget.affinity" android:excludeFromRecents="true" android:windowSoftInputMode="adjustResize" />
<activity android:theme="#android:style/Theme.Dialog" android:label="#string/login_about" android:name="com.facebook.katana.HtmlAboutActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.view.FacebookWebViewActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.ShareLinkActivity">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.messages.MailboxTabHostActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.messages.MailboxThreadsActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.messages.MailboxMessagesActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.messages.MessageComposeActivity" />
<activity android:theme="#style/Theme.WhiteText" android:name="com.facebook.katana.UsersTabHostActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" />
<activity android:theme="#style/Theme.WhiteText" android:name="com.facebook.katana.FriendsActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.RequestsActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.PageSearchResultsActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" />
<activity android:theme="#style/Theme.WhiteText" android:name="com.facebook.katana.PickFriendsActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.SyncContactsSetupActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.SyncContactsChangeActivity" />
<activity android:name="com.facebook.katana.IntentUriHandler">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="facebook" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="fb" />
</intent-filter>
</activity>
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.ProxyAuth" android:configChanges="locale|keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.PROXYAUTH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.profilelist.TaggedUsersActivity" />
<activity android:theme="#style/Theme.WhiteText" android:name="com.facebook.katana.activity.profilelist.FriendMultiSelectorActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.profilelist.GroupListActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.profilelist.GroupMemberListActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.ComposerActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
</activity>
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.FeedComposerActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" android:windowSoftInputMode="adjustResize" />
<receiver android:label="#string/app_name" android:name="com.facebook.katana.FacebookWidgetProvider">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="#xml/appwidget_provider" />
</receiver>
<receiver android:label="#string/app_name" android:name="com.facebook.katana.FacebookAccountReceiver">
<intent-filter>
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
</intent-filter>
</receiver>
<receiver android:label="#string/app_name" android:name="com.facebook.katana.service.method.ApiLogging" />
<receiver android:name="com.facebook.katana.c2dm.PushBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.facebook.katana" />
</intent-filter>
<intent-filter>
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.facebook.katana" />
</intent-filter>
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RETRY" />
<category android:name="com.facebook.katana" />
</intent-filter>
<intent-filter>
<action android:name="com.facebook.c2dm.send.intent.RETRY" />
<category android:name="com.facebook.katana" />
</intent-filter>
</receiver>
<receiver android:label="#string/app_name" android:name="com.facebook.katana.binding.ChatHibernateKeepalive" />
<receiver android:name="com.facebook.katana.binding.UploadManagerConnectivity">
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
<service android:name="com.facebook.katana.platform.FacebookAuthenticationService" android:exported="true">
<intent-filter>
<action android:name="android.accounts.AccountAuthenticator" />
</intent-filter>
<meta-data android:name="android.accounts.AccountAuthenticator" android:resource="#xml/authenticator" />
</service>
<service android:name="com.facebook.katana.platform.TokenRefreshService" android:enabled="true" android:exported="true" />
<service android:name="com.facebook.katana.platform.FacebookSyncAdapterService" android:exported="true">
<intent-filter>
<action android:name="android.content.SyncAdapter" />
</intent-filter>
<meta-data android:name="android.content.SyncAdapter" android:resource="#xml/syncadapter" />
<meta-data android:name="android.provider.CONTACTS_STRUCTURE" android:resource="#xml/contacts" />
</service>
<activity android:theme="#style/Theme.DialogNoTitle" android:name="com.facebook.katana.PasswordDialogActivity" />
<activity android:name="com.facebook.katana.LoginNotificationActivity" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.findfriends.LegalDisclaimerActivity" android:windowSoftInputMode="adjustResize" />
<activity android:theme="#style/Theme.Facebook" android:name="com.facebook.katana.activity.findfriends.FindFriendsActivity" android:configChanges="keyboard|keyboardHidden|navigation|orientation" android:windowSoftInputMode="adjustResize" />
<activity-alias android:name="com.android.internal.app.ResolverActivity" android:exported="true" android:targetActivity="com.facebook.katana.LoginActivity" />
</application>
</manifest>

Categories

Resources