issue with Andriod 11 and file tranfer
rick ruhl
61
Reputation points
Visual Studio 2022. 17.1.4
Xamarin Forms 5.0.0.2337
community toolkit 2.01
byte[] byteResponse = null;
Constants.RestUrl = "https://collage.exteres.com/vwalk/procPIP.php?rooftop_id=" + Constants.rooftop_id + "&film_id=" + Constants.film_id + "&contact_id=" + Constants.Username;
WebClient client = new WebClient();
Uri uri = new Uri(Constants.RestUrl);
Send.Text = "Sending.. please wait...";
// Send1.Text = "Sending.. please wait...";
await DisplayAlert("Pathname before call, if this is blank, the filename is null", videobase64, "OK");
string resultString;
try
{
client.UploadFileAsync(uri, videobase64);
}
catch (Exception ex)
{
//resultStatus.Text = $"{ex.Message}\n{ex.StackTrace}";
}
videobase64= /storage/emulated/0/Android/data/com.exteres.dealerpreviews/files/DCIM/VID_20220305_193059.mp4
So when we try to upload it will work on IOS but not on Andriod
We do get the filename, but no video file.
thoughts?
Developer technologies | .NET | Xamarin
5,378 questions
Sign in to answer