716 Topics

Member Avatar for
Member Avatar for dimitrilc

## Introduction ## When working on Java applications, it is very likely that you will run into JDBC at some point. While you are unlikely to have to work directly with JDBC when using frameworks, it is still important to know how the connection is established and how queries are …

Member Avatar for dimitrilc
2
184
Member Avatar for pritaeas

I've found myself on the "Endorse Members" page: ![Schermafbeelding_2022-08-04_165629.png](https://static.daniweb.com/attachments/0/fde902bff2336ca1138e778e87e11f8e.png)

Member Avatar for pritaeas
0
50
Member Avatar for pritaeas

I archived all the messages in my message list (also yours Dani). Now, if I get a new message (from you) I get a popup stating I have a new message, but this message does not appear in my message list. Is this a bug or an undocumented feature?

Member Avatar for Dani
0
32
Member Avatar for pritaeas

My avatar is no longer loading: ![Schermafbeelding_2022-08-01_095403.png](https://static.daniweb.com/attachments/0/3971bfe333dfcd3b186dd30307e1c724.png)

Member Avatar for Dani
0
34
Member Avatar for pritaeas

In the programming chat I tried to delete a message containing someone's phone number. The Javascript action appears to delete it, but after a refresh the message is still there.

Member Avatar for Dani
0
51
Member Avatar for Reverend Jim

My son uses Anaconda so I thought I'd install it so we could collaborate. I downloaded and installed the latest version. When I ran Anaconda Navigator, the first thing it told me was "there is a new version available". That's when I started having misgivings, but I downloaded and installed …

Member Avatar for Reverend Jim
0
110
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. …

1
338
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 …

1
355
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 …

1
648
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 …

1
2K
Member Avatar for pritaeas
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 …

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, …

2
1K
Member Avatar for John_165

I notice a bug.. ![Screenshot_2022-01-04_175310.png](https://static.daniweb.com/attachments/4/1bfc6ca4c5196e24cc1449ebfb4eea90.png) This post is not written by Dani, but it shows Dani is the writer ?

Member Avatar for Dani
0
85
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, …

2
2K
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
254
Member Avatar for joshl_1995

Hello Daniweb, I was wondering how come a cURL API I made to call a function from my other website (but on the same hosting plan) no longer works. I even tried making a test API to call in the same directory, eg... :api.php <?php die(json_encode("something")); ?> :testing.php <?php $url …

Member Avatar for Dani
0
3K
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
457
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
698
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
130
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 ## 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
424
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
650
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
228
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
224
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
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
1K
Member Avatar for dimitrilc

## Introduction ## In Java 8, `@Repeatable` was introduced and this is the recommended way to create repeating annotations. We still have to create a holder Annotation(*annotation that holds an array of other annotations*), but we no longer have to declare the holder Annotation at the callsite. This tutorial aims …

3
302
Member Avatar for Reverend Jim

**Requires:** 1. Python version 3.8 or newer 2. wxPython version 4.0 or newer 3. exif module 4. Windows with NTFS file system To ensure you have the required packages please run the following 1. python -m pip install --upgrade pip 2. pip install exif 3. pip install wxPython I have …

Member Avatar for kimwel
4
1K
Member Avatar for dimitrilc

## Introduction ## Based on the 2020 Java Ecosystem survey from Jetbrains, 75% of Java developers are still using JDK 8. JDK 11 introduces `HttpClient`, which replaces the legacy `HttpURLConnection` API. For this tutorial, we will build a `HttpClient` that consumes the free Cat Facts API. ## Goals ## At …

Member Avatar for JamesCherrill
3
484
Member Avatar for dimitrilc

## Introduction ## This tutorial teaches you how to implement the Type-safe Builder pattern using Kotlin. This pattern allows developers to create declarative and concise DSLs. Our implementation will be a Burger Builder that enables our users to create Burger objects expressively. ## Goals ## At the end of the …

2
437
Member Avatar for rproffitt

Firefox seems to work fine so what should I be looking for when Chrome and Opera show The End with a circle loading graphic that never ends? Did I find The End of the latest posts? (Nah, it's something but I don't know what to check.)

Member Avatar for rproffitt
0
95
Member Avatar for matei_

Hello DaniWeb Community, I am a newbie in PHP, but I tried to create a plugin for my CRM platform using API to get informations, but I get some errors: **Notice: Undefined index**. [Click here for an image with the errors.](https://i.gyazo.com/6926d234978766542f544ed1e31e465c.png). Here are the lines where I got the errors: …

Member Avatar for lalamohan412
0
143
Member Avatar for Renat

Hi community, I developed the prototype of a web app that helps you to create custom design Stripe forms without coding. It does not require any front-end or back-end development. Just pick a template, customize its look, add Stripe API keys, paste the generated code into your page, add products …

Member Avatar for rproffitt
0
39
Member Avatar for ivanichi

how to handle nested object with map for display on flatlist or text or other component at react native. i tried to display using text and flatlist but didnt work, i want to display like this ![Screenshot_13.png](https://static.daniweb.com/attachments/2/f5686c337385104ecbb4a6d7531275fa.png) this is my code, can anyone help me const Schedule = () => …

0
42
Member Avatar for Michael_125

I made a fake money transfer platform where it gives the user real user interface experience which allows him to be able to send amount to users, be able to receive amount, withdraw the amount, add payment method (which i dont save it in database) and see analytics of the …

Member Avatar for Reverend Jim
0
722
Member Avatar for Sananil

Hi all. I am having one chat script which I used for my site. It was working fine with mysql database. Then after updated PHP 7 with mysqli then suddenly stopped for working. I need to make the code work with PHP 7 + mysqli. Please help me it was …

Member Avatar for Dani
0
279
Member Avatar for rproffitt

Here's the screen grab: ![50yearsAgoOnDaniweb.PNG](https://static.daniweb.com/attachments/1/9fb4572ed18ebec0e88c9822adaa0152.PNG) Here's the link to the 50 years ago reply: https://www.daniweb.com/posts/jump/ (doesn't work) Here's the link to the discussion: https://www.daniweb.com/programming/software-development/threads/523223/im-having-a-difficulty-in-a-program-in-c-net-framework Something happened. Don't know but interesting bug there.

Member Avatar for rproffitt
0
85
Member Avatar for pritaeas

The "filter by" at the top of a forum is by default set to "recommended". I'd love to have it remember (at least for the duration of my session) that I want a different filter (or none), prefarably one filter setting for all forums. Everytime I switch to a different …

Member Avatar for Dani
0
622
Member Avatar for rproffitt

https://www.daniweb.com/members/1186328/lacy-3 shows 0 contributions but you click through and they have made some posts.

Member Avatar for Dani
0
94
Member Avatar for rproffitt

https://www.daniweb.com/articles/latest shows me this a duplicate of my recent post. Ouch. The ability to share images looks broken too!

Member Avatar for Dani
0
96
Member Avatar for rproffitt

Just now when I crafted an answer then clicked Post Reply the button dimmed and it's just sitting there. Gave it a few minutes but there it sits. While I've found I can copy out what I wrote, tap F5 then try again it's not something others may bother with. …

Member Avatar for rproffitt
0
62
Member Avatar for pritaeas

I started my previous question with the title "Filter by" . I typed my question, clicked go to the next step. After that I clicked "Free" and only after that I got turned back to my question indicating that the title was too short. Shouldn't it say that before continuing …

Member Avatar for pritaeas
0
326
Member Avatar for pritaeas

I just updated my professional networking profile. The skills and interests textbox was prefilled with php, mysql, javascript, web-design and asp.net presumably from my post history. I've updated this to c#, .net and sql. This is visible in my profile page. When I go back to edit my professional networking …

Member Avatar for pritaeas
0
395
Member Avatar for Edoburun

Write an algorithm and draw a flowchart that determine whether a student has passed or failed. Add the student CA,mid semester test and exam score. addition of score should not be more than 100.the pass mark should be 60

Member Avatar for james.wilder.9849
0
360
Member Avatar for Edoburun

Algorithm Step1 input 15,10,35 Step 2 add 15+10+35 Step 3 if grade is <60 then fail else pass Flowchart Start Input 15,10,35 Add 15+10+35 Grade is 60 . Pls am confused

Member Avatar for Dani
1
155
Member Avatar for MickeyD

I think MS is getting a bit shifty in how it coerces you to have an MS account. It's finding more and more ways to get you on the inside. One example of many...Diagnostics collected about your device and how you use it. By default,this diagnostics collecting is turned on. …

Member Avatar for rproffitt
0
195
Member Avatar for Reverend Jim

I am being over-notified. I started a new thread to tell the community that "Active State Komodo IDE Now Free". I got four emails telling me I had started a new thread. ![2020-01-28_195028.jpg](/attachments/large/3/6fdb5bf030ef90f384ae5e5dd5e221df.jpg) pritaeas endorsed me in - web development - hardware and software - computer science I received 5, …

Member Avatar for Dani
1
1K
Member Avatar for Tcll

This actually started (in a convo with Dani) as a simple idea of just upvoting comments made to posts, buuut I quickly got ideas for turning comments into a sort-of Reddit-style thread system, where comments could be collapsed so the original general idea of the forum thread could be viewed. …

Member Avatar for Dani
1
870

The End.