Skip to content

codingsansar.com

programming made easy

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

Category: Android Development

Android Development

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 »

how to pass the data between activities in android

No Comments
| Android Development

how to send data from one activity to another in android how to pass data from one fragment to another fragment in android how to pass data using intent in android how to pass data from activity to fragment in android here we are using MS SQL database from signinActivity:- To dashboard Activity: name, email,mobile,password […]

Read More »

spinner in android studio

No Comments
| Android Development

how to fill spinner or dropdown in android studio | how to use spinner in android studio android dropdown|android dropdown list|custom spinner android|spinner in android studio|spinner android|spinner android studio|android spinner example|dropdown in android studio Paste this code within onCreate

Read More »

how to save login credentials in android app

No Comments
| Android Development

Shared preferences Declare below static string variable Step1:- after login Execute below code after call login method here Logininfo and Password are keys to pass this info where we need to get it again, and pwd and loginid are variable where loginid and pwd available. Step2:- Get value from shared preferences now we have saved […]

Read More »

Posts pagination

Previous 1 2 3

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