How to add a new CUSTOMER TAX CLASS and apply it to CUSTOMERS in magento version

Customer tax classes are the classes which define the types of taxes that are applied orders placed by customers that we have assigned to customer groups. We create customer tax classes and then assign customers to them depending on the Continue Reading

How to send Mail Using PHP

Step 1: You need to create a form Example: <!-- start .contact-form --> <div class="contact-form"> <form method="post" > <div class="input-field"> Name: <br><input type="text" class="form-control" name="name" required="" title="Please Enter Your Name Here"> </div> <div class="input-field"> Email id: <br><input type="email" class="form-control" name="email" Continue Reading

Android Code to get Device’s Battery Status

Step 1: Create Project in Android Studio and Put Following code  in your xml file    <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android= "" xmlns:tools= "" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" android:padding="30dp" > <TextView android:id="@+id/textViewBatteryStatus" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:text="Current Battery Status" android:textAppearance="?android:attr/textAppearanceLarge" /> Continue Reading

Benefits Of Digital Marketing

At this time many businesses are reaping the benefits of digital marketing, they are preferring digital marketing because it is more effective and cheaper than other marketing. As we know that the users of internet and social media are spending Continue Reading

Registration API For Android Application

It can help you for mobile application. <?php $host="localhost"; $pass="password"; $user="user_name"; $dbname="dbname"; $con=mysqli_connect($host, $user, $pass, $dbname) or die ('connection faild'); $response = array("error" => FALSE); if($_REQUEST!=''){ extract($_REQUEST); $query=" SELECT * FROM `table_name` WHERE username='$_REQUEST'"; $run=mysqli_query($con,$query); $numrow = mysqli_num_rows($run); if($numrow<1) { Continue Reading

cURL with Basic Example

cURL is basically a library that lets you make HTTP requests in PHP. It is often used to access data from outside web pages. Common uses include reading rss feeds or accessing third-party API systems. The libcurl currently supports the Continue Reading

Pie Chart – Android

Step 1: Add dependency to build.gradle (Module app) compile 'com.github.PhilJay:MPAndroidChart:v2.2.2' Step 2:Add following lines in Your Xml file <com.github.mikephil.charting.charts.PieChart android:id="@+id/chart1" android:layout_width="300dp" android:layout_height="300dp" android:layout_margin="5dp" /> Step 3: Write the Java code in Your Activity package com.gayatrisoft.sip_calculator; import; import android.os.Bundle; import Continue Reading

Android Application Heap Size..

Add more memory for heap size problem. Soution – Add in Gradle “Module : app” dexOptions { javaMaxHeapSize “2048M” } Example: android { dexOptions { javaMaxHeapSize “2048M” } compileSdkVersion 25 buildToolsVersion “25.0.2” defaultConfig { applicationId “s3.demo_map_navigation” minSdkVersion 15 targetSdkVersion 25 Continue Reading