Author: FastBikri Team

Function to load the spinner data from SQLite database | Android Development

/** * Function to load the spinner data from SQLite database * */ private void loadSpinnerData() { // database handler DatabaseHandler db = new DatabaseHandler(getApplicationContext()); // Spinner Drop down elements List lables = db.getAllLabels(); // Creating adapter for spinner ArrayAdapter dataAdapter = new ArrayAdapter(this, android.R.layout.simple_spinner_item, lables); // Drop down layout style – list view with

Cash Receipt App

Cash Receipt App is designed to digitally acknowledge received cash from a person or company. It is an essential app for your personal and business transactions. Download Link: https://play.google.com/store/apps/details?id=com.zakasoft.cashreceipt&hl=en&gl=US Are you facing a problem to print expensive printed cash memos or cash receipts? Do you like to instantly acknowledge receipt of money received from your mobile

How to format date from one format to another format in JAVA?

public static String formateDateFromstring(String inputFormat, String outputFormat, String inputDate){ Date parsed = null; String outputDate = ""; SimpleDateFormat df_input = new SimpleDateFormat(inputFormat, java.util.Locale.getDefault()); SimpleDateFormat df_output = new SimpleDateFormat(outputFormat, java.util.Locale.getDefault()); try { parsed = df_input.parse(inputDate); outputDate = df_output.format(parsed); } catch (ParseException e) { } return outputDate; } Usage: String inputdate="01-JAN-2021"; String convertedDate = formateDateFromstring( "dd-MMM-yyyy", "dd/MM/yyyy",

Laravel 8 & AdminLTE

composer global require laravel/installer laravel new example-app cd example-app Create database update .env file php artisan migrate:fresh composer require infyomlabs/laravel-ui-adminlte php artisan ui adminlte php artisan ui adminlte –auth npm install && npm run dev src: https://levelup.gitconnected.com/integrating-adminlte-3-and-laravel-8-51c1555efa60 In .env added APP_URL=http://localhost:8000 MIX_ASSET_URL=http://localhost:8000 MIX_ASSET_URL=http://localhost/example-app/public/ In config/app.php 'mix_url' => env('MIX_ASSET_URL', null) https://stackoverflow.com/questions/65492953/wrong-laravel-mix-rewrite-url-path-when-place-project-in-subfolder

Settings Activity Preferences.xml

AndroidManifest.xml <activity android:name=".SettingsActivity" android:parentActivityName=".MainActivity2" /> SettingsFragment.java package com.zakasoft.newspaperbd; import android.os.Bundle; import androidx.preference.PreferenceFragmentCompat; public class SettingsFragment extends PreferenceFragmentCompat { @Override public void onCreatePreferences(Bundle savedInstanceState, String s) { addPreferencesFromResource(R.xml.preferences); // implement your settings here } } SettingsActivity.java package com.zakasoft.newspaperbd; import android.os.Bundle; import androidx.preference.PreferenceFragmentCompat; public class SettingsFragment extends PreferenceFragmentCompat { @Override public void onCreatePreferences(Bundle savedInstanceState, String s) {

Best Domestic Airlines in Bangladesh

Are you looking for the best domestic airlines in Bangladesh? If the answer is yes, you are in the right place where you will know about the best domestic airlines in Bangladesh. Domestic flights are flights that take place within a country’s borders. Airlines are capable of transporting passengers as well as cargo. For military