Tag Archives: Android

android

Android Studio – using photo camera.

This tutorial is a good example of how to use a photo camera with Android Studio. Start the default project named BitCam and change these files: The BitCam.java file:

The activity_bit_cam.xml file:

The result is an android application with a button. When you press the button the photo camera start.

Android Studio – using SensorEventListener.

This tutorial is about programming android hardware sensors service: TYPE_ACCELEROMETER. You can start by using the last version of Android Studio version 3.1.1 with the default project Empty Activity. Is very simple to use accelerometer with Android Studio by reading the values and show us into the text view area. The SensorEventListener is used to… Read More »