170 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for dimitrilc

## Introduction ## Welcome to part two of the tutorial. Let us continue to learn how to animate views along a Path. Part one can be found [here](https://www.daniweb.com/programming/mobile-development/tutorials/538944/android-native-animate-view-along-path-part-1). ## Important Coordinates ## Both the sun and the moon in our app can occupy any one of the three important coordinates …

Mobile Development android animation kotlin
1
40
Member Avatar for Williams Brown
Member Avatar for dimitrilc

## Introduction ## Every Android View has a `layoutParams` property. This property tells the parent ViewGroup how a View wants to be laid out; it is also often used to change the size of a View. In this tutorial, we will learn how to animate Views while modifying their `layoutParams`. …

Mobile Development android animation kotlin
2
159
Member Avatar for dimitrilc

## Introduction ## When working on Espresso tests, you might have run into a situation where you need to verify what your app does when an activity is in a specific [**Lifecycle**](https://developer.android.com/reference/androidx/lifecycle/Lifecycle) state. In this tutorial, we will learn how to achieve this by using the **ActivityScenario** class. ## Goals …

Mobile Development android kotlin testing
2
40
Member Avatar for dimitrilc

## Introduction ## Cards are a common widget for Material 3-themed applications. Expanding a card after the user performs a click action is a very common behavior. While Android can automatically render the new expanded card automatically, we will have to implement our own animation if we want a smooth, …

Mobile Development android animation kotlin
2
346
Member Avatar for Pekja

Hi! I'm here to ask for an opinion as someone who want to develop an Android app for the first time. Can someone suggest to me whether I should use Java or Kotlin to write my code? My app will constantly need to fetch and submit data to phpmyadmin which …

Mobile Development android android-development
Member Avatar for logandavid
0
104
Member Avatar for رسمة فنا

Hello i want to ask How can i learn aflutter and ux/ui to make my app an Design it

Mobile Development android android-development app
Member Avatar for logandavid
0
62
Member Avatar for 奇_925

Has anyone developed the WhatsApp protocol?

Mobile Development
Member Avatar for rproffitt
0
173
Member Avatar for Mr.M

Hi DW. Anyone who knows how can I achieve this? `List<String> dynamic[i];` The reason why I need this is that I'm creating a dynamic list with nested lists so there's no fixed number of data the list can be, this is inside the `for` statement which receive the json data …

Mobile Development android java list
Member Avatar for Mr.M
0
167
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will learn how to create an instrumented test for Navigation Components. ## Goals ## At the end of the tutorial, you would have learned: 1. How to test Navigation Components. ## Tools Required ## 1. Android Studio. The version used in this tutorial …

Mobile Development android kotlin testing
1
789
Member Avatar for dimitrilc

## Introduction ## In Android projects, **DataSource** classes act as entry points to interacting with local or remote data sources. Their dependencies tend to be HTTP clients, the database, or DAOs, and their dependents are usually **Repository** classes. In this tutorial, we will learn how to provide a fake **DataSource** …

Mobile Development android kotlin testing
3
617
Member Avatar for dimitrilc

## Introduction ## When working with Espresso tests, you might have found it hard to make Espresso wait for background tasks to complete before performing other actions or assertions. Fortunately, the classes in the Espresso **idling** package exist to cover this use case. In this tutorial, we will learn how …

Mobile Development android kotlin testing
1
447
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will learn how to load data asynchronously into a **ListAdapter** (*a subclass of **RecyclerView.Adapter***). ## Goals ## At the end of the tutorial, you would have learned: 1. How to serve asynchronous data to a **ListAdapter**. ## Tools Required ## 1. Android Studio. …

Mobile Development android kotlin
1
288
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will learn how to filter and validate Intents fired from the application under test. ## Goals ## At the end of the tutorial, you would have learned: 1. How to filter and validate Intents in Espresso tests. ## Tools Required ## 1. Android …

Mobile Development android kotlin testing
1
65
Member Avatar for TimTheCoder

Hey guys is there a way to intercept shut down to make the user enter password if the state is in the locked state? Its just that I am engineering an anti-theft app and would to disable shut down from lock screen while the device is in the locked state. …

Mobile Development android java
Member Avatar for TimTheCoder
0
73
Member Avatar for dimitrilc

## Introduction ## When working with Room, you might have run into a situation where you only want to update specific fields of an entity instead of replacing the entire row. In this tutorial, we will learn how to do this in two different ways. ## Goals ## At the …

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

## Introduction ## On the android platform, widgets provide a quick way to interact with your Apps. They are extremely useful at providing quick information without the user launching the app Activities themselves. Common use cases for homescreen widgets are weather, email, or banking information. In this tutorial, we will …

Mobile Development android kotlin ui
2
202
Member Avatar for dimitrilc

## Introduction ## Starting from Android 10 (*API 29*), Android places many restrictions on how apps can launch activities from the background. There are a couple of exemptions, which can be found on this [list](https://developer.android.com/guide/components/activities/background-starts#exceptions). At the end of the list is the usage of the *dangerous* permission `SYSTEM_ALERT_WINDOW`. I …

Mobile Development android kotlin
1
135
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will learn how to use **ConcatAdapter**. It is a great choice for displaying header or footer at the beginning or at the end of a **RecyclerView**. ## Goals ## At the end of the tutorial, you would have learned: 1. How to use …

Mobile Development android kotlin
2
321
Member Avatar for dimitrilc

## Introduction ## Rather than modifying the button widget’s appearance in code, it is possible to do this in an XML resource instead. In this tutorial, we will learn how to create two different types of specialized XML resource files for changing the **Drawable** and the color. ## Goals ## …

Mobile Development android kotlin
2
87
Member Avatar for dimitrilc

## Introduction ## The Android platform provides many different types of menus to be added to an Android app. In this tutorial, we will learn how to add the most common type of menu, an **Options Menu**. An **Options Menu** is one that appears at the right corner of the …

Mobile Development android kotlin
1
109
Member Avatar for dimitrilc

## Introduction ## The Android platform provides many different types of menus to be added to an Android app. In this tutorial, we will learn how to add **Contextual Menu**s to our app. ## Goals ## At the end of the tutorial, you would have learned: 1. How to add …

Mobile Development android kotlin
1
212
Member Avatar for dimitrilc

## Introduction ## The Android Paging 3 library can operate in two modes, with an offline Room database as a source of truth or without one. In this tutorial, we will look at how to use Paging 3 with a local Room database. This tutorial expands on the previously published …

Mobile Development android kotlin
1
1K
Member Avatar for dimitrilc

## Introduction ## Among all of the Android libraries, Paging 3 is perhaps one of the hardest to understand. Personally, I think the problem with Paging 3 are: 1. Developers need to learn a lot of custom classes before they can understand how Paging 3 works under the hood and …

Mobile Development android kotlin
1
522
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will learn how to apply Material 3 colors and Dynamic Colors to our App. ## Goals ## At the end of the tutorial, you would have learned: 1. How to apply Material 3 colors. 2. How to enable Dynamic Colors. ## Tools Required …

Mobile Development android kotlin material
2
441
Member Avatar for dimitrilc

## Introduction ## Among the many ways to create your own View, extending an existing View is the simplest option. This is because you are inheriting pre-made attributes, drawing, and accessibility features. In this tutorial, we will learn how to create our own custom View by extending an existing View …

Mobile Development android kotlin
2
76
Member Avatar for TimTheCoder

Hey guys, I am trying to upload text entered by a user of my app in an edit text to a google firebase application. Tried to find some reference online on how to do this, the article suggested I add Firebase.FirebaseDatabae.net which I added to the project via the Nuget …

Mobile Development android app
0
53
Member Avatar for Carl_17

I am contemplating writing a speech-controlled music player app for android. I am experienced in writing PC applications, and wrote a rather sharp speech controlled MP3 player using VB in the 1990s. I have also used c, c++, and several other languages in the past, but I have zero experience …

Mobile Development android-development app
Member Avatar for rproffitt
0
39
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
437
Member Avatar for dimitrilc

## Introduction ## When working with WorkManager, it is important to know how to provide input data to your Workers. In this tutorial, we will learn how to provide basic input data to a Worker as well as when Workers are chained together. ## Goals ## At the end of …

Mobile Development android concurrency kotlin
2
155

The End.