Android Beacon Platform used to detect beacons and send users push notification by using Proximity Beacon API and Nearby Messaging API. Due to unintended misuse Google has since stopped the service. However, instead this is a project an alternative to the same model using other workaround. It is possible to detect nearby Beacons using Android Beacon Library … Continued
Java
Bluetooth Beacon Based Covid-19 Corona Social Distancing App
This has started as a personal curiosity to use Bluetooth based distance measuring to alert users of security distance. Finally the solution came as using BLE Beacon technology to continuously detect other beacon and alert users. The app works continuously both as a beacon transmitter and receiver. It uses a secure ID for each device … Continued
Object oriented design : SOLID principles
S : Single Task Responsibility : Each class does only one task well O : Open/Close : Open for extension, closed for change L : Liskov substitution principle : if a method can take a class as a parameter then it must be able to work by taking other subclasses of that class I : … Continued
Revisiting Datastructures : Implementing Basic Binary Tree in Java
package ds; public class BasicBinaryTree<X extends Comparable<X>> { private Node root; private int size; public BasicBinaryTree(){ this.root = null; } public int size(){ return size; } public void add(X item){ … Continued
Datastructures revisited : Implementing Basic Linked List in Java
public class BasicLinkedList<X> { private Node first; private Node last; private int nodeCount ; public BasicLinkedList(){ first = null; last = null; nodeCount = 0; } public void add(X item){ … Continued
Datastructures Revisited: Implementing Stack in JAVA
This is the stack implementation in JAVA package ds; public class BasicStack<X> { private X[] data; private int stackPointer; public BasicStack(){ data = (X[]) new Object[1000]; stackPointer = 0; } public void push(X item){ … Continued
Java synchronized keyword : fixing Race condition
In a multithreaded Java program read and write operation from different thread at the same time creates race condition. The simple example here gives different output at different times: public class RaceCondition { public static void main(String[] args) throws InterruptedException{ final LongWrapper longWrapper = new LongWrapper(0L); … Continued
UML Quick Reference Guide
Allen Holub’s very useful and concise UML Reference Allen Holub’s UML Quick Reference
Bangla Tutorial – JAVA GUI Create And Show a Frame
This tutorial shows you how to Build a Simple Java GUI i.e a Frame. Here i used Netbeans IDE 6.9.1. Narration is in Bengali. এই ভিডিওতে আমি দেখিয়েছি NetBeans IDE ইউজ করে কিভাবে একটি বেসিক জাভা গ্রাফিকার ইউজার ইন্টারফেস তৈরী করতে হয়। [youtube=http://www.youtube.com/watch?v=uRIEG9BAy8s]
Bangla Tutorial – J2SE : Build & Run a program using NetBeans
This tutorial shows you how to Build and Run a java program using NetBeans IDE. Here i used Netbeans IDE 6.9.1. Narration is in Bengali. এই ভিডিওতে আমি দেখিয়েছি NetBeans IDE ইউজ করে কিভাবে একটি জাভা প্রোগ্রাম বিল্ড ও রান করতে হয়। [youtube=http://www.youtube.com/watch?v=s-IOL_tfpCY] http://www.youtube.com/watch?v=s-IOL_tfpCY