SMS Banking source-code available in github


This post is continuation of

SMS Banking source-code has been released and now you can modify it or use it for your personal use. If you want to use it for commercial purpose bear it in mind that the codes are not so much optimized and no security task been made for sending and receiving SMS through GSM modem.

Remember, the code is not so much documented so feel free to comment on this post, if you think you are going to use this SMS Banking for some purpose.
Github Repository Link Here

Have a nice day

Minor Project SMS Banking in Java


SMS Banking Projects and Locus

We (Asee and Me )have kept stall in LOCUS ( Room no. 304 and getting nice feedback from the visitors. Our presentation went good and judges seemed to be happy. Volunteers were really very helpful and co-ordination was impressive. Today I knew why IOE students are good, because they have the environment which gives them opportunities to learn and explore themselves.

Since most of the friends have asked for the source-code of the program we thought of releasing the source and making it available for everyone so others can study our code. We agree our code is not so much efficient and hasn’t been well documented but the places were document is most has been documented. If you are thinking on implementing this code for commercial purpose, then we’ll not be responsible for any kind of damage caused by the use of these codes. There is no any kind of licensing. As long as you are happy to use these codes, you are all yourself.

Project on SMS banking requires some knowledge of AT Commands for controlling the GSM/GPRS Modem

Our project requirements are categoriesed into hardware and software.


1. Java Programming Langauge (Download Link)

2. Java Communication API (Please google and find it, start with

3. Eclipse IDE (Optional)

4. MySql Server (Download Link)

5. Mysql Connector for Java(Download Link)

Softwares listed above are available freely available but we’ll also need a hardware i.e. GSM/GPRS Modem, which costs around Rs. 10,000/- here in Nepal alternative would be to use cell phones that can be controlled through AT Commands.


1. GSM/GPRS Modem

GPRS Modem

2. Connectivity Cable for GSM Modem

We have tested our system in windows and haven’t tested it under linux environment, so you’ll have to manage yourself to get it working under linux environment, let me know if you have any difficulty in setting up, and I will try to assist you as much as I can.

Initial Setup

At first you have to install Java Development Kit ( JDK 7.0 ) then You’ll have to configure Java Communication API, this is the most annoying part of the project, and people find this quite confusing. (See How to configure Java Communication API-not available will write it down soon).

After configuring Java Communication API, you’ll have to install MySql Server in your system, this will be the backend database server for our project.

To connect MySql Server throguh java we’ll need MySql connector/J for Mysql developed by MySql Developers for Java.

(PS How to configure MySqlConnector/J for Java-not available will write it down soon).

Eclipse IDE

We have used Eclipse IDE as our primary IDE for development of this software, as eclipse is quite easy for project management and development tasks and it has got some quite nice features.

bove all are available freely but we’ll also need a hardware i.e. GSM/GPRS Modem, which costs around Rs. 10,000/- here in Nepal. We can also use mobile phones which can be controlled via AT Commands.

Here is the full sourcode for the project Download Full Sourcode Here

Here is the Github repository link

Image Preprocessing with ImageJ


ImageJ is a public domain Java image processing program inspired by NIH Image for the
Macintosh. It runs, either as an online applet or as a downloadable application, on any
computer with a Java 1.1 or later virtual machine. Downloadable distributions are available
for Windows, Mac OS, Mac OS X and Linux.

It can display, edit, analyze, process, save and print 8-bit, 16-bit and 32-bit images. It
can read many image formats including TIFF, GIF, JPEG, BMP, DICOM, FITS and “raw”.
It supports “stacks”, a series of images that share a single window. It is multithreaded, so
time-consuming operations such as image file reading can be performed in parallel with other

Today, I will show here some of the features of ImageJ that is widely used in preprocessing for Image Processing.

1. Color Image to GrayScale Image

Open Color Image (File > Open > Select any colorful image then hit Open)

See the Image Below

Sample Color Image
Sample Color Image

To Convert to GrayScale
Image > type > 8 bit

See the Image Below

Sample Grayscale Image
Sample Grayscale Image

2. Change the Image to Binary
Process > Binary > Make Binary

Sample Binary Image
Sample Binary Image

Now to remove the noise I use Median filter, radius set at 10.0 pixel.
Process > Filters > Median
I set here radius to 10 that removes the most of the noise for my image.
See the image Below

Noise Reduced Image
Noise Reduced Image

Most of the Noise are reduced.

Now further cropping of the image can be done by the use of various cropping techniques.

We conclude our work here, we just saw how ImageJ can be used to analysis various techniques for image processing quicky and see the results that best suit to us.

Rather than converting image directly to Binary Image we could have used the appropriate thresholding value to get the suitable threshold value that suit to our image processing need, which can be done by

Image > Adjust > Threshold

(Scroll the horizontal scroller to the appropriate settings)

Hope you got some basic idea on using ImageJ for Image Analysis.