Skip to content

codingsansar.com

programming made easy

Menu
  • Home
  • HTML
  • Android Development
    • Android Projects
  • Java
  • Flutter
  • SQL Server
  • VB

How to use animated splash screen in android

No Comments
| Android Development

To use animated screen in app firstly create a new activity for splash screen and cut intent filter from Main activity and paste in to splash activity in manifest File. create a raw folder in res and paste what you wanna show in splash screen Gradle paste the below dependency in build.gradle implementation ‘com.airbnb.android:lottie:3.6.0’ Main […]

Read More »

How to create custom toolbar in android studio

No Comments
| Android Development

How to create custom toolbar in android studio Main Activity xml Main Activity java Create a new android resource directory in res name menu and and create menu resource file in menu Menu Create a new Layout Resource File toolbar_layout Toolbar xml Android Development

Read More »

How to use json output in android studio

No Comments
| Android Development

How to use json output in android studio Java code gradle Add below dependency in build.gradle Android Development

Read More »

How to use Linear Layout with divider property in android studio

No Comments
| Android Development

linear layout with divider property android studio Main Activity xml

Read More »

Shared Preferences: How to save data to android device

No Comments
| Android Development

how to save user login info in android device, Main Activity xml Main Activity java package guru.happylife.sharedashish;import androidx.appcompat.app.AppCompatActivity;import android.content.SharedPreferences;import android.os.Bundle;import android.view.View;import android.widget.Button;import android.widget.EditText;import android.widget.TextView;public class MainActivity extends AppCompatActivity { Button button; TextView textView; EditText editText; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); button = findViewById(R.id.button); textView = findViewById(R.id.textView); editText = findViewById(R.id.editText); button.setOnClickListener(new View.OnClickListener() { […]

Read More »

How to make Android app from website

No Comments
| Android Development

android app from website, how to make android app free It is very easy to convert your website into the android app using android studio. Android studio is a open source app development plateform download it from below link https://developer.android.com/studio Step1: Create a new project Click on create new project Step2: Select a Project Template […]

Read More »

How to add video in android studio

No Comments
| Android Development

Add video in android studio , how to add video in android app Main activity.xml <?xml version=”1.0″ encoding=”utf-8″?><androidx.constraintlayout.widget.ConstraintLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:app=”http://schemas.android.com/apk/res-auto” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”match_parent” tools:context=”.MainActivity”> <VideoView android:id=”@+id/vdview” android:layout_width=”0dp” android:layout_height=”320dp” app:layout_constraintBottom_toBottomOf=”parent” app:layout_constraintEnd_toEndOf=”parent” app:layout_constraintHorizontal_bias=”0.0″ app:layout_constraintStart_toStartOf=”parent” app:layout_constraintTop_toTopOf=”parent” app:layout_constraintVertical_bias=”0.0″ /> <TextView android:id=”@+id/textView” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”Comments” android:textSize=”20sp” app:layout_constraintBottom_toBottomOf=”parent” app:layout_constraintEnd_toEndOf=”parent” app:layout_constraintHorizontal_bias=”0.051″ app:layout_constraintStart_toStartOf=”parent” app:layout_constraintTop_toBottomOf=”@+id/cricket” app:layout_constraintVertical_bias=”0.052″ /> <TextView android:id=”@+id/textView2″ android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:padding=”5sp” android:text=”123″ app:layout_constraintBottom_toBottomOf=”parent” […]

Read More »

How to make calculator app in android studio

No Comments
| Android Development

Caculator app in android, how to design calculator app Main activity.xml Main Activity java code Step 3: Paste a calculator icon in drawable folder Android Development

Read More »

how to use horizontal scrollview in android studio

No Comments
| Android Development

horizontal scrollview in android studio Main activity.xml Android Development

Read More »

how to create table in sqlite database in android

No Comments
| Android Development

In this tutorial we will learn about how to create table in sqlite database in android studio and we will add contacts in this table Step 1: Create three package by right click on your package named as data , params and Models Step 2: now we create a class in params in params we […]

Read More »

Posts pagination

Previous 1 … 4 5 6 Next

Recent Posts

Programming

  • Home
  • HTML
  • Android Development
    • Android Projects
  • Java
  • Flutter
  • SQL Server
  • VB

About Codsar

  • About us
  • Contact us
  • Disclaimer
  • Privacy Policy

codingsansar.com 2025 . Powered by WordPress