164 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for dimitrilc

## Introduction ## In Android development, UseCases are classes that encapsulate business logic that are often used in ViewModel classes. UseCases belong to the optional Domain layer in Android apps, so they are not required, but can reduce your ViewModel’s complexity and make your application easier to test. In this …

Mobile Development android architecture kotlin
2
445
Member Avatar for Iqra_18

You have discussion forums, where I can discuss.

Mobile Development app
Member Avatar for Dani
0
31
Member Avatar for dimitrilc

## Introduction ## If your App only need a simple way to play videos on Android, then **VideoView** (`android.widget.VideoView`) might just fit the bill. In this tutorial, we will learn how to use VideoView for video playback in our App. ## Goals ## At the end of the tutorial, you …

Mobile Development android kotlin mobile
Member Avatar for Iqra_18
3
121
Member Avatar for dimitrilc

## Introduction ## Android provides many ways to perform background tasks, such as Services, WorkManager, or even threads. In this tutorial, we will learn how to create a Service for our Android app. ## Goals ## At the end of the tutorial, you would have learned: 1. How to create …

Mobile Development android kotlin mobile
Member Avatar for Iqra_18
2
291
Member Avatar for dimitrilc

## Introduction ## When using a Worker (**from the WorkManager library**), you might have wondered how to inject dependencies with Hilt. In this tutorial, we will learn how to inject dependencies into our Worker. ## Goals ## At the end of the tutorial, you would have learned: 1. How to …

Mobile Development android kotlin
1
866
Member Avatar for dimitrilc

## Introduction ## Finding a View in Espresso tests can be quite confusing because there are so many matchers available. In this tutorial, we will learn how to find a View based on its sibling contents. ## Goals ## At the end of the tutorial, you would have learned: 1. …

Mobile Development android kotlin testing
1
267
Member Avatar for Nicholas_25

Hello there. I'd like to develop a mobile app with cutting-edge functionality. A rider app, a passenger app, and an admin portal are all included. It is necessary to register and edit your profile. Can someone provide me with a cost estimate for app development? or else any other way …

Mobile Development android android-development
Member Avatar for Iqra_18
0
54
Member Avatar for priyamtheone

I'm broadcasting an intent in my app and receiving it with a broadcast receiver. I can handle the broadcasting and receiving. No problem with that. However, I want to register the receiver completely programmatically instead of doing it in the manifest file. Notice, that in the manifest file, there are …

Mobile Development android android-development java
Member Avatar for priyamtheone
0
58
Member Avatar for dimitrilc

## Introduction ## When working with Room, you might have wondered how to describe one-to-many relationships between entities. In this tutorial, we will learn how to do just that. ## Goals ## At the end of the tutorial, you would have learned: 1. How to define one-to-many relationship for entities …

Mobile Development android database kotlin
1
1K
Member Avatar for dimitrilc

## Introduction ## When working with Room, you might have wondered how to run multiple statements in a single transaction. Running multiple statements in one transaction has two main benefits: 1. Your statements can reuse the same connection. 2. They can all fail together if something goes wrong. Regarding the …

Mobile Development android database kotlin
1
458
Member Avatar for dimitrilc

## Introduction ## When working with Services on Android, you might have ran into an issue where you would like to: 1. Use a concrete implementation of a Service (*from a built-in or third party library*). 2. Make the Service lifecycle-aware so that you can use coroutines with it. Many …

Mobile Development android kotlin mobile
1
2K
Member Avatar for dimitrilc

## Introduction ## There are many ways to describe relationships between Entities in Room, one of which is to embed an entity inside of another. When embedding an Entity, the columns of the embedded Entity are extracted as member columns of the enclosing entity. In this tutorial, we will learn …

Mobile Development android database kotlin
1
152
Member Avatar for Nicholas_25

Hello, my name is Nicholas, and I'm the owner of a taxi service in Miami. I recently started a cab service with the support of a few friends. This firm has taken a lot of time and work to build. So far, we haven't been able to uncover anything that …

Mobile Development android mobile-application
Member Avatar for Nicholas_25
0
47
Member Avatar for dimitrilc

## Introduction ## When working with Room, there might come a situation during bulk CRUD operations that it would be useful to add a Foreign Key to one of our tables. This provides two main benefits: cascading delete (*must be configured manually*) and enforcing data integrity on linked entities. In …

Mobile Development database kotlin
3
6K
Member Avatar for dimitrilc

## Introduction ## If your Android Application uses Room, then you might have wondered how to prepopulate a Room database. In this tutorial, we will learn how to prepopulate a Room database. ## Goals ## At the end of the tutorial, you would have learned: 1. How to prepopulate a …

Mobile Development android database kotlin
1
1K
Member Avatar for dimitrilc

## Introduction ## When working with music files, you might have wondered how to load display art from Audio files. In this tutorial, we will learn how to load thumbnails for audio files. ## Goals ## At the end of the tutorial, you would have learned: 1. How to load …

Mobile Development android kotlin mobile
2
1K
Member Avatar for nalb4242

I have been trying to connect to watermelonDB however i keep getting this error TypeError : null isnot an object (evaluating 'DatabaseBridge[methodName]') I looked all over the network but couldn't find a solution the problem that i am not generting or writing the DataBaseBridge it should be generated automatically with …

Mobile Development database
Member Avatar for Dani
0
82
Member Avatar for ____

hi there i have a python http post request with no request but theres the code: requests.post("https://api.i66v1xg2.org/v3/moderate/+" + userid + "/") i dont know how to make it in java and in okhttp3 help pls thanks

Mobile Development mobile-application networking
Member Avatar for JamesCherrill
0
85
Member Avatar for dimitrilc

## Introduction ## When working with Hilt, you might have wondered how to inject ViewModels into your application. In this tutorial, we will learn how to inject ViewModels into your app Fragments. ## Goals ## At the end of the tutorial, you would have learned: 1. How to inject ViewModels …

Mobile Development android kotlin mobile
4
1K
Member Avatar for dimitrilc

## Introduction ## In Android development, reusable layouts can be used to reduce duplicate code across XML files. In this tutorial, we will learn how to reuse layout files, especially with View Binding enabled. ## Goals ## At the end of the tutorial, you would have learned: 1. How to …

Mobile Development android kotlin mobile
2
524
Member Avatar for Nicholas_25

In my hometown, I'm a budding entrepreneur with a cab business that I'd want to develop to meet current market demands. It would be more expensive to create a mobile app for both iOS and Android. As a result, I resorted to Android to build my own taxi booking application. …

Member Avatar for Dani
0
160
Member Avatar for dimitrilc

## Introduction ## When working with a Room database, we are mostly restricted to save data using primitives (*and boxed primitives*). Reference types are not supported right out of the box, but can be enabled by creating additional [TypeConverter](https://developer.android.com/reference/androidx/room/TypeConverter). If you are familiar with ORM-light frameworks such as Spring JDBC, …

Mobile Development android database kotlin
2
2K
Member Avatar for dimitrilc

## Introduction ## MediaPlayer (`android.media.MediaPlayer`) is a popular way to play media files, and combining it with a SeekBar can greatly improve the user experience. In this tutorial, we will learn how to synchronize a MediaPlayer progress to a SeekBar position. ## Goals ## At the end of the tutorial, …

Mobile Development android kotlin mobile
2
994
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will learn how to add swipe-to-remove and drag-to-reorder functionalities into RecyclerView. ## Goals ## At the end of the tutorial, you would have learned: 1. How to add swipe-to-remove and drag-to-reorder functionality to a RecyclerView. ## Tools Required ## 1. Android Studio. The …

Mobile Development android kotlin mobile
2
179
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 …

Mobile Development android kotlin mobile
1
203
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 …

Mobile Development android kotlin mobile
2
263
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 …

Mobile Development android animation ui
Member Avatar for johnoOz
4
490
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 …

Mobile Development android kotlin mobile
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 …

Mobile Development android kotlin mobile
2
105
Member Avatar for SimonIoa

![Screenshot_2022-01-26_at_11_35_23_AM.png](https://static.daniweb.com/attachments/4/2e399a803624c97ab50d1bd90a65d88f.png) Hello i want to retrieve multiples values from single column on db. And i did. They are shown on Console (Painting, Illustration, Graphic Design) but when i put the values on ion-toggles with ngModel only one is set to true. As you may see on the screenshot the values …

Mobile Development angular mobile typescript
1
110

The End.