Magazine Homepage

Android Multiple language Application

The Application development is one the most demanding things that we face everyday as everyone is asking for multiple language application. in this tutorial will show to create the multiple language application.

Create Cordova Mobile Application For Cross platforms Android & IOS.

Hybrid Mobile Application are most easy to develop there are so many frameworks out there for creating mobile application :- i.e PhoneGap , Ionic  , Sencha Touch and many more


What is Cordova ?

“Apache Cordova is an open source mobile development Plugin which interact with direct OS by using Custom or Standard API’s so it makes so easy to make android or IOS application with website code HTML , JS , CSS etc. “


Understand the Architecture of Hybrid Mobile Application.



1. Need SDK installed.

2. Java 1.8 version or Greater.

3.Node JS installed.

Most Common errors while Configuring setup…

  • Environment variable for JAVA_HOME , ANDROID_HOME (Which is SDK path)
  • if you have version 1.7 JDK then update first before installing Cordova on your machine.
  • if your familiar with Bash commands then you can install Git.


install node JS in your machine and check by typing command “npm” in cmd.


If it works as same in above picture than your good go.


Check Environment Variables





To Install Cordova You need to type following command

Windows cmd :- “npm install –g cordova –save”

Hit Enter after that…




the command to create Project Structure

“cordova create hello com.example.hello HelloWorld”



the command will create Project Structure like this

Cordova Structure

  • Hooks

Hooks is Allow you to perform special activities with Cordova commands like

Before or after when you every time build application


  • Platforms

In this cordova will create platforms for mobile application like android and IOS.

  • www

this Directory is used to store all application View content which is nothing but your HTML , JS , CSS.

command will create Project Structure like this

  • Config.xml

<?xml version=’1.0′ encoding=’utf-8′?>
<widget id=”com.example.hello” version=”1.0.0″ xmlns=”” xmlns:cdv=”″> //package name and version
<name>HelloWorld</name>//Display app name
A sample Apache Cordova application that responds to the device ready event.
</description>// any description you want to give.
<author href=>//Email Id and Web address.
        Apache Cordova Team
<content src=”index.html” />//first page to load
<plugin name=”cordova-plugin-whitelist” spec=”1″ />
<access origin=”*” />
<allow-intent href=”http://*/*” />
<allow-intent href=”https://*/*” />
<allow-intent href=”tel:*” />
<allow-intent href=”sms:*” />
<allow-intent href=”mailto:*” />
<allow-intent href=”geo:*” />
<platform name=”android”>
<allow-intent href=”market:*” />
<platform name=”ios”>
<allow-intent href=”itms:*” />
<allow-intent href=”itms-apps:*” />



Cd AppName

Where AppName in above example is Hello

Type following command to create platform for android and IOS

  • Android :- “cordova platform add android –-save”
  • IOS :- “cordova platform add ios–-save”

For remove platform just replace add with Remove.



To Build the Project Run Following command

Build Android :- “cordova build android”

Build Ios :- “cordova build ios”



Run the application

cmd : – “ cordova emulate android ”


Starting Emulator….


Successfully Run The Application…


Xiomi Redmi Note 3 full Specifications

Xiaomi Redmi Note 3 has Launched with 3 Different Colours and with 2 different Specifications.

Colors available in Redmi note 3

1.Dark Grey              2.  Gold                   3.Silver

3 Colors

2 Different Configuration and with Different Price.

  • Xiaomi Redmi Note 3 (32 GB),3GB RAM
  • Redmi Note 3 (Dark Grey, 16 GB),2GB RAM
1. Xiaomi Redmi Note 3 (32 GB),3GB RAM.

Xiomi Note 3

The Launched With Lots of Features in Very Low price.


  • 32 GB Internal Space.
  • 5.5 inch Full HD 1920 by 1080 pixels IPS LCD Capacitive.
  • 16 MP primary camera with dual ISPs two-tone flash.
  • 5 MP Front Camera.
  • Android v5.1 OS
  • 1.8Ghz Qualcomm Snapdragon 650 Hexa-core 64-bit Processor.
  • 3 GB LPDDR3 Dual channel Ram.
  • Dual sim both 4G and one is optional we can use for SD-card or Sim up to the user.
  • 4050mah High-Density Lithium Battery .

Price :- 11,999 INR


2. Xiaomi Redmi Note 3 (16 GB),2GB RAM.



  • 16 GB Internal Space.
  • 5.5 inch Full HD 1920 by 1080 pixels IPS LCD Capacitive.
  • 16 MP primary camera with dual ISPs two-tone flash.
  • 5 MP Front Camera.
  • Android v5.1 OS
  • 1.8Ghz Qualcomm Snapdragon 650 Hexa-core 64-bit Processor.
  • 3 GB LPDDR3 Dual channel Ram.
  • Dual sim both 4G and one is optional we can use for SD-card or Sim up to the user.
  • 4050mah High-Density Lithium Battery .

Price :- 9,999 INR

OTP verification for android application or Website.

OTP is verification is very Simple concept when you know the overall architecture it is going to be easier.

Few things that you need to understand in order to complete the process of OTP verification.

1.OTP Scripts should be run on Servers it can not execute on localhost.

2.There are so many Gateway for SMS choose any for trial and go ahead with it for this tutorial i am going to use TextLocal they give 10 transactional SMS for Testing/Demo purpose.

Architecture for OTP verification.



<?xml version=”1.0″ encoding=”utf-8″?>
<manifest xmlns:android=””

<uses-permission android:name=”android.permission.INTERNET” />

<activity android:name=”.MainActivity”>
<action android:name=”android.intent.action.MAIN” />

<category android:name=”android.intent.category.LAUNCHER” />
<activity android:name=”.Done”></activity>




Top 10 Laptops of 2016

The market is getting so HOT with super classy new products. Every company wants to be a leader in 2016 there is so many new laptops launch in the 2016 but only a few I can suggest for Best Performance and Price.

List Of Top 10 Laptops

1.13 inch MacBook Air.

2.Dell XPS 15.

3.Samsung Notebook 9.

4.Asus ZenBook UX305.

5.HP Spectre.

6.Surface Book.

7. Lenovo Yoga 900.

8.Lenovo ThinkPad X1 carbon.

9.Acer Chromebook 14.

10.Lenovo ThinkPad x1 Yoga.

These are Best laptops that I have found for more Details Scroll Down.


1.  13 inch MacBook Air.


The MacBook Air is now with cool new Features they have improved device quality.

Up to 12 Hours of battery Life.

Display, Camera, and Mics.

It is very thin Light Powerful.

OS X is used in MacBook Air.

Powerful Applications are introduced.

Thunderbolt 2 and USB 3.

Costing Model wise.

1) 60000 INR Core i5/8GB/128GB/OS x/Integrated Graphics card.

2) 53000 INR Core i5/4GB/500GB/OS Mavericks/Intel HD graphics.

3) 69000 INR Core i5/4GB/128GB/OS X/Yosemite/Intel HD 6000.

4) 83000 INR Core i5/8 GB/256GB/OS X EI Capitan /Integrated Graphics.


2.Dell XPS 15.

2.Dell XPS 15.

The Finest laptop Dell has Launch With the Price of 95000 INR.

It is the Smallest 33cm 13 inch laptop which is having screen almost without border it looks very attractive almost design is perfect for use

as laptop or Tablet as Dell is known for good quality and they give good Warranty

as the laptop or Tablet as Dell is known for good quality and they give good Warranty for each product.

6th generation Intel Core Processers

Windows Office 365 personal, 1 year Subscription.

MacFee Live Safe 12 Month Subscription.

Thunderbolt 3 Support Power In/Charging.

3 in 1 Card Reader(SD,SDHC,SDXC).

Camera HD(720p) webCam with dual array Digital microphone.

The battery is Build-in-to the laptop and is not replaceable by the customer.


3.Samsung Notebook 9. Samsung 9.

Samsung one of popular brand in mobile phones and laptops the Samsung Notebook 9 is Ultra Slim 13.4mm thin 840g* Ultra light Weight

10 hours Battery Life.

The display is Bright and sharp view for outdoor use.

Super-vivid Full HD Display.

Consulting Mode 180 degree rotate.

Practical Backlit Keyboard.

SideSync with your Samsung smartphone.

96019.00 INR.


4.Asus ZenBook UX305.

Asus ZenBook UX305

Asus ZenBook UX305 is Ultra Small to carry and weight is 2.6lbs which are very small as compared to other laptops at price 50000 INR.

Launch Date :- 16/02/2015

3 Cell Li-ion Polymer and 45W AC adapter.

The display is Bright 1920 by 1080 resolution .

Full HD Auto IPS LED Backlit Display.


The weight of Laptop is 1.2 Kg.

5.HP Spectre (Power can be this Slim)

HP Spectre.

HP spectre is one of the stylish laptop in the market for youth look is extremely incredible which thin and 2 in 1 use laptop launched by HP at 130000 INR high-end Configuration.

9 hours Battery backup.

2 in 1 used carry an anywhere easy perfect portable device with power.

Ful HD LED Backlit Edge-to-edge Gorilla Glass 4 Bright View Display.

Quad Speakers

The weight of Laptop is 1.11 Kg.

6.Surface Book.

Surface Book.

The surface is one Of the Top laptops in 2016 The Ultimate laptop by Microsoft the size of the surface is too thin as compared to Mac Battery life is longer than any another laptop 16 hours.

16 hours Battery backup.

2 in 1 used carry an anywhere easy perfect portable device with power.

Display with 6 million pixels in a 13.5-inch screen with pen and touch.

It is Made for Professional software to be run smoothly.

The weight of Laptop is 1.11 Kg.

Price 120000 INR.

7. Lenovo Yoga 900.(Ultrabook)

Lenovo Yoga 900.

Lenovo is Launching such good product that I want say that Lenovo has become most popular selling laptop company in 2016. Lenovo’s provide the best laptop at very low price.

9 to 10 hours Battery backup.

2 in 1 Full portable device.

Intel Iris Graphics 540.

JBL Speakers

 weight of Laptop is  1.3 Kg.

8.Lenovo ThinkPad X1 carbon.Lenovo ThinkPad X1 carbon.

Lenovo Thinkpad X1 carbon is one of the professional laptops in the market today it’s too slim ultra-portable and you can its complete damage free. RedDot  award 2016 Winner.

11 hours(52WHr) Battery backup.

2 in 1 used carry an anywhere easy perfect portable device with power.

14 inch OHD Non-Touch Display.

3 years onSite Warranty

The weight of Laptop is 1.1 Kg.

1.2 lacs or 1.6 lac.

9.Acer Chromebook 14.

Acer Chromebook 14Acer Chromebook 14 is Aluminum Laptop design by Acer it is Best laptop in low price

The design is pretty decent and Aluminum body feels good.

12 hours Battery backup.

1 Lithium Polymer batteries required.

14 inch Full HD ComfyView WidesScreen IPS LED-backlit Display.

$6743 INR.

The weight of Laptop is 1.6 Kg.

10.Lenovo ThinkPad x1 Yoga.

Lenovo ThinkPad x1 Yoga.

14inch 2 in 1 Device which you can carry easy and safe Ultra Slim and Light-Weight you can use it in Four Different Ways





15 min charging can give you 100 min backup.

11 hours backup.

2 in 1 used carry an anywhere easy perfect portable device with power.

OLED technology.

FingerPrint Reader.

The weight of Laptop is 2.8lbs.

What is web service (SOAP and REST)

Web services are most important while creating any dynamic application the main thing that we need to take care about

Web Service :- It is peace of code if we take a small operation that runs on the server which gives us Response when we call server Methods.

Types of Web services

  1. Simple Object Access Protocol (SOAP)
  2. Representational State Transfer(REST).

Architecture of Web services


REST :- it is a Representational State Transfer used to create public API(Application Program Interface) in which if you consider your developing mobile or website application now you have to do database operation so usually what we do need database and need to host script somewhere on server we call scripts by calling URLs and it works the same with database.

when we use web service that means your not calling your database Insert or update file your calling methods and those methods will return you something as per the request.

it is a more secure way to do CRUD operation.

REST use JSON as response and JSON can carry any data that why nowadays REST is used almost in every second application in the industry.

Example Code

// HTTP Get Method
// Path: http://localhost/<appln-folder-name>/login/dologin
// Produces JSON as response
public String doInsert(@QueryParam(“Name”) String Name, @QueryParam(“Username”) String Username, @QueryParam(“Password”) String Password, @QueryParam(“Mobile”) String Mobile, @QueryParam(“Address”) String Address, @QueryParam(“City”) String City) {
String response = “”;
//System.out.println(“Inside doLogin “+uname+” “+pwd);
int retCode = registerUser(Name, Username, Password, Mobile, Address, City);
if (retCode == 0) {
response = Utility.constructJSON(“register”, true);
} else if (retCode == 1) {
response = Utility.constructJSON(“register”, false, “You are already registered”);
} else if (retCode == 2) {
response = Utility.constructJSON(“register”, false, “Special Characters are not allowed in Username and Password”);
} else if (retCode == 3) {
response = Utility.constructJSON(“register”, false, “Error occured”);
return response;


Above code is just a sample for creating HTTP method using JAX-RS jersey framework It is a big concept we need to Study more for write own services….

Below example is working you can Test API given




SOAP :- It is used everywhere as popular protocol for web services as REST use to do CRUD operation over HTTP methods but SOAP is used for different purpose like Accessing Application logic over HTTP URLs

SOAP return XML as response.


Basic PHP setup with Xampp Server Step by Step..

First You need to have few things in order to start learning PHP

PHP is server side scripting language which runs only on server there are are two servers we need in order to start with PHP we will be using Xampp server which used very comman in industry.

1.Apache Server for Hosting the PHP website(Scripts)

2.MySQL database(PhpMyAdmin)

3.Subline Text(IDE)

You can use any IDE but sublineText is light weight and easy to handle its pretty simple to use.

STEP 1: install Xampp server after installing start the Apache server and phpmyadmin

STEP 2: Open and Start Apache and MySql server.

Note:- Sometimes it will not start because if the port is not available like Skype takes the same port which Apache needs port:80 so at that time check NetStat cmd to check the availability of port in your computer.



STEP 3: once you start all server just goto install location of xampp where you will find htdocs Floder which will be your Hosting Space there you can store your files and later your can run then by calling server name and file address.


STEP 4: Create Simple PHP file to add two number which will give you result in browser.



$one = “10”;
$two = “20”;

$Result = $one + $two;

echo $Result;

STEP 5 : need to Create Database and run following code to insert data into database.

Create DataBase with the name Demo and create table total(ID , Total) fields.

refer video to create Database and Tables…


$mysqli = new mysqli($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME);
/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());

$mysqli-&gt;query("SET NAMES 'utf8'");
$sql="INSERT into 'total' ('id', 'total') values ('$result')";




Hope this will help those who have any problem they can post Queries in the comment section…


HTC Desire 10 Pro in india at 26,490 INR.



Good News For Mobile lovers HTC launched new smartphone with cool new features with reasonable price.

HTC was going down as everyone was waiting for new stuff and powerful gadget but new we have HTC Desire 10 Pro.


  • 3 GB Of RAM.
  • 32Gb internal storage.
  • Android OS 6.0 Marshmello.
  • 3000mAh non-removable battery.
  • Weight 165.00 grams.
  • Front camera 13-megapixels.
  • Back camera  20-megapixels.
  • 1080 pixels by 1920 pixels at PPI of 400 per inch
  • 1.8GHz octa-core P10 processes.


Take A First look…






How to Integrate Admob(Bottom and Fullscreen advertise) with Andoid Example with code.

PYes…. Now You can earn more Money with help of Google adMob its will show advertisement on your application which will get you paid. In this blog will Create Sample android application full code.

  1. First You Need Ad Mob account.
  2. Generate Code for advertisement.
  3. Generate AdUnitID use it in code.
  4. Create Android Application.

Follow The Steps to Create Bottom and FullScreen advertisement in android.

Step 1: Create android project and Use following code for

package com.example.tejas.adbannerbottom;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;


public class MainActivity extends AppCompatActivity {

    private InterstitialAd mIntertitial;
    protected void onCreate(Bundle savedInstanceState) {
        AdView adView = (AdView) findViewById(; //add the cast
        AdRequest adRequest = new AdRequest.Builder()

        mIntertitial=new InterstitialAd(this);
        AdRequest request=new AdRequest.Builder()

        Button showAdButton=(Button)findViewById(;
        showAdButton.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                if (mIntertitial.isLoaded())

Step 2: Use Xml layout code for activity_main.xml 

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

<RelativeLayout xmlns:android=""

    android:text="Tejas Gawali"
    android:id="@+id/textView" />


    android:text="Click Ad"
    android:textAppearance="?android:attr/textAppearanceLarge" />

    android:textAppearance="?android:attr/textAppearanceLarge" />

    android:text="Click here" />


Step 3: You need to change Manifest.xml for getting some permissions.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""

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

        <!--This meta-data tag is required to use Google Play services.-->
        <meta-data android:name=""
            android:value="@integer/google_play_services_version" />

        <activity android:name=".MainActivity">
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
        <!--Include the AdActivity configChanges and theme. -->
        <activity android:name=""
            android:theme="@android:style/Theme.Translucent" />



Step 4: Run the Code...

Most Common Mistakes

1: Do edit Manifest.xml
2: while creating app or after creation of application click checkbox for admob integration.

  Go to Project Structure and Click Ads and Check the Checkbox of AdMob as it is given in the Below image.


Please Post Comments if you want any other problems.

What is the object in the salesforce

Objects In Salesforce

General Objects:- It is Something very Important in every technical language to make things real time. if your from any technical background and if have studied programming languages like java,c++ u might i have idea about object in other language we called object as an Instance of class and its a real time entity. but in salesforce its complete different let see what is mean by object in the saleforce 

Objects in Salesforce:-  In very simple words Its a table which contain columns and rows 

Salesforce Tabs


There are two types of Objects available in salesforce 1) Standard Objects

                                                                                       2) Custom Objects

Standard Object:-  salesforce provide you functionality to make applications using standard objects which are already created by salesforce. while create whole object and inserting fields on it that’s lenghy process but using those predefined objects some times it saves time. same objects are complousory required in the any applications like dashboard,documents and reports. 


Custom Objects:-  These are objects which are created by Users and in these user can configure this page as per his needs. salesforce gives users to create custom fields on custom objects he can also create many more things related to objects like validation rules, workflows rules etc. we can make relationship with objects using look_up and master_details relationships. 

 If you have seens previous picture of salesforce tabs in that there is custom object which can be look like this after clicking on that custom 

Objects looks after clicking on the tabs

Other Above diagram is nothing but a objects.

Click here if you want to know logic behind salesforce database