Aswin Balaji

Aswin Balaji

186 Sadasivam Nagar,Madipakkam,Chennai, TN 600091
Aswin Balaji

Monthly Archives / September 2015


Android Interview Questions

September 28, 2015 | ANDROID | by Aswin Balaji

1. What is meaning of Android Word? it means a robot with a human appearance. 2. What is Android? an open-source operating system used for smartphones and tablet computers. 3. Inventors of android ? Andy Rubin, Rich Miner, Nick Sears 4. Android versions history and there name? Code name Version API level Lollipop 5.0 API […]

Android Camera examples

September 26, 2015 | ANDROID | by Aswin Balaji

Camera is mainly used to capture picture and video. We can control the camera by using methods of camera api. Android provides the facility to work on camera by 2 ways: By Camera Intent By Camera API Understanding basic classes of Camera Intent and API There are mainly four classes that we are going to discuss. […]


AutoCompletion TextView in Android

September 26, 2015 | ANDROID | by Aswin Balaji

Android AutoCompleteTextView completes the word based on the reserved words, so no need to write all the characters of the word. Android AutoCompleteTextView is a editable text field, it displays a list of suggestions in a drop down menu from which user can select only one suggestion or value. Android AutoCompleteTextView is the subclass of EditText […]

Tic Tac Toe Board Designing

September 17, 2015 | ANDROID | by Aswin Balaji

Tic-tac-toe (also known as Noughts and crosses or Xs and Os) is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game. The following example game […]

SQlite Database in android

September 17, 2015 | ANDROID | by Aswin Balaji

SQlite Database in android handle the more than one table in database Basically It’s included the create database and upgrade,insert, delete,get all data from table in the database import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; import java.util.ArrayList; import java.util.List; /** * Created by Windows8 on 12-Sep-15. */public class DatabaseHandler extends […]


Android Sudoku Random Generation

September 15, 2015 | ANDROID | by Aswin Balaji

Sudoku took the world by storm in 2005, quickly becoming the latest puzzle craze in both print and online formats. Often referred to as a Japanese number puzzle, in actual fact, Sudoku has a long history with ancient origins. It is thought that Latin Squares, known since medieval times, are the progenitors of the modern […]

Android Native + Hybrid Apps

September 14, 2015 | ANDROID | by Aswin Balaji

Android captures 79% of market share in competitive global smart phone market that is why it is important for software developers to know android programming to reach out to large audience. Using two ways, developers can develop android apps.(1) Using native android sdk Here, apps are developed using native android sdk having full capability. This could […]


Latitude,Longitude and Address Using Android

September 14, 2015 | ANDROID | by Aswin Balaji

We get location and latitude using LocationManager Class in android. We can get address using Latitude and Longitude. AndroidCode private String getName(String lat,String lng) throws IOException { String add=””; Geocoder geocoder = new Geocoder(this, Locale.getDefault()); try { List addresses = geocoder.getFromLocation(lat, lng, 1);Address obj = addresses.get(0); add = obj.getAddressLine(0) +” “+obj.getAddressLine(1)+” ”         […]

Common Error in Android and How to Solve this Error

September 14, 2015 | ANDROID | by Aswin Balaji

We will go through the errors that Android developers generally face during development.  will tell you root cause & solution for the problems. (1) INSTALL_FAILED_MEDIA_UNAVAILABLE When you try to install application in your sd card in android phone & if your sd card is not mounted the you will get this error while launching the […]

Validate a WEB URL in Android

September 5, 2015 | ANDROID | by Aswin Balaji

URLUtil.isHttpsUrl(String url), URLUtil.isHttpUrl(String url) andURLUtil.isValidUrl(String url) returns true in most of the cases.After reading few post on stackoverflow i got this very easy method for validation. This solution uses regular expressions.Google Android SDK provides an interesting classPatterns(Added in API level 8). Which we can use to validate our WEB URL address. Bellow is the example to validate Web-URL […]