IPCamera Feed is not working in Android Pie - ip-camera

I am trying to show feed from IP Camera to android Application. I have code working for all devices except android Pie. Can't figure out the problem, below attached is the logcat, android code for camera feed and Manifest file.
Files
Any hint would be appreciated.

Did you tried with Camera2 api?

Related

What kind of UWP app to make for Windows camera filtering app?

The idea is to create an app that can read any local camera device, filter it, then have a new camera "virtual device" other apps can use as input.
How can this be done with UWP?
How can this be done with UWP?
Only the first part of your requirements could be done in UWP apps - can read any local camera device, filter it. UWP could connect to the local camera for capturing photo and video. You could also modify the media content as you want. More information could be known here: Camera - UWP.
But UWP apps are not able to send the camera to other apps as a virtual device. You might need to try other ways like win32 to achieve this.

Xamarin Zxing Mobile Camera permission

Whenever trying to upload my application to play Console i am getting a message that i need to specify privacy policy because of my app requesting Camera permission.
While Zxing net requeries the permission, my app does not use any of the library functionality requering camera.
Is there a way to remove the camera permission from the final androidmanifest?
What i've tried is adding tool:node="remove" which no result at all.
If you are not using any of the camera parts of ZXing.Net.Mobile, then you can probably get away of only adding a PackageReference to ZXing.Net. The ZXing.Net.Mobile bits provide views that use the camera.
So just remove ZXing.Net.Mobile and add ZXing.Net.

Xamarin Live Player crashes when loading a bitmap, but it runs fine via USB connection

I've been following the examples for using SkiaSharp with Xamarin Forms, particularly the section on using bitmaps. I'm doing this in Microsoft Visual Studio 2017 version 15.9.11. I'm only targeting Android currently.
This page https://learn.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/graphics/skiasharp/basics/bitmaps has a section on Loading a Bitmap Resource, where the bitmap is an embedded image resource in the project.
So, we add the image and make it type 'embedded resource'
and then run the example code to simply display the image on the canvas.
string resourceID = "SkiaTest.Media.monkey.png";
Assembly assembly = GetType().GetTypeInfo().Assembly;
using (Stream stream = assembly.GetManifestResourceStream(resourceID))
{
resourceBitmap = SKBitmap.Decode(stream);
}
All pretty simple, and it works fine if I run the code on my phone if it is connected via USB in the standard way (a Sony Z5) so the second in the list here, not the Player:
Here it is working via USB:
But if I try and use Xamarin Live Player (the first in the list above) then it crashes on this line:
using (Stream stream = assembly.GetManifestResourceStream(resourceID))
Note that the app runs fine in Live Player if I don't try and load the bitmap, it's only that line that triggers the crash, and only in Live Player.
So I wonder if anyone has any ideas what could be causing Live Player to fail over this issue? Is the resource not being copied to the phone? Does Live Player just not support this type of activity?
The reason you are facing this issue is that Embedded Resources are not yet supported by Xamarin Live player which is causing this exception.
More details can be found in the Troubleshooting Xamarin Live Player document.

Nativescript camera take multiple pictures before returning to the app

I have a NS 4.1.3 application using TS where I use the nativescript-camera plugin to allow the user to take photos which are saved to the device's photos library.
Everything works great, however, after each photo the camera closes and the user is back at the app and if they want to take another picture they have to go through the same process.
Is there a way to open the camera, take multiple pictures and only when done return back to the app? I could not find anything on the plugin's github page.
Thank you.
you can't take multiple photos in one session using native camera api due to platform limitation. what you can do is capture camera session using AVCaptureSession for ios and CameraCaptureSession camera2 api for android and then show it to user. after that on some button click capture photo.
here is some plugins which might help you:
https://github.com/NickIliev/NativeScript-cameraApp-poc
https://www.npmjs.com/package/nativescript-camera-preview
I ended up using navivescript-camera-plus
They have done a great job exposing the Camera and Library functionality via the plugin's api.

Activate the back camera on WP8 Device

I'm trying to do something very simple: implement a program that activates the back camera of my WP8 device. Could anyone help me do that?
If so you could try using the PhotoCamera class in order to capture images. I'm not pretty sure whether you'll be able to open the native Camera app of the device.
References:
How to access the camera from my Windows Phone 8 app (XAML and C#) and save the taken picture in a determined folder?
Sample from MSDN
Minimal Camera app in Windows Phone

Resources