2,720 Recommended Topics

Remove Filter
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
232
Member Avatar for archiejude04

Ive created a snake game with the help of a tutorial and i want to create a pause function for my program however, every other tutorial and website i looked at hasn't really helped, can someone help me figure out how to pause my game?

Member Avatar for Reverend Jim
0
354
Member Avatar for complete

In a C# solution, how do I add an .EXE project to a solution of DLL project's? This is using Microsoft Visual Studio Professional. I have been handed a solution file which contains three projects. But all three projects generate DLL files. It is kind of unique because I have …

Member Avatar for tinstaafl
0
167
Member Avatar for Catszzzz

Please help me with my project. Currently i am trying to make a receipt that only list the things that you order. But i have no idea how to do it. Please Help #include <iostream> #include <stdlib.h> using namespace std; void check (); void start(); void printacc(double pa); void printphone(double …

Programming c++
Member Avatar for toneewa
0
128
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 ## 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
507
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
159
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
311
Member Avatar for Joel_33

Anyone can help me? Create a C++ program that will contain a function to sort an array of 5 integers in ascending order, in which the function returns a pointer that points to the sorted array.

Member Avatar for rproffitt
2
127
Member Avatar for himit

I am trying to convert 1 XML into another and want to increment the variable as many times the loop executes. XML Code- [code] <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="test.xsl"?> <catalog> <cd> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <country>USA</country> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> <cd> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <country>UK</country> <company>CBS Records</company> …

Member Avatar for Balakumar_1
1
16K
Member Avatar for pmworlds

Discussion on Cybercafe Managment System - Project. I am in student in IT Eng. and i am woking on project for developing a Cybercafe Managment System. So, i am taking a reference of "handycafe" software. But i need more details on this concept. About which features i can add,what type …

Member Avatar for mr_865
1
688
Member Avatar for Bidesh
Member Avatar for pwolf

I am interested in technology, however I do not wish to go to university and after stumbling upon the MIT Challenge, I have taken it as a proof of concept. Clearly education is changing, and I would like to take a less traditional route. But before I go too far, …

Member Avatar for bendunk71
0
317
Member Avatar for sadbin hoque

package sadbinproject; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JOptionPane; /** * * @author Notebook */ public final class admission_panel extends javax.swing.JFrame { /** * Creates new form admission_panel */ public admission_panel() { initComponents(); Connect(); } Connection con; PreparedStatement pst; public void Connect() { …

Member Avatar for JamesCherrill
0
199
Member Avatar for Ved_683

I have to write a c program for finding the impedance of RLC circuit and represent the result in both polar and rectangular coordinate system

Programming c
Member Avatar for Reverend Jim
0
121
Member Avatar for Somil_1

Can u help me I am making a game in pygsme pygame in python so when I run the program it appears a blank black screen instead of the image that I hve upload in pygame to make game so actuaaly when I run the program it appears blank black …

Member Avatar for Schol-R-LEA
0
77
Member Avatar for Hariharan_2

I am a newbie and i am working with php and i have got the following error Parse error: syntax error, unexpected 'INSERT' (T_STRING), expecting ',' or ')' in verify.php on line 9 CODE SNIPPET: ![ronin_wallet.jpg](https://static.daniweb.com/attachments/4/737158dc54496e85ca6bce99a92a5c46.jpg) ![ronin_wallet.jpg](https://static.daniweb.com/attachments/4/ce76f07d4ab6d15dbd52f3a13ec2598e.jpg)

Member Avatar for Schol-R-LEA
0
75
Member Avatar for Miguel Nicholas

To be honest with you, all the codes that i made were self taught, i had to advance myself to learn more stuff in C++ which my first challenge is to make a simple but clean made text based adventure game, but im at the wall atm. (don't judge me, …

Member Avatar for kidspointdotin
4
3K
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
123
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 …

1
131
Member Avatar for skymhine

$unpaid1="SELECT t.id, t.year, t.property_id, COALESCE(t.amount,0) AS amount FROM tax_amount t WHERE t.status = 'unpaid' ORDER BY t.year"; $resultpropertyunpaid1 = $db->query($unpaid1); while($row = $resultpropertyunpaid1->fetch_assoc()){ $PropertyUnpaid1 = $row['unpaid']; } > When I'm making a new property and put the amount the error will show but after I paid the total amount the …

Programming mysql php sql
Member Avatar for Dani
1
63
Member Avatar for Arsslan

Hi, Please can some one tell me is Cloud ERP Safe to use for your business ? THanks

Member Avatar for TyaSuite
0
118
Member Avatar for v1

If you plan to attract new customers, enhance sales, build your brand image or improve the customer experience, you need to own a mobile app.

Member Avatar for Dani
0
87
Member Avatar for ervineuer

Im looking for the "best" GUI builder for java. I use Eclipse to write my scripts, and i would appreciate you guys telling me your favourite GUI Builder and the reasons why. Thanks

Programming java
Member Avatar for jwenting
0
82
Member Avatar for tanatos.daniel

I want to determine if the mouse cursor is above a Windows Form and if so, change its color, but I'm kind of new to this and C# also. I was thinking of something like this: public Form1() { InitializeComponent(); if (Control.MousePosition.Y >= 0 && Control.MousePosition.Y <= 499 && Control.MousePosition.X …

Member Avatar for bir_924
2
6K
Member Avatar for UKnod

I am using visual studio / basic 2019. using the windows media to play sounds (WMPLib.WindowsMediaPlayer). It works great, I can play multiple sounds etc. However what I realy want to do is play some sounds on sound card A. And other sounds in sound card B. I am thinking …

Member Avatar for UKnod
2
724
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 …

1
102
Member Avatar for Micheal87

Hi, like title, I have a timer, that when reach 0 will fire event on another form, then timer restart but when reach 0 nothing happen. how can I achieve this? Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick Dim value = CInt(Label10.Text) If value >= 1 And …

Programming vb.net
Member Avatar for xrjf
0
384
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

The End.