Category : android-activity

aapt can not get activity in douyin.apk i use terminal to dump apk.code below. .aapt.exe dump badging .dy.apk I get his AndroidMainfesist.xml <activity-alias android:theme="@style/__RES_2131493296" android:name="com.ss.android.ugc.aweme.splash.SplashActivity" android:screenOrientation="portrait" android:targetActivity="com.ss.android.ugc.aweme.main.MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity-alias> somebody have ideas to slove it? Source: Android..

Read more

I have a object class that I want to use it between activities. I used exactly the same method for another activities and worked perfectly fine. But here I can’t figure it out what I am doing wrong. This is the object class : `package com.mecachrome.ffbf; import android.os.Parcel; import android.os.Parcelable; public class topic implements Parcelable ..

Read more

When I wanna create a new project in AS I get this error: Cannot access ‘androidx.fragment.app.FragmentActivity’ which is a supertype of ‘com.example.test123.MainActivity’. Check your module classpath for missing or conflicting dependencies After that I can not build/rebuild or run my clean new project. any idea? Thanks in advance. Source: Android..

Read more

I have the following build.gradle file where i declare the two versions of my project defaultConfig { applicationId "com.company" minSdkVersion 21 targetSdkVersion 31 … } flavorDimensions "version" productFlavors { create("product") { dimension "version" applicationIdSuffix ".product" versionCode 77 versionName "1.11.21470" } create("single_version") { dimension "version" applicationIdSuffix ".product.single_version" versionCode 8 versionName "1.11.21453" } } Now i have ..

Read more

I have a bottom navigation in activity and three fragments. One fragment needs a full screen preview. For this I am using private fun setFullScreenPreview() { activity?.let { context -> val activity = (context as MainActivity) val window = activity.window window.setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS) } } As I do not want full screen in other fragments I ..

Read more

Problem: I don’t know how to determine on my device why my Android app won’t launch after install, but launches without issue in the emulator? The main_actiity won’t launch (see below) but I receive the permissions check window from the MainActivity. This app has installed and launched successfully multiple times without issue for months. The ..

Read more

I don’t know why but Keyboard automatically opens when I open BottomSheetDialogFragment with another fragment. I tried with both navigation component and old method. I tried on API 24, 27, 30. On API 30 its working fine but in 24 and 27 facing this issue. Anyone here who is facing this issue? And Anyone who ..

Read more