Category Archives: Programming

programming

Unity 3D – Use scripts with Unity editor .

You need to have Unity versions 2018.2b or 2017.4: You need to create a default project and add a new C# script. The script I used is named EditorWindowTest. This is the source code of this script:

This custom editor in Unity can be used for many issues. Here is the result of my… Read More »

Unity 3D – Intro about attributes and events .

This will update your component into the visual area of Unity. Some public variables will be fashioned and change with your selected attributes. The attributes can be used into programming using the []. The class can have on top this attribute and is followed by the code source. this will add a URL

this… Read More »

Unity 3D – using the gyroscope.

If your tablet, phone or laptop has a gyroscope device then you can used with Unity 3D game engine. Create your project and use this C# script to test and show info about your gyroscope device.

The programming tool : TIO .

The development team comes with this intro: TIO is a family of online interpreters for an evergrowing list of practical and recreational programming languages. To use TIO, simply click the arrow below, pick a programming language, and start typing. Once you click the run button, your code is sent to a TIO arena, executed in… Read More »

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 »