Skip to main content

Posts

Showing posts from August, 2023

Android Development: Adding New Activity, Explicit Intent and Top App Bar with Jetpack Compose

  Introduction In this article, we will continue with the practical demonstration of Android development using our “Demo One” Android project as an example. Note that in my previous article, I demonstrated how to add AlertDialog to MainActivity.kt, and programmed it to show when the “Click Here to Proceed” button is clicked. The AlertDialog contains a button with the text “NEXT” (as in Figure 1). Figure 1 When the “NEXT” button is tapped or clicked, the AlertDialog will close, and then, the app will navigate back to MainActivity. In this article, we will add a new Activity named “SecondActivity”. Next, with the use of “intent”, we will program the AlertDialog “NEXT” button to navigate to SecondActivity when tapped. Next, we will add top app bar to our SecondActivity. Let us now open our “Demo One” project (as in Figure 2) and continue with the development process. Figure 2 Creation of a new Activity named “SecondActivity” There are different methods of creating a ne

How to Choose an Appropriate Statistical Tool for Research Data Analysis

  Introduction It is obvious that data is involved in any kind of research. The data is collected and analyzed in order to arrive at a meaningful conclusion in relation to the focus of the study or research. Data analysis is usually easier when we have a good understanding of the right statistical tool or technique or test to use. Before we dive deeper, let's refresh our knowledge of some basic data-related concepts. Basic Concepts Data: Data refers to a collection of facts and figures. It could be in the form of numbers, texts, images, sound, among others. Primary data: This refers to the first-hand data collected directly from the source or subject or sample of a study or research. The subject or sample of the study could be human beings or plants or animals or other things. Primary data could be obtained through observation, survey, the use of questionnaire, and so on. Secondary data: This refers to the data that was obtained from already existing data which was o