Zoom effect on ImageView Android
Best and simple way to implement zoom effect on ImageView in android application.
Continue ReadingBest and simple way to implement zoom effect on ImageView in android application.
Continue ReadingLast updated on January 9th, 2020 at 12:45 pmIf you are using Ubuntu first time and want to install Google Chrome in it then here is simple step you can follow because we need to run few command to allow Chrome to install and run. Step 1. Download Google Chrome from google official site. Step […]
Continue ReadingThis is very simple and easy way to UnZip rar file in Ubuntu. Please follow these steps to unrar your rar file Step 1. Install unrar in Ubuntu type sudo apt-get install unrar Step 2. If you want to unzip file in same directory type this command unrar e -r /your_path/myfile.rar or in other directory or […]
Continue ReadingIf you are window user and currently switch to Ubuntu and want to install XAMPP server on your system then this post can help you to install and run Xampp. Follow below steps to learn how to setup XAMPP. Step 1. Download latest release of Xampp server from there official website or click here and download Xampp […]
Continue ReadingSome time we need to add custom font family in our android application. Here is simple and working technique you can use to add font family in your android application. Step 1. Create assets folder inside F:\location\app\src\main in your project. Step 2. Create fonts folder inside assets and paste your font family inside it. Step 3. Now […]
Continue ReadingHere is simple command which you can run on your ec2 instance using putty. Step 1. Login to instance using putty. Step 2. Before typing bellow command take backup of your database so you can export it again after upgrade. Step 3. Type below command sudo apt-get update sudo apt-get upgrade sudo apt-get install mysql-server-5.6 Once upgrade […]
Continue ReadingTo enable back/home button on custom toolbar and add click listener on it use bellow technique. Toolbar toolbarTop = (Toolbar) findViewById(R.id.toolbar_top); setSupportActionBar(toolbarTop); /*getSupportActionBar().setDisplayShowHomeEnabled(true); getSupportActionBar().setIcon(R.drawable.ic_action_home);*/ toolbarTop.setNavigationIcon(getResources().getDrawable(R.drawable.ic_action_home)); toolbarTop.setNavigationOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent homeInt = new Intent(SearchResult.this, Search.class); startActivity(homeInt); finish(); } }); 🙂
Continue ReadingThis is a simple tip to run multiple Skype account on your window PC. This will help you to run multiple instance of Skype at same time. Step 1. Go to your Program file and look for Skype folder inside Skype folder open Phone folder eg: C:\Program Files\Skype\Phone Step 2. Find Skype.exe and right click on it and create […]
Continue ReadingSimple tip to send your form data to server using angular js and get that data in $_POST variable <html> <head> <meta charset=”utf-8″> <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js”></script> <script src=”https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js”></script> <script type=”text/javascript”> var app = angular.module(“myApp” , []); app.controller(“sendForm” , function($scope, $http){ $scope.saveData= function(){ $scope.signError = false; $scope.signSuccess = false; var request […]
Continue ReadingThis is a a simple code to check form input fields names and its value using javascript for( var i=0; i<document.forms.FORM_NAME.length; i++ ) { var fieldName = document.forms.FORM_NAME[i].name; var fieldValue = document.forms.FORM_NAME[i].value; // use the fields, put them in a array, etc. // or, add them to a key-value pair strings, // as in regular […]
Continue ReadingHere is a simple trick which help you to remove yellow background behind your google adsense ads. You can also set your own color match to your theme if you like. Step 1. Login to your wordpress via ftp or use file editor provide by wordpress Appearance ⇒ Edior. Step 2. Now if you are using FTP […]
Continue ReadingWe all know about pagination and where we use :-p but if you are developing web api or web services in php here is a simple and easy way to create pagination. <?php $page = 1; // Default page start with 1 $limit = $limit; // Set Limit according to you 1 – 5 -10 […]
Continue Reading