Android Studio – How kill previous activities
In my app I have in the mainActivity intent that move mw to the second activity and in the second activity I have also intent that move me to the main activity. Now when I press the back button in…
In my app I have in the mainActivity intent that move mw to the second activity and in the second activity I have also intent that move me to the main activity. Now when I press the back button in…
The app in our organization operates in KIOSK mode at various sites, beginning with a default activity, the splash screen, featuring an animated logo. Following the splash screen, decisions are made based on specific parameters to determine the next activity.…
I am currently integrating a google tap&pay SDK in my Flutter app. My app startActivityForResult the native Google wallet Activity to add a card to wallet. Now wallet Activity wants to startActivityForResult another activity in my app to get the…
I'm new to Android Studio and try to develop my first application. I have 3 activities MainActivity, DashboardActivity, and SplashActivity. DashboardActivity - protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_dashboard); Hooks(); allQuestionsList=listS; Collections.shuffle(allQuestionsList); modelClass = listS.get(index); setAllData(); } SplashActivity- public class…
I am currently learning to programm android applications, so please be patient with me, i'm a beginner. I am trying to communicate between different activities, to set an alarm, i found this page Is it possible to add an array…
Currently I am working on a project for my college, and i have discovered that onActivityResult is deprecated. What can be done to handle it? This is my code that troubles me override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?)…
I use a Login Screen with Firebase Auth and Firestore and linked Firestore and Firebase Auth with same e-mail. I am wanting when I login or register to app with e-mail, It have to pass to other Activity's Fragment if…
Hi guys I've a more theorical question. Is AppCompatActivity a subclass of Activity? The AppCompatActivity class is a subclass of the FragmentActivity class directly and the ComponentActivity class indirectly, and these superclasses are subclasses of the Activity. This makes AppCompatActivity…
I was just making a simple program that sends string that's typed in an EditText into a TextView in another activity, I'm a beginner and was following a kotlin tutorial on the internet, the program would crash whenever it gets…
I'm new at app development and Kotlin and I'm trying to do my first app for learning purposes but I'm kinda lost. Right now, I have an activity where to log in to my app via firebase. Then what I'm…