Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ding
    @michael-eddy
    <provider android:name="android.support.v4.content.FileProvider" android:authorities="com.michael.bilibili_droid.fileprovider" 
    android:grantUriPermissions="true" android:exported="false">
          <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/update_files" />
            </provider>
    calling VFileProvider.GetUriForFile(context, "com.michael.bilibili_droid.fileprovider", jarFile)
    throw a excption
    android.content.res.XmlResourceParser
    android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)
    Rakesh R Nair
    @rkshnair

    After updating few packages I am getting this Error. Is there any way I can find which library is referencing the assembly?

    /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(3,3):
    Error XA0121: Assembly 'Xamarin.Android.Support.CustomTabs' is using '[assembly: Java.Interop.JavaLibraryReferenceAttribute]', which is no longer supported. Use a newer version of this NuGet package or notify the library author. (XA0121)

    Jonathan Pryor
    @jonpryor
    sounds like our error message needs to be better :-
    :confused:
    grep would likely work
    Rakesh R Nair
    @rkshnair
    Screenshot 2020-07-29 at 21.03.41.png
    how i can use grep in Visual Studio for MAC. I am sorry I never tried this
    Jonathan Pryor
    @jonpryor
    i think you can grep -r Xamarin.Android.Support.CustomTabs .
    open thee Terminal.app, learn thee they Unix commands, and, uh… yeah.
    *thy
    Rakesh R Nair
    @rkshnair
    okay let me try
    Thanks
    Jonathan Peppers
    @jonathanpeppers
    @rkshnair I would try just installing a newer version of this package:
    https://www.nuget.org/packages/Xamarin.Android.Support.CustomTabs/28.0.0.3
    If a @(PackageReference) like this not listed in your project, this should force it to use a newer one
    If there is a problem, NuGet will probably tell you which library it was -- or it will "just work" because you have a newer one
    IceTheProm
    @IceTheProm
    heyy
    Jonathan Pryor
    @jonpryor
    IceTheProm: hello!
    Please note that this channel is migrating to Discord: https://aka.ms/dotnet-discord on the <#C03CEGRUW|android> channel
    Jonathan Peppers
    @jonathanpeppers
    Are there any other links to gitter like the one on the README?
    https://github.com/xamarin/xamarin-android/blob/master/README.md#feedback
    Jonathan Peppers
    @jonathanpeppers
    I sent this in for now: xamarin/xamarin-android#4974
    Jonathan Pryor
    @jonpryor
    @grendello: call is over. have a good week!
    Marek Habersack
    @grendello
    @jonpryor thanks, you too!
    zubair1995
    @zubair1995
    hello friend
    how can i call the activity function from the class
    CreateAccountActivity.MyMethod(); Its not working
    anyone help me
    IoTFier
    @IoTFier
    @jonathanpeppers , @jonpryor - are we still going to continue on Gitter or on Discord ?
    I posted one error there. Your help will be appreciated. Thanks.
    Jonathan Pryor
    @jonpryor
    @IoTFier: Please migrate to Discord.
    IoTFier
    @IoTFier

    @IoTFier: Please migrate to Discord.

    :) @jonpryor - I am already on Discord. That's what I stated earlier. Thank you for your help.

    lats1973
    @lats1973
    hi everybody
    good mournigs
    i have a trouble
    cant use a demo made in xamarine for android
    i personally never used xamarne but that trying
    its about rfid
    anybody know about rfid in xamarine?
    Jose
    @pepone
    is .NET 5 for Xamarin available with Visual Studio 2019 preview?
    Timothy
    @timothyparez
    great.... another group moved to discord :(
    huyphanvan
    @huyphanvan
    hi bros
    could I develop an app based on Xamarin that can run on android, ios and chromeOS as cross-platform terms?
    used Xamarin for android is OK, but ChromeOS and iOS unexperienced with Xamarin
    jrockhub
    @jrockhub
    Hi Everyone.
    public async Task UploadImageAsync(Stream image, string fileName)
    {
    string url = "http://localhost/api/ImagesUpload";
    HttpContent fileStreamContent = new StreamContent(image);
    fileStreamContent.Headers.ContentDisposition = new System.Net.Http.Headers.ContentDispositionHeaderValue("form-data") { Name = "file", FileName = fileName };
    fileStreamContent.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/octet-stream");
    using (var client = new HttpClient())
    using (var formData = new MultipartFormDataContent())
    {
    formData.Add(fileStreamContent);
    var response = await client.PostAsync(url, formData);
    var HtmlResult = await response.Content.ReadAsStringAsync();
    var result = JsonConvert.DeserializeObject<string>(HtmlResult);
    }
    }
    API is working fine but when upload from xamarin app then its not uploaded.
    From postman its working fine.
    Anyone help me out.
    image.png
    Denis
    @redradist
    Hi all
    I got by some reason on Android Mobile Phone PairingVariantConsent that is available only for Android.Things library
    Does anybody faced with the same issue ?