1,249 Topics

Member Avatar for
Member Avatar for dimitrilc

## Introduction ## When using Navigation Components, you might have wondered how to pass arguments between destinations. We will learn how to do just that in this tutorial. This tutorial also builds upon the [Basic Navigation](https://www.daniweb.com/programming/mobile-development/tutorials/536923/android-native-how-to-use-navigation-component#post2282945) tutorial, so if you are not familiar with Navigation Components, I would recommend you …

1
236
Member Avatar for dimitrilc

## Introduction ## If you are working on a native Android app using the View system, then you might have come across a situation where you would need to add a Composable (`androidx.compose.runtime.Composable`) into your View hierarchy. In this tutorial, we will learn how to add a Composable into an …

2
316
Member Avatar for dimitrilc

## Introduction ## When working on Android with Kotlin, you might have ran into property delegates on a few occasions, such as `activityViewModels()` from `androidx.fragment.app` or `remember()` from `androidx.compose.runtime`. In this tutorial, we will learn what property delegates are and how to create them ourselves. ## Goals ## At the …

3
160
Member Avatar for dimitrilc

## Introduction ## Among all of the animation API’s on Android, MotionLayout is one of the best classes to use to create complex animations. It can animate property and motion of multiple views at the same time. Other benefits include declarative style XML and the intuitive **Motion Editor** built right …

Member Avatar for johnoOz
4
516
Member Avatar for Pradnya_4
Member Avatar for dimitrilc

## Introduction ## If you are working with the latest Material 3 libraries on Android, you might have wondered how to use the **Bottom Navigation Bar** in your App. In this tutorial, we will learn how to use the Material 3 Bottom Navigation Bar (BNB). ## Goals ## At the …

2
2K
Member Avatar for dimitrilc

## Introduction ## Proto DataStore is a great way to store the **permanent** state of your application, especially if you prefer type safety. In this tutorial, we will learn how to store our App state using the Proto DataStore. ## Goals ## At the end of the tutorial, you would …

2
125
Member Avatar for dimitrilc

## Introduction ## The **Storage Access Framework** (SAF) provides a great way to access files exposed by other applications via their own DocumentProviders. In this tutorial, we will learn how to use the SAF in our App. ## Goals ## At the end of the tutorial, you would have learned: …

1
413
Member Avatar for Mr.M

Hi DW, I'm experiencing an issue I've tried invalidating, fixed the offline sync but still I'm getting this error. My App uses Firebase FCM. On the dependencies I have `com.google.firebase:firebase-core:16.0.5 com.google.firebase:firebase-messaging:17.3.4` My implementation `com.android.support:appcompact-v7:28.0.0-alpha1` This implementation is underlined with a red line and I think it is what having the …

Member Avatar for Mr.M
0
51
Member Avatar for SALIM_16

Pls let me know which tool or software to use to develop mobile app. I have 27 yes exp in vb6 and sql. Need to change to mobile app. Pls guide

Member Avatar for rproffitt
0
62
Member Avatar for dimitrilc

## Introduction ## In Android development, the MediaStore API is a great API to use if you are building a music player. In this tutorial, we will learn how to query for audio files in the MediaStore database. ## Goals ## At the end of the tutorial, you would have …

1
637
Member Avatar for dimitrilc

## Introduction ## The release of Android 12 also came together with Material 3. Whether you love it or hate it, it is likely to be here to stay for a couple of years, therefore, it would be useful to know how to use it. In this tutorial, we will …

2
3K
Member Avatar for dimitrilc

## Introduction ## WorkManager is the preferred method of managing background tasks on Android. It also includes convenient extensions for RxJava3 and Kotlin Coroutines. In this tutorial, we will learn how to use WorkManager as well as how to observe the background task with the debugging tool Background Task Inspector. …

1
117
Member Avatar for dimitrilc

## Introduction ## Coil is a popular image loading library for Kotlin-first Android projects. It is lightweight, fast and is super easy to use. In this tutorial, we will learn how to use Coil to load images into our project. ## Goals ## At the end of the tutorial, you …

3
1K
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will learn how to capture a picture with the new **ActivityResult** APIs(`androidx.activity.result`), which replace the `startActivityForResult()` and `onActivityResult()` APIs(*from Activity class*). Additionally, we will also learn about the ContentProvider **FileProvider**, which we will have to set up to save our images. ## Goal …

3
6K
Member Avatar for dimitrilc

## Introduction ## Navigation component is an abstraction on top of FragmentManager, which simplifies navigation between fragments. In this tutorial, we will learn how to use the Navigation component in our App. ## Goal ## At the end of the tutorial, you would have learned: 1. How to use the …

3
200
Member Avatar for dimitrilc

## Introduction ## Based on the latest report from Appbrain, Samsung has the highest market share(*>35%*) among all of the Android OEMs, therefore it is important that your apps are tested against Samsung phones. In this tutorial, we will learn how to load Samsung Emulator skins onto our emulator devices. …

0
2K
Member Avatar for dimitrilc

## Introduction ## Regardless of whether you like notches on your devices or not, they exist, so as developers, we will have to adapt our Apps to work with them. In this tutorial, we will learn how to adapt our code to work with notches. The device used in this …

0
373
Member Avatar for Vrushanjali

As I'm curious to know a instant messaging software for Government collaborations. When I was browsing for a knid of that software I found Troop Messenger though it's not a government app but it's providing messaging services for different platforms like political campaign software, chat api, on-premise and many more. …

Member Avatar for jwenting
0
120
Member Avatar for dimitrilc

## Introduction ## In Android development, Espresso can be combined with Junit to create powerful UI automation tests. In this tutorial, we will learn how to create Espresso tests. ## Goals ## At the end of the tutorial, you would have learned: 1. How to create Espresso tests. ## Tools …

Member Avatar for John_165
2
413
Member Avatar for dimitrilc

## Introduction ## UI Automator is a library that allows you to create tests that can interact with other components besides your App, such as Settings or other Android components. In this tutorial, we will learn how to incorporate UI Automator into our tests. ## Goals ## At the end …

1
607
Member Avatar for dimitrilc

## Introduction ## In Android development, Intents are used to request an action from an app component. There are two types of Intents: explicit and implicit. Explicit Intents are used when you know the exact package name of the component you need started. Implicit Intents, however, do not need a …

3
345
Member Avatar for dimitrilc

## Introduction ## Snackbars are great for displaying brief messages providing feedback to your users. In this tutorial, we will learn how to create Snackbars. ## Goals ## At the end of the tutorial, you would have learned: 1. How to create a Snackbar. ## Tools Required ## 1. Android …

3
217
Member Avatar for dimitrilc

## Introduction ## Notification is a great way to display information outside of your Android application. Your end users most likely already interact with notifications everyday, so knowing how to create notifications can greatly boost your user experience (*but can also backfire if used incorrectly*). In this tutorial, we will …

2
195
Member Avatar for dimitrilc

## Introduction ## Starting on API level 25, static Shortcuts can be used to quickly navigate to a specific point in your app. In this tutorial, we will learn how to create static shortcuts for an Android app. ## Goals ## At the end of the tutorial, you would have …

2
187
Member Avatar for SimonIoa

Does anyone now if google requires parameters on .htaccess file for php function calls? I used to have a different .htaccess file and my google sign in used to work. Now i changed it and it doesnt. htaccess RewriteEngine On #RewriteBase /api/ Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type" Header add …

Member Avatar for Dani
0
55
Member Avatar for dimitrilc

## Introduction ## With OLED screens becoming more and more common on smartphones, adapting a dark theme to your app can provide a boost to battery life. In this tutorial, we will learn how to add a dark theme to your native Android app. ## Goals ## At the end …

2
204
Member Avatar for dimitrilc

## Introduction ## All TextView objects have a special attribute called `textAppearance`. This attribute can be used to set the style for text content in a TextView without affecting other styling attributes on the same TextView object. In this tutorial, we will learn how to apply `textAppearance` to TextView objects. …

2
950
Member Avatar for salm_27

One of my client's micro <link snipped> site has some cls issues and that's why it has a slow response on mobiles. How can we resolve cls issues.

Member Avatar for Dani
0
179
Member Avatar for dimitrilc

## Introduction ## Complex Views can use up RAM and reduce the performance of your Android apps. If a View is rarely used, you should consider delaying its rendering until it is needed by your app. One way to do that is to use the ViewStub View. ViewStub is very …

2
793

The End.