ESP32 development board is one of the popular board across the IOT developer community. It is because the board itself packed with two built-in communication features, Wifi and Bluetooth (BLE). When programming a controller, sometimes we need to add the restart feature that let the user manually r … [Read more...]
How to Get Hardware Info of ESP32
With the increasing popular of IOT technologies, there are also available development boards from many manufacturers. One of popular board is ESP32 which comes with integrated wifi and bluetooth (BLE) capability. We can use Arduino framework to program the board either using Arduino IDE or other IDE … [Read more...]
How to Setup MQTT Server Using Mosquitto and Libwebsocket on Freebsd
Recently i'm working on IOT project that needs to send data from ESP32 development board to web browser and mobile devices using MQTT protocol. The MQTT connection between the board and other clients didn't have problems using standard/native MQTT protocol, but it came into problem when the client … [Read more...]
Eclipse Issue on Os X Yosemite – To open “Eclipse” you need to install the legacy Java SE 6 runtime
Recently i just upgraded my Macbook Pro to the new Macbook Retina Display (mid 2014) that comes default with OS X Yosemite 10.10.1. After installing Java JDK 1.8, all my Android IDE (Eclipse and Android Studio) work well so i can continue my development as usual. The problem comes when i update the … [Read more...]
Blue Bamboo P25 Printer Android Demo Application With Source Code
Blue Bamboo P25 printer is a lightweight and portable thermal printer that provides low cost printing in mobile and wireless environments. It supports mobile application printing over Bluetooth, USB or Serial port (RS-232). It also has a good connectivity with Android device, makes printing from … [Read more...]
How to Programmatically Pair or Unpair Android Bluetooth Device
In bluetooth wireless communication, if two devices want to connect and share data, they have to be paired first. To be paired means the two devices are aware of each other's existence and trusted each other. Using Android Bluetooth API, we can use createBond method to pair with a device … [Read more...]
How to Programmatically Scan or Discover Android Bluetooth Devices
Through Android Bluetooth API, developers can access most of bluetooth functionalities and let the applications wirelessly connect to bluetooth devices. Before connecting to a device, an application must discover or scan available bluetooth devices, request pairing and connect to the device. … [Read more...]
How to Make Android ListView or GridView Expandable inside ScrollView
We all know that placing a ListView or GridView inside ScrollView will make them becoming difficult to scroll and can not be expanded. Android doesn't provide a built in API to handle this problem so we have to do a little hack by subclassing those two views. This is hack i found on … [Read more...]
New BBM for Android V2.0 is Out, Brings Channels, Voice, Location Sharing, Tons of New Emoticons, Larger Groups and More
Good news for BBM users, new version 2.0 is currently available on Google Store. This new update brings a lot of changes and new features. BBM Voice - Free voice calls between BBM contacts (Android, Blackberry, Iphone) BBM Channels - join conversations happening now with BBM users, brands, … [Read more...]
How to Convert Time in Milliseconds into Relative Time Format in Android
Relative time format like "moments ago" or "5 minutes ago" or "one month ago" like those in Facebook, Twitter or other social media makes the time information easy to read and human readable. In Android we can use built in API DateUtils or external java library Prettytime to implement this … [Read more...]
Recent Comments