I have changed my project package name and i'm sure that all lettes are small letters and i don't have comments in the manifest but i got
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
<?xml version="1.0" encoding="utf-8"?>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="com.worklight.androidnativepush.permission.C2D_MESSAGE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="com.myapp.android.locationapi.maps.permission.MAPS_RECEIVE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.HARDWARE_TEST"
tools:ignore="ProtectedPermissions" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-feature
android:name="android.hardware.camera.flash"
android:required="false" />
<application
android:name=".RTA"
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:largeHeap="true"
android:theme="#style/AppTheme" >
<service
android:name=".Services.OrientationService"
android:exported="false" />
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyADq1Ml1XMFdlmUHgvTtn-cT5rI3gVHC4M" />
<activity android:name="com.worklight.wlclient.ui.UIActivity" />
<activity
android:name=".Splash"
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=".Dashboard"
android:configChanges="locale"
android:label="#string/title_activity_dashboard"
android:screenOrientation="portrait" />
<activity
android:name=".Dashboard1"
android:configChanges="locale"
android:label="#string/title_activity_dashboard1"
android:launchMode="singleTask"
android:screenOrientation="portrait"
/>
<activity
android:name=".Language"
android:configChanges="locale"
android:label="#string/title_activity_language"
android:screenOrientation="portrait" />
<activity
android:name=".Kit_corner"
android:configChanges="locale"
android:label="#string/title_activity_kit_corner"
android:screenOrientation="portrait" />
<activity
android:name=".Kit_detailes"
android:configChanges="locale"
android:label="#string/title_activity_kit_detailes"
android:screenOrientation="portrait" />
<activity
android:name=".Madinati.Madinati"
android:configChanges="locale"
android:label="#string/title_activity_madinati"
android:imeOptions="flagNoExtractUi"
android:launchMode="singleTask"
android:screenOrientation="reverseLandscape" >
</activity>
<activity
android:name=".Parking.click_add"
android:configChanges="locale"
android:label="#string/title_activity_click_add"
android:screenOrientation="portrait" />
<activity
android:name=".TestAdaptersActivity"
android:label="#string/title_activity_test_adapters" />
<activity
android:name=".public_transport.view_nol_balance"
android:configChanges="locale"
android:label="#string/title_activity_view_nol_balance"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateVisible" />
<activity android:name=".pop_up.PopUp"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateVisible" />
<activity
android:name=".Base_activity"
android:configChanges="locale"
android:label="#string/title_activity_base_activity" />
<activity
android:name=".public_transport.view_my_balance"
android:configChanges="locale"
android:label="#string/title_activity_view_my_balance"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".salik.Top_up_salik"
android:configChanges="locale"
android:label="#string/title_activity_top_up_salik"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".salik.accept"
android:configChanges="locale"
android:label="#string/title_activity_accept"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" >
</activity>
<activity
android:name=".salik.choose_user"
android:configChanges="locale"
android:label="#string/title_activity_choose_user"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" >
</activity>
<activity
android:name=".public_transport.Fare_calculator"
android:configChanges="locale"
android:label="#string/title_activity_fare_calculator"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".public_transport.get_marker"
android:configChanges="locale"
android:label="#string/title_activity_get_marker"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".public_transport.get_fare"
android:configChanges="locale"
android:label="#string/title_activity_get_fare"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" >
</activity>
<activity
android:name=".Rotate_me"
android:configChanges="locale"
android:label="#string/title_activity_rotate_me"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".About_RTA.Walkthrough"
android:configChanges="locale"
android:label="#string/app_name"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".YouTubeWebView"
android:label="#string/title_activity_you_tube_web_view"
android:screenOrientation="portrait" />
<service
android:name=".Utils.GPSTracker"
android:enabled="true"
android:exported="true"
tools:ignore="ExportedService,InnerclassSeparator" />
<activity
android:name=".Parking.select_zone"
android:configChanges="locale"
android:label="#string/title_activity_select_zone"
android:screenOrientation="portrait" />
<activity
android:name=".Settings.Login"
android:configChanges="locale"
android:label="#string/title_activity_login"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".Settings.Register"
android:configChanges="locale"
android:label="#string/title_activity_register"
android:screenOrientation="portrait" />
<activity
android:name=".Parking.Add_plate"
android:configChanges="locale"
android:label="#string/title_activity_add_plate"
android:screenOrientation="portrait" />
<activity
android:name=".Settings.Myvehicles"
android:configChanges="locale"
android:label="#string/title_activity_myvehicles"
android:screenOrientation="portrait" />
<activity
android:name=".Settings.Mynol"
android:configChanges="locale"
android:label="#string/title_activity_mynol"
android:screenOrientation="portrait" />
<activity
android:name=".Settings.mysalik"
android:configChanges="locale"
android:label="#string/title_activity_mysalik"
android:screenOrientation="portrait" />
<activity
android:name="Settings.Mydrivinglicense"
android:configChanges="locale"
android:label="#string/title_activity_mydrivinglicense"
android:screenOrientation="portrait" />
<activity
android:name=".Settings.Notifications"
android:configChanges="locale"
android:label="#string/title_activity_notifications"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.View_fines_pay"
android:configChanges="locale"
android:label="#string/title_activity_view_fines_pay"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.guest_view_fines_pay"
android:configChanges="locale"
android:label="#string/title_activity_guest_view_fines_pay"
android:screenOrientation="portrait" />
<activity
android:name=".Parking.Top_up_parking_account"
android:configChanges="locale"
android:label="#string/title_activity_top_up_parking_account"
android:screenOrientation="portrait" />
<activity
android:name=".public_transport.nol_history"
android:configChanges="locale"
android:label="#string/title_activity_nol_history"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles_fines.mStore"
android:configChanges="locale"
android:label="#string/title_activity_m_store"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles_fines.Platenumber"
android:configChanges="locale"
android:label="#string/title_activity_platenumber"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.View_fines_pay_registered"
android:configChanges="locale"
android:label="#string/title_activity_view_fines_pay_registered"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.Renew_registration"
android:configChanges="locale"
android:label="#string/title_activity_renew_registration" />
<activity
android:name=".Driver.Renew_license"
android:configChanges="locale"
android:label="#string/title_activity_renew_license"
android:screenOrientation="portrait" />
<activity
android:name=".About_RTA.RTA_services"
android:configChanges="locale"
android:label="#string/title_activity_rta_services"
android:screenOrientation="portrait" />
<activity
android:name=".About_RTA.RTA_Info"
android:configChanges="locale"
android:label="#string/title_activity_rta__info"
android:screenOrientation="portrait" />
<activity
android:name=".About_RTA.Contact_RTA"
android:configChanges="locale"
android:label="#string/title_activity_contact__rt"
android:screenOrientation="portrait" />
<activity
android:name=".public_transport.TopUpNol"
android:configChanges="locale"
android:label="#string/title_activity_top_up_nol"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.GreenPoint.green_point_calc"
android:configChanges="locale"
android:label="#string/title_activity_green_point_calc"
android:screenOrientation="portrait" />
<activity
android:name=".SaveFiles"
android:configChanges="locale"
android:label="#string/title_activity_save_files"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.GreenPoint.green_calc_information"
android:configChanges="locale"
android:label="#string/title_activity_green_calc_information"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.GreenPoint.green_points_view"
android:configChanges="locale"
android:label="#string/title_activity_green_points_view"
android:screenOrientation="portrait" />
<activity
android:name=".Parking.RememberMyLocation"
android:configChanges="locale"
android:label="#string/title_activity_remember_my_location"
android:screenOrientation="portrait" />
<activity
android:name=".Driver.FAQ"
android:configChanges="locale"
android:label="#string/title_activity_faq"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles.Test_center.view_test_center"
android:configChanges="locale"
android:label="#string/title_activity_view_test_center"
android:screenOrientation="portrait" />
<activity
android:name=".salik.topUp_location.SalikLocation_center"
android:configChanges="locale"
android:label="#string/title_activity_view_test_center"
android:screenOrientation="portrait" />
<activity
android:name=".Driver.EyeTest"
android:configChanges="locale"
android:label="#string/title_activity_eye_test"
android:screenOrientation="portrait" />
<activity
android:name=".About_RTA.Techniqal"
android:configChanges="locale"
android:label="#string/title_activity_techniqal"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden" />
<activity
android:name=".Vehicles.Test_center.Vehicle_test_center"
android:configChanges="locale"
android:label="#string/title_activity_eye_test"
android:screenOrientation="portrait" />
<activity
android:name=".About_RTA.Feedback"
android:configChanges="locale"
android:label="#string/title_activity_feedback" />
<activity
android:name=".Parking.top_up_parking.nnnnn"
android:configChanges="locale"
android:label="#string/title_activity_nnnnn" />
<activity
android:name=".About_RTA.All_RTA_Apps"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".ParkingZoneAndTiming"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".PayParkingFeesActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".FAQNolActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".Vehicles_fines.FAQ_Vehicles"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".FAQDriversAndLicenseActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".FAQSalikActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".SalikTopUpLocationActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".RTA_termAndConditions"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".HowToPayFinesDriversAndLicensingActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".HowToPayFinesActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".HowToPayParkingFinesActivity"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".MetroTimeTableActivity"
android:configChanges="locale"
android:label="#string/title_activity_metro_time_table"
android:screenOrientation="portrait" />
<activity
android:name=".DubaiBusGuidesActivity"
android:configChanges="locale"
android:label="#string/title_activity_dubai_bus_guides"
android:screenOrientation="portrait" />
<activity
android:name=".ComingSoon"
android:configChanges="locale"
android:label="#string/Comming_soon"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".ErrorConnectionPopUP"
android:label="#string/Comming_soon"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".Vehicles.TrafficFileNumberInfo"
android:configChanges="locale"
android:label="#string/title_activity_traffic_file_number_info"
android:screenOrientation="portrait" />
<activity
android:name=".LostAndFoundActivity"
android:configChanges="locale"
android:label="#string/title_activity_lost_and_found"
android:screenOrientation="portrait" />
<activity
android:name=".WayToTopUpYouSalik"
android:configChanges="locale"
android:label="#string/title_activity_way_to_top_up_you_salik"
android:screenOrientation="portrait" />
<activity
android:name=".LicenseType"
android:configChanges="locale"
android:label="#string/title_activity_license_type"
android:screenOrientation="portrait" />
<activity
android:name="Point_of_Interest.Point_of_interest"
android:configChanges="locale"
android:label="#string/title_activity_point_of_interest"
android:screenOrientation="portrait" />
<activity
android:name=".NotExpired"
android:configChanges="locale"
android:label="#string/title_activity_not_expired"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".Vehicles.Retry_again"
android:configChanges="locale"
android:label="#string/title_activity_retry_again"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".DubaiTramGuidesActivity"
android:configChanges="locale"
android:label="#string/title_activity_dubai_tram_guides" />
<activity
android:name=".PTLostAndFoundActivity"
android:configChanges="locale"
android:label="#string/title_activity_ptlost_and_found" />
<activity
android:name=".Vehicles.CollectionMap"
android:configChanges="locale"
android:screenOrientation="portrait" />
<activity
android:name=".kit_hello_activity"
android:configChanges="locale"
android:label="#string/title_activity_kit_hello_activity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4"></activity>
<activity
android:name=".dashboard_hello_activity"
android:configChanges="locale"
android:label="#string/title_title_dashboard_hello_activity"
android:screenOrientation="portrait"
android:theme="#style/Theme.Transparent4"></activity>
<activity
android:name=".Madinati.Madinati_Map"
android:configChanges="locale"
android:label="#string/title_activity_madinati__map"
android:screenOrientation="reverseLandscape" />
<activity
android:name=".Madinati.Submit_Done"
android:configChanges="locale"
android:label="#string/title_activity_submit__done"
android:screenOrientation="reverseLandscape"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".ALHares.Hares_Submit_Done"
android:configChanges="locale"
android:label="#string/title_activity_hares__submit__done"
android:screenOrientation="reverseLandscape" />
<activity
android:name=".Parking.ClickAndParkPopUp"
android:configChanges="locale"
android:label="#string/title_activity_click_and_park_pop_up"
android:theme="#style/Theme.Transparent4" />
<activity
android:name=".About_RTA.RTAPrivacyPolicies"
android:label="#string/title_activity_rtaprivacy_policies" >
</activity>
<receiver android:name=".Recievers.SmsListener">
<intent-filter>
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
</receiver>
<activity android:name=".Vehicles_fines.License_type" >
</activity>
</application>
any help ?
Your issue is that some of your activities are not prefixed with a .
Related
the android:exported="true" existe in the AndroidManifest.xml file but always i have the same problem
Error: android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details. AndroidV2.app main manifest (this file)
Manifest.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.bfi.bsic.togo">
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<application
android:name=".app.FrontOfficeMobileApp"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:largeHeap="true"
android:requestLegacyExternalStorage="true"
android:supportsRtl="true"
android:theme="#style/AppTheme.NoActionBar.FullScreen"
android:usesCleartextTraffic="true"
tools:ignore="GoogleAppIndexingWarning"
tools:replace="android:icon,android:theme">
<activity
android:name="com.bfi.bsic.app.activity.SplashScreen"
android:label="#string/app_name"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".activity.NitaWithdrawActivity"
/>
<activity
android:name=".activity.NitaReloadActivity"
/>
<activity
android:name=".activity.ContributionSunuHistoryActivity"
/>
<activity
android:name=".activity.ContributionSunuActivity"
/>
<activity
android:name=".activity.GimCardEnrollmentActivity"
/>
<activity
android:name=".activity.GimacRecivedRemitanceActivity"
/>
<activity
android:name=".activity.GTPCardTransferActivity"
/>
<activity
android:name=".activity.GTPCardDepositActivity"
/>
<activity
android:name=".activity.PrepaidCardMovementsActivity"
/>
<activity
android:name=".activity.PrepaidCardBalanceActivity"
/>
<activity
android:name=".activity.CardEnrollmentActivity"
/>
<activity
android:name=".activity.SonabelPrePayActiviy"
/>
<activity
android:name=".activity.ExpressoB2WActivity"
/>
<activity
android:name=".activity.SonabelHistoryActiviy"
/>
<activity
android:name=".activity.SonabelActiviy"
/>
<activity
android:name=".activity.WithdrawWithoutCardActivity"
/>
<activity
android:name=".activity.GimacQRPaymentActivity"
/>
<activity
android:name=".activity.GimacTransferActivity"
/>
<activity
android:name=".activity.GimacActivity"
/>
<activity
android:name=".activity.MtnGNWithdrawActivity"
/>
<activity
android:name=".activity.MtnGNReloadActivity"
/>
<activity
android:name=".activity.MoovTogoW2BActiviy"
/>
<activity
android:name=".activity.MoovTogoB2WActiviy"
/>
<activity
android:name=".activity.MoovActiviy"
/>
<activity
android:name=".activity.DgiHistoryActiviy"
/>
<activity
android:name=".activity.AddBeneficiaryActivity"
/>
<activity android:name=".activity.DgiActiviy"
/>
<activity android:name=".activity.OribaReloadHistoryActivity"
/>
<activity android:name=".activity.OribaReloadActivity"
/>
<activity android:name=".activity.MtnReloadActivity"
/>
<activity android:name=".activity.MtnWithdrawActivity"
/>
<activity android:name=".activity.CnamDuplicateActiviy"
/>
<activity android:name=".activity.CnamHistoryActiviy"
/>
<activity android:name=".activity.CnamActiviy"
/>
<activity android:name=".activity.CnpsHistoryActiviy"
/>
<activity android:name=".activity.ConsultationTaxesPaidActivity"
/>
<activity android:name=".activity.PayingTaxesActivity"
/>
<activity android:name=".activity.WalletMobileMoneyActivity"
/>
<activity android:name=".activity.TransferPermanentActivity"
/>
<activity android:name=".activity.PrepaidCardWithdrawActivity"
/>
<activity android:name=".activity.MobileMoneyActivity"
/>
<activity android:name=".activity.PrepaidCardDepositActivity"
/>
<activity android:name=".activity.ReceivedMultipleDirectDebitActivity"
/>
<activity android:name=".activity.ContributionHistoryActivity"
/>
<activity android:name=".activity.HistoryContributionActivity"
/>
<activity android:name=".activity.TransactionConsultationActivity"
/>
<activity android:name=".activity.CheckBookBankRequestActivity"
/>
<activity
android:name="com.bfi.bsic.app.activity.SelectAppActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar.FullScreen" />
<activity
android:name="com.bfi.bsic.app.activity.activity.SelectLanguageActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar.FullScreen" /> <!-- Mobile Banking Activities -->
<activity
android:name=".activity.CreateNewMessagingActivity"
android:label="#string/title_activity_create_messanging"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.MultipleDirectDebitActivity"
android:label="#string/prepaid_card_withdraw"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.ContributionActivity"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.Cnps_Activiy"
android:label="#string/cnps"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.ColowsoWithdrawActivity"
android:label="#string/withdraCard"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.ColowsoDepositActivity"
android:label="#string/depositCard"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.PunctualTransactionActivity"
android:label="#string/transactions"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.ChatMessagingActivity"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.MessagingActivity"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.TermDepositActivity"
android:label="#string/title_activity_term_deposit"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CheckBankAcivity"
android:label="#string/checkBank"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CheckNewBankAcivity"
android:label="#string/checkBank"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.HomeSlidesActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar.FullScreen" />
<activity
android:name=".activity.LoanActivity"
android:label="#string/title_activity_loan"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.PaymentsPlanActivity"
android:label="#string/title_activity_payment_plan"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.LoginActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.PinCodeActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.PDFViewActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.E_Document_Activity"
android:label="E_Documents"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.E_All_Document_Activity"
android:label="E_Documents"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.SetTermeDeposit"
android:label="#string/termedeposit"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.TombeAnticipeActivity"
android:label="#string/tombeanticipe"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.Request_Disposition_Activity"
android:label="#string/disposition"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<meta-data
android:name="com.onesignal.NotificationOpened.DEFAULT"
android:value="DISABLE" />
<activity
android:name=".activity.Subscribe3_Activity"
android:label="Inscription"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.Subscribe4_Activity"
android:label="Inscription"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.Subscribe2_Activity"
android:label="Inscription"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.SubscribeActivity"
android:label="Inscription"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.RelationInActivity1"
android:label="#string/relation_in"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.RelationInActivity2"
android:label="#string/relation_in"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.RelationInActivity3"
android:label="#string/relation_in"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.MapsActivity"
android:label="#string/title_activity_maps"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CreditRequestConsultActivity"
android:label="#string/list_request_credit"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CreditRequestInfoActivity"
android:label="#string/modify_request_credit"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CashWithdrawalActivity"
android:label="#string/operation_cash_withdrawal"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.CreditRequestTrackActivity"
android:label="#string/state_credit_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.WesternUnionActivity"
android:label="#string/operation_western_union"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.TransactionActivityInternational"
android:label="#string/transferInternational"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CertifiedAccountStatementActivity"
android:label="#string/operation_certified_account_statement"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.PrepaidCardActivity"
android:label="#string/operation_prepaid_card"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.MobileCreditActivity"
android:label="#string/operation_bgfi_mobile"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.BgfiExpressActivity"
android:label="#string/operation_fast_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.CurrencyExchangeActivity"
android:label="#string/operation_currency_exchange"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SendMoneyActivity"
android:label="#string/operation_money_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.BankInsuranceActivity"
android:label="#string/operation_bank_insurance"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.CheckRemittanceActivity"
android:label="#string/operation_check_remitance"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.AddCheckActivity"
android:label="#string/operation_check_attach"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.BearerCheckActivity"
android:label="#string/operation_bearer_check_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SuggestionAndComplaintActivity"
android:label="#string/operation_complaint"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SendMoneyExternalActivity"
android:label="#string/money_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SendMoneyMobileMoneyActivity"
android:label="#string/mobile_money_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SendMoneyExternalHistoryActivity"
android:label="#string/consult_money_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.LockCheckExternalActivity"
android:label="#string/operation_lock_checkbook_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.ChatKitActivity"
android:label="#string/chat_kit_activity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.PermanentSendMoneyExternalHistoryActivity"
android:label="#string/history_permanent_money_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.PermanentSendMoneyExternalActivity"
android:label="#string/permanent_money_transfer"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.BeneficiaryActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.LockCardActivity"
android:label="#string/operation_lock_card"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.BalanceAndMovementsActivity"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.MouvementsActivity"
android:label="#string/operation_statements_heading"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.NextMovementActivity"
android:label="#string/operation_next_statements_heading"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.CashDepositActivity"
android:label="#string/operation_cash_deposit"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.CheckBookRequestActivity"
android:label="#string/operation_checkbook_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.LockCheckActivity"
android:label="#string/operation_lock_check"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.LockCardCallCenterActivity"
android:label="#string/operation_lock_card"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.NotificationActivity"
android:label="#string/operation_notification"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.HomeActivity"
android:label="#string/app_name"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.PrintTicketActivity"
android:label="#string/operation_list"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.TicketNumberActivity"
android:label="#string/ticket"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CardRequestActivity"
android:label="#string/operation_card_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.TrackCardRequestActivity"
android:label="#string/operation_track_card_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.TrackRequestActivity"
android:label="#string/operation_track_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".fingerprint.FingerprintActivity"
android:label="Fingerprint"
android:screenOrientation="portrait" />
<activity
android:name=".activity.TrackCheckBookRequestActivity"
android:label="#string/operation_track_check_book_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.ListCardActivity"
android:label="#string/operation_card_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.AppointmentActivity"
android:label="#string/operation_appointment_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SuggestionActivity"
android:label="#string/operation_suggestion_request"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.ProfileActivity"
android:label="#string/operation_profile"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.PasswordManagmentActivity"
android:label="#string/operation_manage_password"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.IncreaseCreditCardCeilingActivity"
android:label="#string/operation_increase_credit_card_ceiling"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".activity.SettingsActivity"
android:label="#string/title_activity_settings" />
<activity
android:name=".activity.LoadingActivity"
android:label="#string/title_activity_loading"
android:theme="#style/AppTheme.NoActionBar.FullScreen" />
<activity
android:name=".activity.ConnectedDevicesActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" /> <!-- Mobile Money Activities -->
<activity
android:name="com.bfi.bsic.mobilemoney.activity.PasswordManagmentActivity"
android:label="#string/operation_manage_password"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name="com.bfi.bsic.mobilemoney.activity.PinCodeActivity"
android:theme="#style/Theme.MyDialog" /> <!-- android:theme="#style/Theme.MaterialComponents.Light.Dialog" -->
<activity
android:name="com.bfi.bsic.mobilemoney.activity.ProfileActivity"
android:label="#string/menu_profile"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name="com.bfi.bsic.mobilemoney.activity.LoginActivity"
android:screenOrientation="portrait" />
<activity
android:name="com.bfi.bsic.mobilemoney.activity.SubscribeActivity"
android:label="#string/operation_subscribe"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name="com.bfi.bsic.mobilemoney.activity.HomeActivity"
android:screenOrientation="portrait" />
<activity
android:name="com.bfi.bsic.mobilemoney.activity.WhitePinCodeActivity"
android:theme="#style/AppTheme.NoActionBar.FullScreen" />
<activity
android:name="com.bfi.bsic.mobilemoney.activity.QrCodeScannerActivity"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.QrCodeScannerActivity"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.TransactionActivity"
android:label="#string/transfer"
android:parentActivityName=".activity.BalanceAndMovementsActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CardActivity"
android:label="#string/card"
android:parentActivityName=".activity.BalanceAndMovementsActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CreditRequestActivity"
android:label="#string/Credit"
android:parentActivityName=".activity.BalanceAndMovementsActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.CheckActivity"
android:label="#string/checkk"
android:parentActivityName=".activity.BalanceAndMovementsActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.ContactActivity"
android:parentActivityName=".activity.BalanceAndMovementsActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".activity.HistoryAllTransactionNational"
android:label="#string/consult_money_transfer"
android:parentActivityName=".activity.BalanceAndMovementsActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
</application>
</manifest>
merged manifest
Downgrade targetSdkVersion31 to 30 or 29 and see if it helps
Am facing this issue and am at beginner lever. Please look the code and help me.
Check the image for reference https://ibb.co/HnZtNPz
I had removed one file from the Onesignal notifications, https://ibb.co/PDwC1BZ . I can give you my pc remote access if you want to check the code.
I even tried adding android:exported:true/false in evey activity but it didn't helped me out
Here is my AndroidMainfest.xml https://pastebin.com/UiCbLnuj
<?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.divinetechs.quiz">
<uses-feature
android:name="android.hardware.camera2.full"
android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-feature
android:name="android.hardware.camera.flash"
android:required="false" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="29" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-feature
android:name="android.hardware.wifi"
android:required="true" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<application
android:name=".Util.MyApp"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:requestLegacyExternalStorage="true"
android:roundIcon="#mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="#style/AppTheme"
android:usesCleartextTraffic="true"
tools:replace="android:allowBackup,android:label">
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="#string/admob_main_id" />
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" /> <!-- TODO: Replace with your real AdMob app ID -->
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/facebook_app_id" />
<provider
android:name="com.facebook.FacebookContentProvider"
android:authorities="com.facebook.FacebookContentProvider${applicationId}"
android:exported="true" />
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="#string/app_name" />
<activity
android:name="com.facebook.CustomTabActivity"
android:exported="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="#string/fb_login_protocol_scheme" />
</intent-filter>
</activity>
<activity
android:name=".Activity.SplashScreen"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:theme="#style/WelcomeTheme"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Activity.WelcomeActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:label="#string/welcome_slides"
android:screenOrientation="portrait"
android:theme="#style/WelcomeTheme" />
<activity
android:name=".Activity.MainActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Login"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustPan" />
<activity
android:name=".Activity.Registration"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustPan" />
<activity
android:name=".OTPLogin.SendOTP"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustPan" />
<activity
android:name=".OTPLogin.OTPVerification"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustPan" />
<activity
android:name=".Activity.PermissionActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Instruction"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Notifications"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.AboutUs"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.DailyLoginChallenge"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.SpinAndWin"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.QuestionAnswer"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.AddQuestion"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Category"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.LevelResult"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.LevelSelection"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.PractiseQuiz.PractiseByLevel"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.PractiseQuiz.PractiseQueAns"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.PractiseQuiz.PractiseLeaderBoard"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.LeaderBoardActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Profile"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.ProfileUpdate"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:theme="#style/Base.Theme.AppCompat"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".Activity.WalletActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.WithdrawHistory"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.WithdrawRequest"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.ReferAndEarn"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Settings"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Statistics"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Contest.Contests"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Contest.ContestUpcoming"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Contest.ContestQueAns"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Contest.ContestQueReview"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.Contest.ContestLeaderBoard"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.UserLeaderBoard"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<activity
android:name=".Activity.ForgotActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustPan" />
<activity
android:name=".Activity.Subscriptions"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:screenOrientation="portrait" />
<!--
<service
android:name=".PushNotification.NotificationExtenderExample"
android:permission="android.permission.BIND_JOB_SERVICE"
android:exported="false">
<intent-filter>
<action android:name="com.onesignal.NotificationExtender" />
</intent-filter>
</service>
<service android:name=".PushNotification.MyFirebaseMessagingService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<service android:name=".PushNotification.MyFirebaseInstanceIDService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service> Firebase Notifications -->
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="Description" />
<!-- ./Firebase Notifications -->
<!--Change package name in file_paths.xml file in res ==> xml ==> file_paths.xml-->
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="#xml/file_paths" />
</provider>
</application>
<!--Add below queries for Android 11-->
<queries>
<package android:name="com.facebook.katana" />
</queries>
<queries>
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
</queries>
</manifest>
Thank You
adding library in gradle is
compile 'com.twilio:chat-android:0.12.1'
and sync then getting error as
Error:Execution failed for task ':app:processDebugManifest'.
<Manifest merger failed with multiple errors, see logs
versions i am targetting
` defaultConfig {
multiDexEnabled true
applicationId "com.app.ommo"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
in manifest file i am not changing any code and only when i put above library into gradle i am getting that error. my manifest file is.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.app.ommo">
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-feature android:name="android.hardware.location.gps" />
<application
android:allowBackup="false"
android:icon="#drawable/ommo"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme.Red">
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<activity
android:name=".jockey.audio.RecorderActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan">
<!--<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>-->
</activity>
<activity android:name=".activity.SplashScreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<data
android:host="www.rajasekher.com"
android:scheme="http" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="t4jsample"
android:scheme="oauth" />
</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:host="litestcalback"
android:scheme="x-oauthflow-linkedin" />
</intent-filter>
</activity>
<service android:name=".service.MyService" />
<service android:name=".service.UpdateUserLatLang_Service" />
<service android:name=".service.Attended_Service" />
<service android:name=".service.DownloadService" />
<activity android:name="com.facebook.FacebookActivity" />
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/APP_ID" />
<!--
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="#string/google_map_api_key" />
-->
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="#string/google_place_api" />
<activity
android:name=".thirdpartylib.TwitWebViewActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activity.LoginActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activity.ForgetPasswordActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".activity.RegistrationActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
<activity
android:name=".activity.SettingPage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.TermsandConditions"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.PrivacyPolicy"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.UserAddressListPage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.AddressPostActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.UserReviewsandRating"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.AppLanguageSetting"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.BaseActivity"
android:label="#string/title_activity_base"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.CreditCardDetails"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.PaymentActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.WalletActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.WalletAmountAddActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.UserServicesListActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.AddandEditUserServicesActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.Service_Individual_Details"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".activity.BookAppointmet_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Service_UserProfileActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.ProfileActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Availability_Post_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.FollowList_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.BookingsListingActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.BookingIndividualDetails"
android:screenOrientation="portrait" />
<activity
android:name=".activity.SaloonExpertsListActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Reschedule_Booking_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.User_Customer_Listing"
android:screenOrientation="portrait" />
<activity
android:name=".activity.User_Services_Availability_Listing"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Customers_Add_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.UsersListActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Review_ListingActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Availability_Subscription_ListingActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.User_Subscription_ListingActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Portfolio_Service_Provider_ListingActivity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Portfolio_Add_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Refer_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Report_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Post_Discounts_Activity"
android:screenOrientation="portrait" />
<activity
android:name=".activity.Discount_Listing_Activity"
android:screenOrientation="portrait" />
<!-- ===================== Jockey Activities ===================== -->
<activity
android:name=".jockey.activity.UserActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.CarDetailsPost"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.JockyDriverHomePage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.CarListviewProfilePage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.UserTripHistoryActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.DriverSidePickUpList"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.JockySettingPage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.DriverConfirmRide"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.DriverSideTrackingPage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.JockyProfileActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.DriverTripHistoryActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.InternetConnectionCheck"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.StartRide"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".jockey.activity.UserSideTrackingPage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity android:name=".jockey.activity.UserHome_Jockey" />
<activity android:name=".jockey.activity.DriverList_SwipingCards" />
<activity
android:name=".activity.ChatActivity45"
android:screenOrientation="portrait"/>
<activity
android:name=".jockey.activity.BrainTreeMainActivity"
android:screenOrientation="portrait"/>
<activity
android:name="com.braintreepayments.api.BraintreeBrowserSwitchActivity"
android:launchMode="singleTask">
<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="${applicationId}.braintree" />
</intent-filter>
</activity>
</application>
please tell me what i have to do?
here problem is my minSdkVersion is 15. And twilio chat minSdkVersion is 19.
So i got error. so I changed my minSdkVersion to 19 and now working fine.
I opened play store app on my tab has os jelly bean has option of downloading but another tab contain kitkat os saying app version is incompatible with this device. I am very confused. Image link of tab is this
https://www.dropbox.com/s/m2wf2ucm72lwquc/IMAG1827%20%281%29.jpg?dl=0
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.tact.sec"
android:installLocation="auto"
>
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true"
android:xlargeScreens="true"
/>
<uses-feature
android:glEsVersion="0x00020000"
android:required="false" />
<uses-permission
android:name="android.permission.INTERNET"
android:required="false" />
<uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE"
android:required="false" />
<uses-permission
android:name="android.permission.WRITE_CONTACTS"
android:required="false" />
<uses-permission
android:name="android.permission.CALL_PHONE"
android:required="false" />
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"
android:required="false" />
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"
android:required="false" />
<application
android:name=".App"
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme">
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="#string/google_api" />
<activity
android:name=".Splash"
android:screenOrientation="portrait"
android:theme="#style/Theme.TranslucentStatus">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".VoterSearch"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".Dashboard"
android:screenOrientation="portrait" />
<activity
android:name=".ULBVoter"
android:screenOrientation="portrait" />
<activity
android:name=".PrintSlip"
android:screenOrientation="portrait" />
<activity
android:name=".ContactUs"
android:screenOrientation="portrait" />
<activity
android:name=".AboutUs"
android:screenOrientation="portrait" />
<activity
android:name=".Circulars"
android:screenOrientation="portrait" />
<activity
android:name=".CircularPdf"
android:screenOrientation="portrait" />
<activity
android:name=".PhotoAlbum"
android:screenOrientation="portrait" />
<activity
android:name=".PhotoGallery"
android:screenOrientation="portrait" />
<activity
android:name=".MediaAlbum"
android:screenOrientation="portrait" />
<activity
android:name=".MediaGallery"
android:screenOrientation="portrait" />
<activity
android:name=".VideoGalleryActivity"
android:screenOrientation="portrait" />
<activity
android:name=".VideoPlayActivity"
android:screenOrientation="portrait" />
<activity
android:name=".PRIVoterSearch"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".PRIVoter"
android:screenOrientation="portrait" />
<activity
android:name=".PoliticalParty"
android:screenOrientation="portrait" />
<activity
android:name=".PriVoterSlip"
android:screenOrientation="portrait" />
<activity
android:name=".BLOROSOList"
android:screenOrientation="portrait" />
<activity
android:name=".SearchBLOROSO"
android:screenOrientation="portrait" />
<activity
android:name=".PRIVotingResultSearch"
android:screenOrientation="portrait" />
<activity
android:name=".PRIVotingResult"
android:screenOrientation="portrait" />
<activity
android:name=".CommissionersDesk"
android:screenOrientation="portrait" />
<activity android:name=".PRISingleResultCase" />
<activity android:name=".PRIGPWardWinners" />
<activity
android:name=".GISMapMarker"
android:screenOrientation="portrait" />
<activity
android:name=".SearchPPollingCenterMap"
android:screenOrientation="portrait" />
<activity
android:name=".ImportantForms"
android:screenOrientation="portrait" />
<activity
android:name=".ULBPSummary"
android:screenOrientation="portrait" />
<activity
android:name=".PriStats"
android:screenOrientation="portrait" />
<activity
android:name=".Publications"
android:screenOrientation="portrait" />
<activity
android:name=".PollingPercentageGPPG"
android:screenOrientation="portrait" />
<activity
android:name=".PRIReservationResult"
android:screenOrientation="portrait" />
<activity
android:name=".PRIReservationSearch"
android:screenOrientation="portrait" />
<activity
android:name=".WinnerList"
android:screenOrientation="portrait" />
<activity
android:name=".WinnerListShow"
android:screenOrientation="portrait" />
<activity
android:name=".PressRelease"
android:screenOrientation="portrait" />
<activity
android:name=".HorizontalBarChartActivity"
android:screenOrientation="landscape" />
<activity
android:name=".ActAndRule"
android:screenOrientation="portrait" />
<activity
android:name=".ActAndRuleListShow"
android:screenOrientation="portrait" />
<activity
android:name=".MobileSelectULBStats"
android:screenOrientation="portrait" />
<activity
android:name=".ULBStats"
android:screenOrientation="portrait" />
<activity
android:name=".SingleNewsView"
android:screenOrientation="portrait" />
<activity
android:name=".NewsList"
android:screenOrientation="portrait" />
<activity
android:name=".ElectionSymbol"
android:screenOrientation="portrait" />
<activity
android:name=".DistrictPlanningCommitteeActivity"
android:screenOrientation="portrait" />
<activity
android:name=".SingleNewsPdf"
android:screenOrientation="portrait" />
<activity
android:name=".LoadOrgnizationalStructure"
android:screenOrientation="portrait" />
<activity
android:name=".DistrictOffice"
android:screenOrientation="portrait" />
<activity
android:name=".DistrictOfficers"
android:screenOrientation="portrait" />
<activity
android:name=".Tenders"
android:screenOrientation="portrait" />
<activity
android:name=".SearchPPollingCenterULBMap"
android:screenOrientation="portrait" />
<activity
android:name=".GISULBMapMarker"
android:screenOrientation="portrait" />
<activity
android:name=".NewsActivity"
android:screenOrientation="portrait"
>
<intent-filter>
<action android:name="NewsActivity" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
/>
<service android:name="fcm.MyFirebaseMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<service android:name="fcm.MyFirebaseInstanceIDService">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service>
</application>
</manifest>
In the attached screenshot, it shows designed for phone, which means that it is supported by phone only.
Reason might be like the app does not make use of Honeycomb-specific features, which are included to support android tablets.
I'm working in news feed like activity which contain list view. The list view contains multiple videos, When i click the video view i open another activity and play the video in fullscreen mode. When i back pressed the activity cannot move to previous activity which contain listview.
when i pressed back button the same activity loads it doesn't go to
previous activity
Even i try
finish()
moveTaskToBack(true);
But no use....
Following codes are i have used
ListviewActivity
Intent intent = new Intent(MainActivity.this, VideoActivity.class);
intent.putExtra("VideoURL", MY_VIDEO_URL);
startActivity(intent);
VideoActivity
public class VideoActivity extends Activity {
VideoView videoSurface;
ProgressDialog pDialog;
#Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.video_activity);
ToastMsg.displayShortToastMsg("CREATE");
String videoUrl = getIntent().getStringExtra("VideoURL");
pDialog = new ProgressDialog(VideoActivity.this);
pDialog.setMessage("Loading Please Wait...");
pDialog.setIndeterminate(false);
pDialog.setCancelable(false);
pDialog.show();
videoSurface = (VideoView) findViewById(R.id.videoSurface);
try {
// Start the MediaController
MediaController mediacontroller = new MediaController(
VideoActivity.this);
mediacontroller.setAnchorView(videoSurface);
// Get the URL from String VideoURL
Uri video = Uri.parse(videoUrl);
videoSurface.setMediaController(mediacontroller);
videoSurface.setVideoURI(video);
} catch (Exception e) {
Log.e("Error", e.getMessage());
e.printStackTrace();
}
videoSurface.requestFocus();
videoSurface.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {
// Close the progress bar and play the video
public void onPrepared(MediaPlayer mp) {
pDialog.dismiss();
videoSurface.start();
}
});
}
#Override
public void onBackPressed() {
super.onBackPressed();
}
}
My Manifest File
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:uses-implied-permission="http://schemas.android.com/apk/res-
auto"
package="com.stage.lookara"
android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-feature android:name="android.hardware.camera" />
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<application
android:name=".app.AppController"
android:allowBackup="true"
android:configChanges="orientation|keyboardHidden|screenSize"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/Theme.Social">
<activity
android:name=".DashBoard"
android:label="#string/app_name"
android:exported="true"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER"
/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT"
/>
<data android:host="www.youtube.com"
android:mimeType="text/*" />
</intent-filter>
</activity>
<activity
android:name=".SettingsPage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".Search"
android:screenOrientation="portrait" />
<activity
android:name=".LookaraNotification"
android:screenOrientation="portrait" />
<activity
android:name=".Login"
android:noHistory="true"
android:screenOrientation="portrait" />
<activity
android:name=".social.SocialActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan|adjustResize" />
<activity
android:name=".social.Comment"
android:screenOrientation="portrait" />
<activity
android:name=".social.ReplyComment"
android:screenOrientation="portrait" />
<activity
android:name=".social.SinglePost"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.DeviceDefault.Light.DialogWhenLarge.NoActionBar" />
<activity
android:name=".social.Profile"
android:screenOrientation="portrait" />
<activity
android:name=".social.FriendProfileView"
android:screenOrientation="portrait" />
<activity
android:name=".social.Friends"
android:screenOrientation="portrait" />
<activity
android:name=".social.IndividualChat"
android:screenOrientation="portrait" />
<activity
android:name=".social.Photos"
android:screenOrientation="portrait" />
<activity
android:name=".social.AlbumViewer"
android:screenOrientation="portrait" />
<activity
android:name=".social.VideoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"/>
<activity
android:name=".social.Event"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.JournalActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.SocialEditEvents"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.SocialFollowers"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.SingleEvent"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.Message"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".social.GalleryView"
android:screenOrientation="portrait" />
<activity
android:name=".social.Channel"
android:configChanges="orientation|keyboardHidden|screenSize"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.MyChannel"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.ChannelCreateForm"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.ChannelMembers"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.ReportDetails"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.InvitesList"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.OtherUserChannelList"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.ChannelProfilePage"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".social.Ask"
android:screenOrientation="portrait" />
<activity
android:name=".social.AskPost"
android:screenOrientation="portrait" />
<activity
android:name=".social.Journal"
android:screenOrientation="portrait" />
<activity
android:name=".PreviewActivity"
android:screenOrientation="portrait" />
<activity
android:name=".social.ChatMessages"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize|adjustPan" />f
<activity
android:name=".social.CreateSocial"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize|adjustPan" />
<activity
android:name=".social.OtherUserFriends"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.ProfessionalSearch"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.ProfessionalActivity"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.CreateProfessional"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".professinal.ProfessionalFollowers"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.ProfessionalJournals"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.ProfessionalConnections"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.FindProfessional"
android:screenOrientation="portrait" />
<activity
android:name=".professinal.ProfessionalMessage"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".professinal.ProfessionalProfile"
android:screenOrientation="portrait" />
<activity
android:name=".common.Reviews"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".bussiness.BusinessSearch"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.Partners"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessSettings"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.CreateBusiness"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden" />
<activity
android:name=".bussiness.BusinessFollowers"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessJournals"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessList"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessMessage"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessProfile"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessOverView"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.BusinessSpecialOffer"
android:screenOrientation="portrait" />
<activity
android:name=".bussiness.ContactDetails"
android:screenOrientation="portrait" />
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden
|screenLayout|screenSize|orientation"
android:theme="#android:style/Theme.Translucent.NoTitleBar"
/>
<activity
android:name="com.darsh.multipleimageselect.
activities.AlbumSelectActivity"
android:theme="#style/MultipleImageSelectTheme">
<intent-filter>
<category android:name="android.intent.category.DEFAULT"
/>
</intent-filter>
</activity>
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="#string/FB_APP_ID" />
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<receiver
android:name=".NetworkChangeReceiver"
android:label="NetworkChangeReceiver">
<intent-filter>
<action
android:name="android.net.conn.CONNECTIVITY_CHANGE" />
<action
android:name="android.net.wifi.WIFI_STATE_CHANGED" />
</intent-filter>
</receiver>
<service android:name=".common.LookaraService" />
<service android:name=".common.LookaraUploadService" />
</application>
</manifest>
Try with adding the following into manifest.
<activity
android:name=". VideoActivity"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity"/>
</activity>
Please check if you have added meta-data
<activity
android:name=".VideoActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="YOUR_PAKAGE_NAME.VideoListActivity" />
</activity>
for your VideoActivity in Manifest file.
VideoView may consumes the ACTION_DOWN event, and thus KEYCODE_BACK never fires into the dispatchKeyEvent().
From Context
use this code in your activity:
videoSurface.setMediaController(new MediaController(this){
public boolean dispatchKeyEvent(KeyEvent event)
{
if (event.getKeyCode() == KeyEvent.KEYCODE_BACK)
((Activity) getContext()).finish(); //finish current activity
return super.dispatchKeyEvent(event);
}
});
Try this :-
videoSurface.setMediaController(new MediaController(this){
public boolean dispatchKeyEvent(KeyEvent event){
if (event.getKeyCode() == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_UP)
finish();
return super.dispatchKeyEvent(event);
}
});