BREAKING NEWS
Showing posts with label adroid studio. Show all posts
Showing posts with label adroid studio. Show all posts

কয়লা ও ইট সরবরাহকারী ক্যাশ মেমো (Ai Vector) Coal and brick supplier cash memo

 কয়লা ও ইট প্রস্তুতকারক ও সরবরাহকারী ক্যাশ মেমো হলো একটি গুরুত্বপূর্ণ নথি যা কয়লা ও ইটের লেনদেনের বিবরণ ধারণ করে। এটি ক্রেতা ও বিক্রেতার মধ্যে লেনদেনের একটি স্বচ্ছ ও জবাবদিহিতাপূর্ণ পদ্ধতি নিশ্চিত করে। 

কয়লা ও ইট সরবরাহকারী


ক্যাশ মেমোতে সাধারণত নিম্নলিখিত তথ্যগুলি থাকে:

  • তারিখ: লেনদেনের তারিখ
  • ক্রেতার নাম: কয়লা ও ইট ক্রেতার নাম
  • বিক্রেতার নাম: কয়লা ও ইট বিক্রেতার নাম
  • পরিমাণ: কয়লা ও ইটের পরিমাণ (ওজন বা সংখ্যা)
  • মূল্য: কয়লা ও ইটের মূল্য
  • মোট টাকা: মোট পরিশোধিত টাকার পরিমাণ
  • পেমেন্টের ধরণ: নগদ, চেক, বা অন্য কোন পদ্ধতি
  • স্বাক্ষর: ক্রেতা ও বিক্রেতার স্বাক্ষর

ক্যাশ মেমো ব্যবহারের সুবিধা:

  • লেনদেনের স্বচ্ছতা: ক্যাশ মেমো লেনদেনের সকল তথ্য স্পষ্টভাবে উল্লেখ করে, যা ক্রেতা ও বিক্রেতার মধ্যে বিশ্বাস ও স্বচ্ছতা বৃদ্ধি করে।
  • জবাবদিহিতা: ক্যাশ মেমো লেনদেনের জন্য বিক্রেতাকে জবাবদিহি করতে বাধ্য করে।
  • হিসাবরক্ষণ: ক্যাশ মেমো ব্যবসার হিসাবরক্ষণের জন্য গুরুত্বপূর্ণ নথি।
  • আইনি প্রমাণ: লেনদেনের বিরোধের ক্ষেত্রে ক্যাশ মেমো আইনি প্রমাণ হিসেবে ব্যবহার করা যেতে পারে।

ক্যাশ মেমো ব্যবহারের টিপস:

  • সঠিক তথ্য: ক্যাশ মেমোতে সকল তথ্য সঠিকভাবে উল্লেখ করা গুরুত্বপূর্ণ।
  • স্পষ্টতা: ক্যাশ মেমো স্পষ্ট ও বোধগম্য হতে হবে।
  • স্বাক্ষর: ক্রেতা ও বিক্রেতার অবশ্যই ক্যাশ মেমোতে স্বাক্ষর করতে হবে।
  • সংরক্ষণ: ক্যাশ মেমো ভবিষ্যতের প্রয়োজনের জন্য সাবধানে সংরক্ষণ করা উচিত।

কয়লা ও ইট প্রস্তুতকারক ও সরবরাহকারীদের জন্য ক্যাশ মেমো ব্যবহার করা একটি গুরুত্বপূর্ণ ব্যবসায়িক অনুশীলন। এটি লেনদেনের স্বচ্ছতা, জবাবদিহিতা এবং হিসাবরক্ষণ নিশ্চিত করে।

How to make school Admission form in ms word,PS,PDF | Blank School Admission Form sample ।। Hasubd24

 

How to make school Admission form in ms word,PS,PDF | Blank School Admission Form sample ।। Hasubd24

dawnlad Link



#hasubd24 #hasu_bd_24 In this video, guideline given about how to create Blank School Admission Form in MS Word. So, follow this video step by step and create a Blank School Admission Form in MS Word document file. dawnload Link - https://drive.google.com/drive/folders/1-AhWBgSw2XrpJ0-4VTbGW8yMdJi8vtgx?usp=sharing 🚩 Visit Our Website : https://hasubd24.blogspot.com/ 🚩 Follow Me on Facebook: https://www.facebook.com/hasemreza.hasu.1 🚩 E-mail: Email:hasemali2547@gmail.com 🚩 Mobail: +8801762302547-(whatapp.imo,) ************************************************* 👉 Disclaimer: This channel does not provide any financial advice. All the information provided on this channel is for educational and informational purposes only. This channel does not guarantee you that you can make money online using this method shown in the video, Your degree of achievement in accomplishing the outcomes asserted in the video will require diligent work, aptitudes, learning, and experience. This channel strongly advised you to do your research before investing or joining any such platform. 👉 Affiliate Disclosure: This video description may contain affiliate links. This means if you click on that link this channel will receive a small amount of commission. ******** Please Subscribe Hasu BD24 Youtube Channel***********

How to Convert any Website into Professional Android App

 

Video

https://youtu.be/t4OMveOwFbU

1. WebView Android App Code:
Best Android smartphones

Activity_Main.xml

<WebView
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:id="@+id/webView"
    android:layout_alignParentTop="true"
    android:layout_alignParentLeft="true"
    android:layout_alignParentStart="true"
    android:layout_alignParentBottom="true"
    android:layout_alignParentRight="true"
    android:layout_alignParentEnd="true"
    tools:ignore="MissingConstraints" />
Best Android smartphones

MainActivity.java

import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    String websiteURL = "https://viskill.in/"; // sets web url
    private WebView webview;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        //Webview stuff
        webview = findViewById(R.id.webView);
        webview.getSettings().setJavaScriptEnabled(true);
        webview.getSettings().setDomStorageEnabled(true);
        webview.setOverScrollMode(WebView.OVER_SCROLL_NEVER);
        webview.loadUrl(websiteURL);
        webview.setWebViewClient(new WebViewClientDemo());

    }

    private class WebViewClientDemo extends WebViewClient {
        @Override
        //Keep webview in app when clicking links
        public boolean shouldOverrideUrlLoading(WebView view, String url) {
            view.loadUrl(url);
            return true;
        }
    }

}
Best Android smartphones

AndroidManifest.xml 

<uses-permission android:name="android.permission.INTERNET" />
Best Android smartphones


2. Internet Connection Error:

AndroidManifest.xml

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
Best Android smartphones

MainActivity.java

import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Bundle;
import android.util.Log;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    String websiteURL = "https://viskill.in/"; // sets web url
    private WebView webview;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        if( ! CheckNetwork.isInternetAvailable(this)) //returns true if internet available
        {
            //if there is no internet do this
            setContentView(R.layout.activity_main);
            //Toast.makeText(this,"No Internet Connection, Chris",Toast.LENGTH_LONG).show();

            new AlertDialog.Builder(this) //alert the person knowing they are about to close
                    .setTitle("No internet connection available")
                    .setMessage("Please Check you're Mobile data or Wifi network.")
                    .setPositiveButton("Ok", new DialogInterface.OnClickListener() {
                        @Override
                        public void onClick(DialogInterface dialog, int which) {
                            finish();
                        }
                    })
                    //.setNegativeButton("No", null)
                    .show();

        }
        else
        {
            //Webview stuff
            webview = findViewById(R.id.webView);
            webview.getSettings().setJavaScriptEnabled(true);
            webview.getSettings().setDomStorageEnabled(true);
            webview.setOverScrollMode(WebView.OVER_SCROLL_NEVER);
            webview.loadUrl(websiteURL);
            webview.setWebViewClient(new WebViewClientDemo());

        }
    }


    private class WebViewClientDemo extends WebViewClient {
        @Override
        //Keep webview in app when clicking links
        public boolean shouldOverrideUrlLoading(WebView view, String url) {
            view.loadUrl(url);
            return true;
        }
    }


}

class CheckNetwork {

    private static final String TAG = CheckNetwork.class.getSimpleName();

    public static boolean isInternetAvailable(Context context)
    {
        NetworkInfo info = (NetworkInfo) ((ConnectivityManager)
                context.getSystemService(Context.CONNECTIVITY_SERVICE)).getActiveNetworkInfo();

        if (info == null)
        {
            Log.d(TAG,"no internet connection");
            return false;
        }
        else
        {
            if(info.isConnected())
            {
                Log.d(TAG," internet connection available...");
                return true;
            }
            else
            {
                Log.d(TAG," internet connection");
                return true;
            }

        }
    }
}
Best Android smartphones

3. Back & Exit Feature:

MainActivity.java

//set back button functionality
@Override
public void onBackPressed() { //if user presses the back button do this
    if (webview.isFocused() && webview.canGoBack()) { //check if in webview and the user can go back
        webview.goBack(); //go back in webview
    } else { //do this if the webview cannot go back any further

        new AlertDialog.Builder(this) //alert the person knowing they are about to close
                .setTitle("EXIT")
                .setMessage("Are you sure. You want to close this app?")
                .setPositiveButton("Yes", new DialogInterface.OnClickListener() {
                    @Override
                    public void onClick(DialogInterface dialog, int which) {
                        finish();
                    }
                })
                .setNegativeButton("No", null)
                .show();
    }
}


4. Swipe Down to Refresh:

activity_main.xml

<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
    android:id="@+id/swipeContainer"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <WebView
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:id="@+id/webView"
        android:layout_alignParentTop="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:layout_alignParentBottom="true"
        android:layout_alignParentRight="true"
        android:layout_alignParentEnd="true"
        tools:ignore="MissingConstraints" />

</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
Best Android smartphones

MainActivity.java

SwipeRefreshLayout mySwipeRefreshLayout;
//Swipe to refresh functionality
mySwipeRefreshLayout = (SwipeRefreshLayout)this.findViewById(R.id.swipeContainer);

mySwipeRefreshLayout.setOnRefreshListener(
        new SwipeRefreshLayout.OnRefreshListener() {
            @Override
            public void onRefresh() {
                webview.reload();
            }
        }
);
private class WebViewClientDemo extends WebViewClient {
    @Override
    //Keep webview in app when clicking links
    public boolean shouldOverrideUrlLoading(WebView view, String url) {
        view.loadUrl(url);
        return true;
    }
    @Override
    public void onPageFinished(WebView view, String url) {
        super.onPageFinished(view, url);
        mySwipeRefreshLayout.setRefreshing(false);
    }
}

5. Screen Rotation:

AndroidManifest.xml

android:screenOrientation="portrait">
Best Android smartphones


6. Splash Screen:

SplashActivity.java

  import androidx.appcompat.app.AppCompatActivity;


    import android.content.Intent;

    import android.os.Bundle;

    import android.view.Window;

    import android.view.WindowManager;


    public class SplashActivity extends AppCompatActivity {


        @Override

        protected void onCreate(Bundle savedInstanceState) {

            super.onCreate(savedInstanceState);


            Window window = getWindow() ;


            window.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);

            setContentView(R.layout.activity_splash);




            Thread splashTread = new Thread(){


                @Override

                public void run() {

                    try {

                        sleep(3000);

                        startActivity(new Intent(getApplicationContext(),MainActivity.class));

                        finish();

                    } catch (InterruptedException e) {

                        e.printStackTrace();

                    }


                    super.run();

                }

            };


            splashTread.start();





        }


    }
Best Android smartphones

activity_splash

<?xml version="1.0" encoding="utf-8"?>

    <LinearLayout 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"

        android:orientation="vertical"

        tools:context=".SplashActivity">


        <ImageView

            android:layout_width="match_parent"

            android:layout_height="300dp"

            android:src="@drawable/logo"

            android:scaleType="centerCrop"

            android:padding="50dp"

            android:layout_marginTop="220dp"/>

        <ProgressBar

            android:layout_width="220dp"

            android:layout_height="10dp"

            android:layout_gravity="center_horizontal"

            style="?android:attr/progressBarStyleHorizontal"

            android:max="100"

            android:indeterminate="true"

            android:progress="0"

            android:layout_marginTop="100dp"


            />



    </LinearLayout> 
Best Android smartphones

AndroidManifest.xml

 <activity
            android:name=".MainActivity"
            android:exported="false" />
        <activity
            android:name=".SplashActivity"
            android:exported="true"
            android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
Best Android smartphones


7. Enable Download Button:

MainActivity.Java

if(Build.VERSION.SDK_INT>= Build.VERSION_CODES.M){
            if(checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_DENIED){

                Log.d("permission","permission denied to WRITE_EXTERNAL_STORAGE - requesting it");
                String[] permissions = {Manifest.permission.WRITE_EXTERNAL_STORAGE};
                requestPermissions(permissions,1);
            }


        }

//handle downloading

webview.setDownloadListener(new DownloadListener() {
            @Override
            public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimeType, long contentLength) {

                DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));
                request.setMimeType(mimeType);
                String cookies = CookieManager.getInstance().getCookie(url);
                request.addRequestHeader("cookie",cookies);
                request.addRequestHeader("User-Agent",userAgent);
                request.setDescription("Downloading file....");
                request.setTitle(URLUtil.guessFileName(url,contentDisposition,mimeType));
                request.allowScanningByMediaScanner();
                request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
                request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS,URLUtil.guessFileName(url, contentDisposition, mimeType));
                DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);
                dm.enqueue(request);
                Toast.makeText(getApplicationContext(),"Downloading File",Toast.LENGTH_SHORT).show();


            }
        });

AndroidMainfest.xml

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

 
Back To Top
Copyright © 2014 HaSu BD24. Designed by OddThemes | Distributed By Gooyaabi Templates