Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.
/ Cybatica Public archive

Android / iOS App of Visualizing and Forecasting Cybersickness

License

Notifications You must be signed in to change notification settings

AconCavy/Cybatica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cybatica

Cybatica shows visualizing physiological data and forecasting a cybersickness from physiological signals using Empatica E4.
The application was developed using Xamarin.Forms.

Screenshots

Requirement

Platform

  • Android 6.0+
  • iOS 12+
  • At present, the provided SDK does not work properly after iOS 13.

Setup

Please setup a development environment of Xamarin. (see Get Started with Xamarin)
Then, restore NuGet packages.

API keys

Add AppPrivateInformations.cs file to project of Cybatica.

namespace Cybatica
{
    public static class AppPrivateInformations
    {
        public static string EmpaticaApiKey = "Your E4 Developer License Key";
        public static string SyncfusionLicenseKey = "Your Syncfusion License Key";
    }
}

E4 Developer License Key

Logon in E4 connect, then you can get API key in Developer Profile.

Syncfusion License Key

Logon in Syncfusion, then you need to purchase or trial Xamarin UI components.

Create Binding Library

The application needs to create binding library of each platforms.

Android

Empalink sdk is downloads from Developer Profile page.
Then, create a binding library according to Binding an .AAR
Some errors will occur when building, so fix its. (e.g. Delegate to System.Delegate)
Add .dll reference to project of Cybatica.Android

iOS

E4link sdk is downloads from Developer Profile page.
If you develop on Windows, you change extension of E4link file from E4link to E4link.a when add E4link file to binding project.
Then, create a binding library according to Binding an iOS Objective-C Library
And, add some property in E4link.linkwith.cs.

using ObjCRuntime;

[assembly: LinkWith("E4link.a", LinkTarget = LinkTarget.Simulator | LinkTarget.Arm64 | LinkTarget.ArmV7,
    ForceLoad = true, SmartLink = true, Frameworks = "Foundation UIKit Accelerate",
    WeakFrameworks = "CoreBluetooth", LinkerFlags = "-ObjC -lz")]

Add .dll reference to project of Cybatica.iOS

Reference

T. Magaki and M. Vallance, "Real time Monitoring Method for Cybersickness using Physiological Signals," In Proceedings of the 25th ACM Symposium on Virtual Reality Software and Technology (VRST), Parramatta, NSW, Australia, 2019. doi: 10.1145/3359996.3364700.

About

Android / iOS App of Visualizing and Forecasting Cybersickness

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages