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
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
First iOS App : Centaury+ IoT remote control App
This is my first published iOS App which is able to control your remote devices connected to Industruino (version of Arduino) over internet (using MQTT protocol). The app is available only for several countries only though via Apple App Store: The project is done using Xamarin C# and MVVM architecture. The App has a dynamic UI which … Continued
Industruino <-> Android communication over MQTT using Ethernet
Commonly Arduino is used to work with Android over MQTT. But for an industrial setting Industruino is more practical. You don’t need to use third party IoT platforms like Cayenne or Blynk and has the luxury to customize the solution according to your need. Nevertheless, it was great fun to be able to control Industruino … Continued
Using Firebase in place of own hosting, database and what not!
Firebase benefits Key/Value document (NoSQL) Real time database Hosted URL based Integrated Authentication Firebase NoSQL data design principles: – Don’t treat firebase like a relational database – User Root branches as your primary container – Avoid deep nesting – Duplicating Data (More art than science) – Design around data access – Data design is driver … Continued
First Android App using Kotlin : language features
Project Link Points to ponder from this app about Kotlin: Koding Efficieny Cocise Syntax Avoids boiler plate code (really slick) Error reduction Null Safety Ability to indicate intentions Excellent compatibility with Java and Android Singleton pattern for a class is just done using object keyword insted of class (So simple!) – Automatically instantiated – All … Continued
Using Braintree SDK on Android for Paypal and Credit Card Payments
Previously it was just using Paypal SDK to accept Paypal payments but now it requires you to use Braintree SDK to accept Paypal, Credit card or other types of payments. Accepting a payment through Braintree SDK is a multistep process. Requirements: 1. Braintree live account (you need to apply for it, they will review and … Continued
Accepting Stripe payment in an Android app
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
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
Temperature and Humidity Controller for Egg hatching
Project source : https://github.com/mzc1986/incubator /*—–( Import needed libraries )—–*/ #include <Wire.h> // Comes with Arduino IDE #include <LCD.h> #include “DHT.h” #define DHTPIN 2 // what digital pin we’re connected to // Uncomment whatever type you’re using! #define DHTTYPE DHT11 // DHT 11 DHT dht(DHTPIN, DHTTYPE); // Get the LCD I2C Library here: // https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads // … Continued