unable to boot device due to insufficient system resources. xcode

unable to boot device due to insufficient system resources. xcode

Problem : unable to boot device due to insufficient system resources. xcode Please see Simulator Help for information on adjusting system settings to allow more simulated devices to boot at once. maxUserProcs: 709, runningUserProcs: 614, enforcedProcBuffer: 144 Solution : Open Terminal and run the command sudo launchctl limit maxproc 2000 2500  Explanation : xCode restricts to run more device but it has 2000 max device run capability. sudo launchctl limit maxproc [limit for one user] [total limit]

Firebase for android – Insert value as a list data

Firebase for android – Insert value as a list data

Part : one – Go to firebase console and click database . If you want to insert database without authentication then go to database->rules tab and { “rules”: { “.read”: “auth == null”, “.write”: “auth == null” } } Part 2 : Create Model . I used Notes Model /** * Created by ADN Digital on 12/24/2017. */ public class Notes { public String id; public String title; public String description; public String date; public String day; public String currentDate; public…

Read More Read More

শেষ হাসি

শেষ হাসি

কে জানে কোন হাসি আমার শেষ হাসিটা ছিল , কোন সীমানায় দৃষ্টি আমার সপ্নে ভূলেছিল ।

ফেরা

ফেরা

সব পাখি দিন শেষে নীড়ে আসে ফিরে ঘরময় ভালোবাসা রয়েছে যে ঘিরে । কিছু পাখি দল ছেড়ে দূরে চলে যায় জানেনি কেউ অবেলায় কেন এ বিদায় ।

Binary Search Algorithm – Deep thinking with Java

Binary Search Algorithm – Deep thinking with Java

import java.util.Scanner;   class BinarySearch { public static void main(String args[]) { int c, first, last, middle, n, search, array[];   Scanner in = new Scanner(System.in); System.out.println(“Enter number of elements”); n = in.nextInt(); array = new int[n];   System.out.println(“Enter ” + n + ” integers”);     for (c = 0; c < n; c++) array = in.nextInt();   System.out.println(“Enter value to find”); search = in.nextInt();   first = 0; last = n – 1; middle = (first + last)/2;…

Read More Read More

Android beautiful dialog and alert libraries

Android beautiful dialog and alert libraries

1 . Lovely dialog is a nice dialog third party android library . There has some good functionality that makes it awesome .   2 . Sweet alert   is also a nice dialog and alert library . It’s also have animation that makes it beautiful .   3 .android material dialog  is now default dialog for android . It’s also simple and nice .    4.  Pretty dilog    is good for it’s nice close button . 5. No Internet Dialog   is very good for…

Read More Read More

IOS – Main Thread Checker: UI API called on a background thread: -[UIApplication delegate] PID: 902, TID: 13120, Thread name: (none), Queue name: NSOperationQueue 0x604000037a20 (QOS: UNSPECIFIED), QoS: 0 Backtrace:

IOS – Main Thread Checker: UI API called on a background thread: -[UIApplication delegate] PID: 902, TID: 13120, Thread name: (none), Queue name: NSOperationQueue 0x604000037a20 (QOS: UNSPECIFIED), QoS: 0 Backtrace:

Solution : use DispatchQueue.main.async { // Correct }     Updating UI from a Completion Handler Long-running tasks such as networking are often executed in the background, and provide a completion handler to signal completion. Attempting to read or update the UI from a completion handler may cause problems. let task = URLSession.shared.dataTask(with: url) { (data, response, error) in if let data = data { self.label.text = “\(data.count) bytes downloaded” // Error: label updated on background thread } } task.resume()…

Read More Read More

Firebase for android : Read list of data from database and show on recyclerview

Firebase for android : Read list of data from database and show on recyclerview

Part -1 : Take that we have some data field on child node named “user” . We will first retrieve all data and then we will show it on recyclerview. , public class UserListActivity extends AppCompatActivity { private DatabaseReference mDatabase; ArrayList<User> userArrayList; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_user_list); Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); mDatabase = FirebaseDatabase.getInstance().getReference(); mDatabase.child(“user”).addValueEventListener(new ValueEventListener() { @Override public void onDataChange(DataSnapshot snapshot) { Toast.makeText(UserListActivity.this, snapshot.toString(), Toast.LENGTH_SHORT).show(); @Override public void onCancelled(DatabaseError databaseError) { System.out.print(databaseError.toString()); } });…

Read More Read More

Firebase for android : Part One – Project setup

Firebase for android : Part One – Project setup

First of all you can get total setup manual from here . https://firebase.google.com/docs/android/setup I am describing here step by step : Part 1 : First create an android project . If already have then no need . We need project package name . Part 2 :  Go to firebase console to create a project . You need a gmail account . https://console.firebase.google.com/ . Add new project . Give project name and enter create project . I named test-project .   Part…

Read More Read More

IOS application development with swift : Part-1 download xCode and environment setup

IOS application development with swift : Part-1 download xCode and environment setup

It’s easy if you have a Mac book . But before to be a iOS application developer you need to have mac and iPhone for debug application but you can also use simulator for debug purpose . Let’s start for environment setup –   1 . First Download xCode from https://developer.apple.com/xcode/ 2 . You need an apple account to download this . 3 . After downloading just double click to install it . 4 . After successfully installed open it ….

Read More Read More

Trick : How to upgrade android gradle version from lower to higher or vice-versa

Trick : How to upgrade android gradle version from lower to higher or vice-versa

1 . It’s easy just create an new dummy app as like test_app . 2. Go the build.gradle and copy and replace the following code   apply plugin: ‘com.android.application’ android { compileSdkVersion 26 defaultConfig { applicationId “com.adndigitalbd.test” minSdkVersion 16 targetSdkVersion 26 versionCode 1 versionName “1.0” testInstrumentationRunner “android.support.test.runner.AndroidJUnitRunner” } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’ } } } dependencies { implementation fileTree(dir: ‘libs’, include: [‘*.jar’]) implementation ‘com.android.support:appcompat-v7:26.1.0’ implementation ‘com.android.support.constraint:constraint-layout:1.0.2’ implementation ‘com.android.support:design:26.1.0’ testImplementation ‘junit:junit:4.12’ androidTestImplementation ‘com.android.support.test:runner:1.0.1’ androidTestImplementation ‘com.android.support.test.espresso:espresso-core:3.0.1’ }…

Read More Read More

Git commands

Git commands

1 . Know remote repository name git config –get remote.origin.url 2 . Remote Branch current git branch 3 . Remote branch all git branch –all 4 . Git initialization git init (you need to do it first to run any git command) 5 . Add all code or changes git add –all 6 . Git commit git commit -m “commit name” 7 . Git remote repository add git remote add origin “url” 8. Git push git push origin master (master…

Read More Read More

PhoneGap or Cordova iOS build and import to Xcode

PhoneGap or Cordova iOS build and import to Xcode

Open Terminal and go to project folder like cd: Desktop/newProject run the command on terminal cordova platform add ios  and run the command cordova build  It will create  a platform folder in the project directory and inside project directory you will find iOS . import iOS on xCode and build as same as other xCode project .    

!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1`. You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.

!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1`. You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.

Open Terminal and run this command that will add the source on master branch on cocoapod repos .   $ cd ~/.cocoapods/repos $ git clone https://github.com/CocoaPods/Specs.git master     if again issuing already has master branch and it’s not empty and completely remove cocoapod and install from new . How to uninstall cocoapod completely and install new

How to uninstall cocoapod completely and install new

How to uninstall cocoapod completely and install new

1. Uninstall CocoaPods (choose to uninstall all versions): 1 sudo gem uninstall cocoapods 2. Remove old master repo: 1 sudo rm -fr ~/.cocoapods/repos/master 3. Install CocoaPods with sudo: 1 sudo gem install cocoapods 4. Setup CocoaPods and Master repo: 1 pod setup Source i collected 

আসবে সকাল

আসবে সকাল

কে জানে কোন হাসির ছলে ব্যাথার রেখা ধরে , কোন মোহনায় তপ্ত রোদে থাকবে মরে পরে ।   কেউ দেখেনি ওই জড়তায় কত স্বপন লুকানো এই ষ্টাগলের উল্টো পিঠে কত যে ভয় জড়ানো ।   কোন বাকা পথ – পথ হারিয়ে , পথ চলা দেয় শেষ করে রাত পেরিয়ে ভোর এলেও , ফের আধারে যায় চলে ।   সব সকালেই হয় না দেখা ভোরের সুর্য্যদয় কোন জয়েই যায় না মুছে কিছু পরাজয় ।   একদিন এক বৃষ্টি দিনে নাইবা হল…

Read More Read More

Android Encryption and Decryption String with AES/DES .

Android Encryption and Decryption String with AES/DES .

Base Class :  import android.util.Base64; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.security.GeneralSecurityException; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import javax.crypto.BadPaddingException; import javax.crypto.Cipher; import javax.crypto.IllegalBlockSizeException; import javax.crypto.NoSuchPaddingException; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; /** * Created by ADN Digital on 1/17/2018. */ public class EncryptionDecryption { public static String encrypt(String value, String key) throws UnsupportedEncodingException, InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, InvalidAlgorithmParameterException, IllegalBlockSizeException, BadPaddingException { byte[] value_bytes = value.getBytes(“UTF-8”); byte[] key_bytes = getKeyBytes(key); return Base64.encodeToString(encrypt(value_bytes, key_bytes, key_bytes), 0); } public static byte[] encrypt(byte[] paramArrayOfByte1, byte[] paramArrayOfByte2, byte[]…

Read More Read More

Android notify users when app version is updated on play store .

Android notify users when app version is updated on play store .

1 . First get current play store version. int currentVersion,updateVersion; VersionChecker versionChecker = new VersionChecker(); try { String latestVersion = versionChecker.execute().get(); updateVersion = Integer.parseInt(latestVersion.substring(latestVersion.length()-1)); Toast.makeText(HomeActivity.this, latestVersion.toString(), Toast.LENGTH_SHORT).show(); } catch (InterruptedException e) { e.printStackTrace(); } catch (ExecutionException e) { e.printStackTrace(); } PackageManager manager = this.getPackageManager(); PackageInfo info = null; try { info = manager.getPackageInfo(this.getPackageName(), 0); } catch (PackageManager.NameNotFoundException e) { e.printStackTrace(); } 2. Get current app version with PackageManager . PackageManager manager = this.getPackageManager(); PackageInfo info = null; try { info…

Read More Read More

Swift 3 / 4 get current location with location manager .

Swift 3 / 4 get current location with location manager .

Step – 1 :  First define LocationManager . And Current location of CLLocaion .   var manager = CLLocationManager() var currentLocation: CLLocation! Step 2 : In ViewDidController get Current location with location manager . That’s it .   manager.requestWhenInUseAuthorization()                  if (CLLocationManager.authorizationStatus() == CLAuthorizationStatus.authorizedWhenInUse ||             CLLocationManager.authorizationStatus() == CLAuthorizationStatus.authorizedAlways){             currentLocation = manager.location             print(“location is “, currentLocation.coordinate.latitude)…

Read More Read More

Swift 3 /4 take photo from camera or gallery and show it .

Swift 3 /4 take photo from camera or gallery and show it .

Step One : First create a project and take imageView and a button to capture image . Connect it to ViewController . Step Two : Copy this code and run . hope it will be done . 😀    class ImageCapture: UIViewController , UIImagePickerControllerDelegate,UIPopoverControllerDelegate,UINavigationControllerDelegate{      @IBOutlet var imageViewWeight: UIImageView!      var imagePicker:UIImagePickerController?=UIImagePickerController() override func viewDidLoad() {         super.viewDidLoad()          imagePicker?.delegate=self     }      @IBAction func takeImage(_ sender: Any) {       var alert…

Read More Read More

Laravel 5.5 : include css , js and image for boostrap theme .

Laravel 5.5 : include css , js and image for boostrap theme .

Put your assets in the public folder public/css public/images public/fonts public/js And then called it using Laravel   {{ URL::asset(‘js/scrollTo.js’); }} // Generates the path to public directory public/js/scrollTo.js {{ URL::asset(‘css/css.css’); }} // Generates the path to public directory public/css/css.css {{ URL::asset(‘image/one.png’); }} //Generates the path to public directory public/image/one.png or {{ HTML::script(‘js/scrollTo.js’); }} // Generates the path to public directory public/js/scrollTo.js {{ HTML::style(‘css/css.css’); }} // Generates the path to public directory public/css/css.css  {{ HTML::style(‘image/one.png’); }} //Generates the path to…

Read More Read More

Laravel – Please provide a valid cache path

Laravel – Please provide a valid cache path

In laravel sometime cache not valid problem shows . What’s the reason ? Reason is there had no cache path in the storage directory . To solve this problem , try this : create these folders under storage/framework: sessions views cache Now its worked! More         

Script php artisan clear-compiled handling the pre-update-cmd event returned with error code 255

Script php artisan clear-compiled handling the pre-update-cmd event returned with error code 255

In laravel there may be shown the following error when working with bellow laravel 5.3 projects . Cause composer structure has been changed .   So how to solve it : Its easy way to just replace the code in composer.php (Only bold sections) :   { “name”: “laravel/laravel”, “description”: “The Laravel Framework.”, “keywords”: [“framework”, “laravel”], “license”: “MIT”, “type”: “project”, “require”: { “php”: “>=5.6.4”, “laravel/framework”: “5.4.*”, “laravel/tinker”: “~1.0” }, “require-dev”: { “fzaninotto/faker”: “~1.4”, “mockery/mockery”: “0.9.*”, “phpunit/phpunit”: “~5.7” }, “autoload”: {…

Read More Read More

How to install and fix all errors after clone laravel project from github ?

How to install and fix all errors after clone laravel project from github ?

Installation Follow the instructions below to install the project Clone the repository using git clone composer install npm install Create .env by copying the env.example file php artisan key:generate php artisan migrate Set administrator info in UserTableSeeder.php // Optional php artisan db:seed run gulp or gulp watch (Install gulp (sudo npm install -g gulp) if needed) // optional

Print page and specific section with JavaScript

Print page and specific section with JavaScript

Whole Page :   If we want to print complete to print . we can do it with JavaScript Print() mehtod.   <!DOCTYPE html> <html> <body> <p>Click the button to print the current page.</p> <button onclick=”myFunction()”>Print this page</button> <script> function myFunction() { window.print(); } </script> </body> </html>     Print Specific portion : If we want to print specific portion then we need to implement some more works . Here’s are that .   <html xmlns=”http://www.w3.org/1999/xhtml”> <head>     <title></title>     <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js”></script>     <script type=”text/javascript”>         $(“#btnPrint”).live(“click”, function ()…

Read More Read More

Github “fatal: remote origin already exists”

Github “fatal: remote origin already exists”

As the error message indicates, there is already a remote configured with the same name. So you can either add the new remote with a different name or update the existing one if you don’t need it: To add a new remote, called for example github instead of origin (which obviously already exists in your system), do the following: $ git remote add github git@github.com:ppreyer/first_app.git Remember though, everywhere in the tutorial you see “origin” you should replace it with “github”. For example $ git push origin master should now…

Read More Read More

Laravel : Specified key was too long error

Laravel : Specified key was too long error

Laravel 5.4 or later  made a change to the default database character set, and it’s now utf8mb4 which includes support for storing emojis. This only affects new applications and as long as you are running MySQL v5.7.7 and higher you do not need to do anything. For those running MariaDB or older versions of MySQL you may hit this error when trying to run migrations: [Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is…

Read More Read More

চাওয়া

চাওয়া

কোলাহল আমার ভালো লাগেনি কখনো, জন-মানবহীন দিগন্ত জুরা খোলা প্রান্তে হেটে যেতে যেতে আমি আমার প্রভুর বিশালত্ব ঘোষনা করব । দৃষ্টির প্রতিটি প্রান্তে যে প্রভুর মহিমা , আমি তা দেখে সিজদায় অবনত হব । হয়ত খানিকটা সময় বসে জীবনের সব গুনাহ,র জন্য বিনিত হয়ে আমার রবের নিকট আমি অশ্রু সিক্ত হয়ে ক্ষমা চেয়ে নিব । হয়ত আরো কাছাকাছি আসার তিব্র আকাঙ্ক্ষা নিয়েই আকাশ প্রান্তে চেয়ে চেয়ে চলে যাব আরো অনেক দূর । যেখানে নির্জনতা , যেখানে আমি , যেখানে আপনি…

Read More Read More

সপ্নে দেখা সোনালী দিন – ২

সপ্নে দেখা সোনালী দিন – ২

  একদিন আমি স্থায়ীভাবে আমার গ্রামে চলে যাব । প্রথমেই আমি আমাকে সাজাব আমার মত করে ,একজন ভাল মানুষ হিসেবে , একজন ভালো মুসলিম হিসেবে । সবুজের মাঝে প্রতিদিন আমি হেঁটে যাব দিগন্তজুড়া প্রান্তরে , আকাশের দিকে চেয়ে বিরানভূমিতে আমি বাতাসের গন্ধ , মাটির গন্ধ শুঁকে শুঁকে চলে যাব অনেকদূর । মাঠের শেষ প্রান্তে একটি ২ তলা বাড়ি থাকবে ,টোটাল ৬/৭ ঘর থাকবে । ৩ টা রুম IT lab ও জিমনেশিয়াম । কিছুটা নিকটেই কৃষি খামার । বাড়ির ঠিক পাশে…

Read More Read More

হয়ত মনে রাখবে না কেউ

হয়ত মনে রাখবে না কেউ

হয়ত মনে রাখবে না কেউ যখন আমি থাকব না , কথাগুলো ঠিকি রবে শুধুই আমি জাগব না । কিন্তু জানি সবার কথা পড়বে মনে খুব করে্‌ হঠাৎ করে জেগে ঊঠা মিষ্টি আজান ঐ ভোরে । আলতো করে পা বাড়িয়ে ফেলে আসা দিনগুলো , কিংবা খুবি কষ্ট পেয়ে চক্ষু বেয়ে জ্বল্গুলো ।

হারিয়ে ফেলা ভাষা

হারিয়ে ফেলা ভাষা

আগে মনে শান্তি ছিল মুখে সদা হাসি ছিল আরো কাব্যকথা। এখন বুকে বেদনা অনেক চোখের কোনেও জ্বলও খানিক, আরো ছিন্ন ব্যাথা। আগে একটা ডায়েরি ছিল, পাতায় পাতায় ছড়া ছিল, আরো দিপ্ত আশা । ডায়েরিটা আর পায়না খুজে গুমট কথা চোখটা বুজে, হারিয়ে ফেলা ভাষা । সেই থেকে আজ-অদ্যবধী, ছন্দগুলো খুজে ফিরি, হারিয়ে যাওয়ার ভিরে । প্রানান্তর এই চেষ্টা আমার সপ্নগুলো কুড়িয়ে পাবার, ভিড়তে নতুন তীরে। [আরিফ হাসনাত ফাস্ট-এইড, ৫,৪,২০১৫—11.45 am

ভাষা

ভাষা

কে বলো কে , কে দিয়েছে ভাষা ! কে দিয়েছে সহজ করে বলতে মনের আশা । কে দিয়েছে এমন করে মিষ্টি সুরে গাইতে , অশ্রু নিয়ে করুন করে প্রভূর কাছে চাইতে । কে দিয়েছে শিশুর মুখে আলতো কথা বলা , কে দিয়েছে নদীর ঢেঊয়ের ছলাৎ ছলাৎ চলা । কে দিয়েছে কিশোর মনে নতুন স্বপ্ন দেখতে , দৃষ্টি জুড়ে কল্পলোকে নতুন ছড়া লিখতে । কে দিয়েছে জীবন জুড়ে না চাইতে সব, আল্লাহ তা’য়ালা ,মহান তিনি ,যিনি তোমার রব । [arif hasnat/dhaka-21.2.2016]

বিদায়

বিদায়

সব পাখি দিন শেষে নীড়ে আসে ফিরে ঘরময় ভালোবাসা রয়েছে যে ঘিরে । কিছু পাখি দল ছেড়ে দূরে চলে যায় জানেনি কেউ অবেলায় কেন এ বিদায় । [arifhansat/15.02.2017/1.40pm]

অবাক করা সাঁঝে

অবাক করা সাঁঝে

অবাক করা সাঁঝে ফাগুন মাসের মিষ্টি হাওয়া উদাস করে দেয় , আলতো বাতাস কেমন যেন বার্তা বয়ে যায় । হঠাৎ করে অতীত যেন শুধুই মনে পড়ে , আমের মুকুল ভাবনা জাগায় কেন এমন করে ! এইতো সেদিন জীবন ছিল শুধুই চিন্তা ধারা খেলার মাঝে কাটত দুপুর ,ছিলাম বাধন হারা । মাগরিবের ঐ আজান শুনে কাটত তবে বেলা কেমন করে শেষ হল সব এত হাসির মেলা । আবার আমি ফিরে যাব আমার আপন মাঝে মাদুর পেতে জ্যোৎস্না মাঝে অবাক করা সাঁঝে…

Read More Read More

Swift Tutorial Series In Bangla : Collection Type – Array

Swift Tutorial Series In Bangla : Collection Type – Array

Source Code import UIKit var integerTypeArray = [Int]() integerTypeArray.append(3) integerTypeArray.append(5) var stringTypeArray = [String]() stringTypeArray.append(“ios”) var threeWillbeTenTimesArray = Array(repeatElement(“Three”, count: 10)) var fiveWillbeTenTimesArray = Array(repeatElement(“Five”, count: 10)) var addThreeAndFiveArray = threeWillbeTenTimesArray + fiveWillbeTenTimesArray var literalTypeArray : [String] = [“swift”,”version”,”three”] literalTypeArray[0] for eachElementValue in literalTypeArray { print(eachElementValue) } var countofArray = literalTypeArray.count var retriveLastElement = literalTypeArray[literalTypeArray.count-1]     Download From Github 

Recyclerview OnTouchListener Easy way

Recyclerview OnTouchListener Easy way

blogCategoryRecycler.addOnItemTouchListener(new RecyclerTouchListener(this, blogCategoryRecycler, new RecyclerTouchListener.ClickListener() { @Override public void onClick(View view, int position) { } @Override public void onLongClick(View view, int position) { } }));

IOS 10 : TableView tutorial with Swift 3 – most easy way

IOS 10 : TableView tutorial with Swift 3 – most easy way

import UIKit class ViewController: UIViewController , UITableViewDelegate , UITableViewDataSource{ var names = [“arif”,”hasnat”,”ios”,”developer”] @IBOutlet weak var tableView: UITableView! override func viewDidLoad() { super.viewDidLoad() tableView.delegate = self tableView.dataSource = self } func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { return names.count } func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { let cell = UITableViewCell() cell.textLabel?.text = names[indexPath.row] return cell } }

Android Multi-dex Enable

Android Multi-dex Enable

aSometimes it needed to enable multidex in out add and its can throw error also . But memory limit 64 k problem may be a painful problem to solve for who faces this problem newly . But we can easily solve this problem . Just three steps – Step : 1 Add dependency at first and sync compile ‘com.android.support:multidex:+’ Step 2 : and add multidex enable inside defaultConfig multiDexEnabled true so whole build.gradle will looks like as   apply plugin:…

Read More Read More

iOS 10 tutorial : Working with collection view

iOS 10 tutorial : Working with collection view

Collection view is very good component of IOS . Its similar with table but have some basic difference . Here I will discuss with ios Collection view with easy way 🙂 So let start , Part 1 : Create a project Named Like CollectionViewDemo . Go to Main.Storyboard and add a Navigation controller – for that go to Editor menu of toolbar and select EmbededIn and click Navigation Controller . It will add a Navigation bar of the top of…

Read More Read More

Working With ionic and cordova : Part-1 Installation

Working With ionic and cordova : Part-1 Installation

Ionic is a good platform for hybrid mobile apps development , both for android and ios . There has some good stuffs and good functionality . We can make app only with HTML , CSS , And java Script framework like angular . So lets start – Step : 1 Fist of all we have to install node js of our machine . Go the node js website and download and install it . https://nodejs.org/en/ Step : 2 From this…

Read More Read More

Insertion Sort Algorithm

Insertion Sort Algorithm

Insertion Sort: Insertion sort is a simple sorting algorithm that is relatively efficient for small lists and mostly sorted lists, and is often used as part of more sophisticated algorithms. It works by taking elements from the list one by one and inserting them in their correct position into a new sorted list.[17] In arrays, the new list and the remaining elements can share the array’s space, but insertion is expensive, requiring shifting all following elements over by one. Shell…

Read More Read More