Fourteen more days until the CodeRage 8 Delphi Conference starts on Tuesday, October 15. You exist to build great apps and you’re not alone. Join Embarcadero and software development experts from around the world at the CodeRage 8 Delphi Conference – the totally free, totally technical, online conference dedicated to technology and development. We have three days and more than 30 technical sessions planned for you covering a wide range of application development, software architecture and best p...
All of our modern PCs, Smartphones, Tablets and other devices include more than just a screen, keyboard, mouse, memory, and storage. The devices We use include sensors for location, orientation, acceleration, ambient light, etc. My Samsung Slate Series 7 is a hybrid or "2 for 1" device that is both a desktop PC and a Tablet. It includes two cameras and accelerometer. Even if they don't include a GPS or other hardware sensor, our programs can use APIs to find the location from known Internet acce...
Вторая попытка применения датчиков. Всё-таки до очередного релиза RAD Studio осталось несколько дней. Посмотрим, как работает датчик положения. Существует огромное количество программ для разных мобильных платформ, типа измерение уровня горизонта или вертикали, почему бы не поиграть с этим датчиком?
Как обычно создаем новый мобильный проект, на форму кидаем три TLabel и TTimer. Двойной щелчок по форме и в конструкторе пишем:
procedure TForm9.FormCreate(Sender: TObject);
var
i : Integer...
During each day of January 2013, I am creating a new video showing you how to use the new C++Builder XE3 compilers for Win32, Win64 and OSX to create multi-platform, database, multi-tier, HD and 3D applications. In this thirteenth video you will learn how to use the MotionSensor and LocationSensor components to motion and location enable your C++Builder XE3 and FireMonkey applications. You'll learn how to use the Sensor Management support in XE3 along with the two non-visual components TMotionS...
During each day of January 2013, I am creating a new video showing you how to use the new C++Builder XE3 compilers for Win32, Win64 and OSX to create multi-platform, database, multi-tier, HD and 3D applications. In this thirteenth video you will learn how to use the MotionSensor and LocationSensor components to motion and location enable your C++Builder XE3 and FireMonkey applications. You'll learn how to use the Sensor Management support in XE3 along with the two non-visual components TMotionS...
During each day of January 2013, I am creating a new video showing you how to use the new C++Builder XE3 compilers for Win32, Win64 and OSX to create multi-platform, database, multi-tier, HD and 3D applications. In the fourth video you will learn how to use the new Devices and Sensors support in your C++ FireMonkey applications. Device support is included for audio and video devices. Sensor support is included for Motion, Location and other hardware and software sensors. Stay tuned to my blo...
C++Builder XE3 includes classes for identifying, managing and using the audio and video capture devices that are available on your target Windows and Mac computers. Classes are also provided for identifying, managing and using any sensors that are available on your target Windows and Mac computers. In this blog post I show you how to use C++Builder XE3 and FireMonkey 2 (FM2) to list all of the A/V capture devices and sensors that are available on a computer.
On my MacBook Pro, the code will ...
This RAD Studio XE3 video showcases FireMonkey 2's new sensor non-visual components for Location (TLocationSensor - Windows/Mac) and Motion (TMotionSensor - Windows). These new components inherit from TCustomSensor and are built on top of the new System.Sensors unit (http://docwiki.embarcadero.com/Libraries/XE3/en/System.Sensors). For FireMonkey projects, these new components appear in the Sensors tab of the Tool Palette. Sensor APIs (TSensorCategory) supported by XE3 include:
Location
...
In a previous blog post, I showed how you can list the available sensors in your Windows and Mac applications using RAD Studio XE3 and FireMonkey 2. The System.Sensors unit is agnostic about the framework you are using (that's why the unit is part of the System namespace). This means you can also use the new Sensors capabilities in your Delphi XE3 and C++Builder XE3 VCL applications for Windows.
Here's a short example that uses the System.Sensors unit in a VCL application for Delphi XE3:
us...
RAD Studio XE3 includes new classes for identifying, managing and using any sensors that are available on your target Windows and Mac computers. In this blog post I show you how to list all of the sensors that are available on a computer (you can do this using Delphi and C++Builder). Delphi XE3 and C++Builder XE3 include the new the new System.Sensors unit.
From the unit, the categories of sensors (TSensorCategory) are:
Location
Environmental
Motion
Orientation
Mechanical
Elec...