HomidoVR / SDK_Flip

3DoF Homido Controller SDK ( Unity3D [IOS/ANDROID] / Native Android )
1 stars 1 forks source link

Unity SDK not working #1

Open nyudeb opened 5 years ago

nyudeb commented 5 years ago

Hello,

I got your Demo apk and It work well with my remote but the build from Unity doesn't work ... I followed the tutorial and the only thing I had to do with the project was to add an AndroidManifest to allow bluetooth permissions:

<?xml version="1.0" encoding="utf-8"?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.unity3d.player"
    xmlns:tools="http://schemas.android.com/tools"
    android:installLocation="preferExternal">
    <supports-screens
        android:smallScreens="true"
        android:normalScreens="true"
        android:largeScreens="true"
        android:xlargeScreens="true"
        android:anyDensity="true"/>

    <uses-permission android:name="android.permission.BLUETOOTH"/>
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

    <application
        android:theme="@style/UnityThemeSelector"
        android:icon="@drawable/app_icon"
        android:label="@string/app_name">
        <activity android:name="com.unity3d.player.UnityPlayerActivity"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
        </activity>
    </application>
</manifest>

But nothing happen when I build it...no error from logcat...

I use Unity 2019.1.6f1.

Ara041285 commented 3 years ago

Leavr