List
Black Screen Input from Camera on Android Devices
Posted Date: 2019-07-10 7:42     Edited Date: 2021-05-18 13:56     Writer: inactive

Please provide your development details as below;

1. SDK Version:  4.1.2
2. Development Environment: (eg. Unity-Android, Unity-iOS, Native Android, Native iOS):  Unity-Android
3. Tracker/Scanner:  Image Tracker
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise):  Free
5. Target Device(Optional):  Redmi Note 6 Pro, Moto One Power

Hello,

I've problem that on Android my app gets black screen instead of geting input from Camera. The same app runs when I switch my Platform to iOS. So my app doesn't have issue or bug maybe. Please respond soon.

Thank you,

Best Regards

Posted Date: 2019-07-12 0:46     Edited Date: 2019-07-12 0:46     Writer: inactive

Hi. uac1997.

What you run is the sample scene we provide?

Does the camera screen appear black as soon as you run the sample scene?

Thank you.

 

Leo

Maxst Support Team

Posted Date: 2019-07-12 6:14     Edited Date: 2019-07-12 6:14     Writer: inactive

Hello Leo,

How are you?

No, it isn't sample scene. It's my project. Everything works properly, except Camera input in AR in the app.

Please reply soon.

Thanks,

Best Regards

Posted Date: 2019-07-12 9:21     Edited Date: 2019-07-12 9:21     Writer: inactive

Hello uac.

Please open the configuration in your Android device and check if you have given the camera permission to the running app.

Often people miss this and the camera does not work.

Thank you.

 

Leo

Maxst Support Team

Posted Date: 2019-07-12 14:51     Edited Date: 2019-07-12 14:51     Writer: inactive

Hello Leo,

Camera permission is already given. So, there isn't any issue of that kind.

Thanks again,

Best Regards

Posted Date: 2019-07-17 0:57     Edited Date: 2019-07-17 0:57     Writer: inactive

We support Camera 1 API. However, there are a few cases of unsupported Chinese phones. Your phone may be a Camera 2 API. The Redmi phone you wrote down is difficult to test because we do not have it. We will still only support the Camera 1 API, and we will support the Camera 2 API later.

Thank you.

 

Leo

Maxst Support Team

Posted Date: 2019-07-17 8:34     Edited Date: 2019-07-17 8:35     Writer: inactive

Hello Leo,

Thanks for response. Meanwhile, awaiting your response I've tried it on Moto One Power, which is also supported by ARCore SDK. But not found any result in Moto One Power also. Everybody knows that ARCore is supported by very limited cellphones so I thought MaxstAR SDK would be a great option for me. 

Hoping to get it working. Please reply soon.

Thanks again,

Best Regards

Posted Date: 2019-07-18 1:02     Edited Date: 2019-07-18 1:02     Writer: inactive

Hello uac.

What did you try with Moto One Power? Did you not find any results in Moto One Power? I'd like you to speak with a subject. I can not understand the meaning of the sentence.

Thank you.

 

Leo

Maxst Support Team

Posted Date: 2019-07-19 8:03     Edited Date: 2019-07-19 8:03     Writer: inactive

Hello Leo,

I meant that I've tried out to run the same project in Moto One Power. But no result achieved the same problem is there also. Also I've tried it in Samsung S8. The result, the same issue.

Please try to get me a solution soon.

Thanks again,

Best Regards

Posted Date: 2019-09-16 7:34     Edited Date: 2019-09-16 7:34     Writer: inactive

Hello Leo,

Does version 4.1.4 of Unity SDK support Camera 2 api on Android?

Cause I want to build apk for the same, as I'm waiting for it to work since long time....

Thank you,

Best Regards

Posted Date: 2019-09-16 11:21     Edited Date: 2019-09-16 11:22     Writer: inactive

Hello Leo,

I get this error in log for not being able to access the camera:

2019-09-16 16:17:53.886 9104-9149/? E/Unity: DllNotFoundException: Unable to load DLL 'MaxstAR': The specified module could not be found.
      at maxstAR.NativeAPI.maxst_TrackerManager_updateTrackingState () [0x00000] in <00000000000000000000000000000000>:0 
      at maxstAR.TrackerManager.UpdateTrackingState () [0x00000] in <00000000000000000000000000000000>:0 
      at InstantTrackerSample.Update () [0x00000] in <00000000000000000000000000000000>:0 
     
    (Filename: currently not available on il2cpp Line: -1)

 

Please reply soon.

 

Thank you,

Best Regards

Posted Date: 2021-05-18 13:56     Edited Date: 2021-05-18 13:56     Writer: abellad

Same problem!