Posts

Powering my home by Solar Energy

Image
I am interesting in renewable energy area from my childhood. Sri Lankan government introduced grid solar power system for residential few years ago. I was able to install grid solar power system at my home in 2014  with my uncle's help who has great knowledge about electric systems. Mainly there are two types of Solar Systems i.e off grid and grid tied. DC off grid system rarely use [most electric components are capable only for Alternative Current (AC)]   AC off grid system Inverter converts Direct Current (DC) to Alternative Current (AC). You can use a generator if you want to get power when battery bank is dead. grid system with batteries With a Battery bank you can have current to your home when distribution line power cut. you cant do that without a battery bank. because extra power should be store somewhere (in a battery bank). grid system with batteries I am using this system (without a battery bank). At Day time we are usin...

Bingo Deals: 2nd year SEProject - Part V - Screen Shots

Image
Bingo Deals 2nd year software engineering project Shiluka Raveen Dharmasena Undergraduate Computer Science and Engineering University of Moratuwa Main Window of the Application Live Deals : show the Live Messages from the site Deals Around : show the Deals around your current location Island wide Deals : show all the deals Island wide Deals window  User can choose which kind of category he/she needs. There are 4 types of categories 1. Café Deals 2. Food Deals 3. Movie Theater Deals 4. Shopping Deals   Island wide Deals List Show all the deals from database (Name of the location and the vicinity)   Currently show the default icon of the location Deal Window There are several details about the deal Location Name : which location gives the deal  Telephone number of the location Website of the location Deal of the Location Direction to the location can be viewed by clicking the “Show Directions” Button Show t...

Bingo Deals: 2nd year SEProject - Part IV - Deployment

Image
Bingo Deals 2nd year software engineering project Shiluka Raveen Dharmasena Undergraduate Computer Science and Engineering University of Moratuwa Deployment View  This is How User receive  Evaluation Test Case Description Status Testing Alert Dialog Manager Display alerts on mobile phone passed Testing wake locker Acquire power services of the mobile phone passed Testing notification manager Allow to notify the mobile phone passed Testing GPS tracker Track the current location of the user passed Testing Connection Detector Detect the network connectivity passed Testing GCM Intent Services Test the Google Cloud Messaging base activities. passed Testing Server Utilities Test Server Base Activities passed Testing SQL Database Activities User details and site details are kept in two databases. ...

Bingo Deals: 2nd year SEProject - Part III - Use Cases

Image
Bingo Deals 2nd year software engineering project Shiluka Raveen Dharmasena Undergraduate Computer Science and Engineering University of Moratuwa Use Case View Resister for an account User can sign up for an account from the app. User need to enter email address Receive deals User can receive deals from nearby locations by clicking send deals button in the Bingo application Select whatever user wants to receive from the site There are several types of deals or coupons available such as Hotels, Super markets and Cafes. So the user can select what kind of deals he/she wants from the website Login to the account User can login to their account using username and password Get the nearby locations  User can get the information about nearby locations such as distance, reviews, address, and mobile number from the Bingo application User Application

Bingo Deals: 2nd year SEProject - Part II - Project Schedule

Image
Bingo Deals 2nd year software engineering project Shiluka Raveen Dharmasena Undergraduate Computer Science and Engineering University of Moratuwa Main objective of this app is to send deal alerts when the locations are discovered. If mobile has GPS, deals can be sent as mails (notification popup). Addition to that it finds user’s current location plotted on a map and displays details of nearby discovered sites such as address, phone number, distance from current location, ratings, reviews etc. Tasks 1. Research into project and the tools available        I. Research about the Google map API Permissions to get from the google api console, Research about JSON parser, Place JSON    parser, DirectionsJSON parsers. Research about google nearbyplaces and google directions api.   II. Research about push notifications & databases at the server GCM (google cloud message) server, SQLite database (inside android os), ...

Bingo Deals: 2nd year SEProject - Part I - Introduction

Image
Bingo Deals 2nd year software engineering project Shiluka Raveen Dharmasena Undergraduate Computer science and Engineering University of Moratuwa Why did I want to create this App ? People are always looking for great deals around them wherever they stay or traveling, but still there are no flexible solutions to meet their demands except traditional method such as email marketing, social media ads etc. It is difficult and irritating to check emails for deals around them, but if we can give updates automatically about deals to our smart phones wherever we travel, it is really awesome. Bingo is an innovative smart phone app uses android with GPS technology which helps user to get daily updates such as deals/discounts from hotels, restaurants, cafes, movie theatres, super markets or virtually anything near according to his/her current location. How this is going to work ? First user should register for a user account with his/her email address and ...

What is Dependency Injection & Polymorphism

Image
" Dependency injection is the way to decouple conventional dependency relationships between objects. " What is meant by Dependency ? Suppose there are two classes A and B. A can not carry out works without B and A can not be reused without re using B. For this kind of scenario we said " A depends on B " A – Dependant B – Dependency What Is meant by Decouple ? A and B classes are decoupled if A can be use without B and and B can be used without A. Lets assume creating a drawing application with Square , Triangle and Application classes. Square and Triangle class has same method name called draw() which draws square for a Square object and triangle for Triangle object. Polymorphism to rescue ! The Greek meaning of the word "polymorphism" is "having different forms". Same object having different object behaviors !  Added interface called Shape and the common method draw() for both ...