Tag Archives: startActivityForResult

Floating Button like Facebook Chat in Android

By | July 20, 2017

Floating widgets float over the screen over any app that is currently running. Here we will make a floating action button that you can drag around the screen to position and do actions on it. Add Permission For drawing over the other apps, you need “android.permission.SYSTEM_ALERT_WINDOW” permission. So add this entry in your manifest. Our… Read More »

Bluetooth Demo in Android – Listing paired Devies, Find other Online BT devices, Connect to a BT Device, Communicate between connected BT Devices ( Chat ).

By | March 10, 2016

In this Demo we will see Check compatibility of the device. Turn On/Off Bluetooth, Making it discoverable List Paired Devies. Check for Online Bluetooth Devices. Connect with a Device. Communicate between Connected Bluetooth Devices. Disconnect from Device. You can download the complete Android Studio Source code at the end of the post. Before We start… Read More »

Select an Image from gallery in ANDROID and show in an ImageView.

By | April 20, 2012

Hi all In this tutorial I will show you how to get an image from your phone gallery and show it in an imageview.Here we use intents to open up the image gallery and get the image URI.   Demo   Watch Video Tutorial   Steps : Ask storage permission from the user if the… Read More »

How to Open camera in ANDROID?

By | June 25, 2011

Hello everyone.. In today’s tutorial I will show you how to use camera in ANDROID in your program. In this tutorial we will be having a button which will open the camera and after taking the photo it will show it in an imageView. Note: This program will work only in the real device not… Read More »