Alternative to Google Beacon Nearby Notification using Android Beacon Library and Firebase

Leave a comment

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

Bluetooth Beacon Based Covid-19 Corona Social Distancing App

Leave a comment

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

Accepting Stripe payment in an Android app

Leave a comment

Android Integration from the official site: https://stripe.com/docs/mobile/android — Add this to your build.gradle implementation ‘com.stripe:stripe-android:6.1.2’ — We will use  built-in Stripe cardinputwidget to collect card information — in the view’s layout.xml e.g. activity_layout.xml include <com.stripe.android.view.CardInputWidget   android:id="@+id/card_input_widget"   android:layout_width="match_parent"   android:layout_height="wrap_content" /> — In the activity file MyActivity.java import com.stripe.android.view.CardInputWidget; import com.stripe.android.Stripe; import com.stripe.android.model.Token; CardInputWidget … Continued

Creating a tableLayout dynamically in Android

Leave a comment

Creating layouts using xml is easy. But creating layouts in runtime is the only option sometimes… TableLayout tableLayout = (TableLayout) findViewById(R.id.layoutTable);         LinearLayout.LayoutParams tableRowParams = new LinearLayout.LayoutParams(                 LinearLayout.LayoutParams.MATCH_PARENT,                 LinearLayout.LayoutParams.WRAP_CONTENT);         /* create a … Continued

JavaScript based Android Game Development : Trump vs Chicken

Leave a comment

Recently I have collaborated in an Android Game development with few of my friends which was named Trump vs Chicken. It was in javascript based on Phaser.js framework. Later we’ve used cocoon.io to port it to Android platform. Initially we’ve tested with cordova but it was sluggish. Maybe cordova is better for App development rather … Continued