157 Recommended Topics

Remove Filter
Member Avatar for
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-development
2
1K
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-development
2
219
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-development
1
236
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-development
Member Avatar for johnoOz
4
516
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-development
2
316
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-development
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-development
2
125
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 angularjs
1
131
Member Avatar for Saboor880

I have updated my Android Studio to the Artic Fox Version. After that neither the projects with old Gradle versions running nor the new projects with latest Gradle versions running. Only the following errors appears: Could not install Gradle distribution from 'https: //services.gradle.org/distributions/gradle-7.0.2-bin.zip' After this error I manually downloaded the …

Mobile Development
1
102
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

Mobile Development android-development
Member Avatar for rproffitt
0
62
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: …

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

Mobile Development android-development
Member Avatar for Mr.M
0
51
Member Avatar for SimonIoa

Hello I want to send multiple values from a to an api function. on the db i store the values in text format. The value that is stored is array on the Swal alert, I am getting [object object] but i want to get each value e.g. Painting or Graphic …

Mobile Development angularjs
0
287
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 …

Mobile Development android-development ui-ux
2
3K
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 …

Mobile Development android-development
1
637
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 …

Mobile Development android-development
3
1K
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. …

Mobile Development android-development
1
117
Member Avatar for John_165

I've been code for android/ios using flutter more than a year. Now I would like to learn new things by using software to **create image** instead of just getting icons from google material design (just like image below). Any recommended ? Thanks. ![104648412-d93f8f00-5691-11eb-94e9-d1ecedd7c9f8.png](https://static.daniweb.com/attachments/4/dde268fbe9690cf4ace285e053ef6ab0.png)

Mobile Development
Member Avatar for rproffitt
0
157
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 …

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

Mobile Development android-development
3
200
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 …

Mobile Development android-development
Member Avatar for John_165
2
413
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. …

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

Mobile Development android-development
0
373
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 …

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

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

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

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

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

Mobile Development android-development php
Member Avatar for Dani
0
55
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. …

Mobile Development android-development
2
950

The End.