Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all 204402 articles
Browse latest View live

Archive for Publishing is not creating an archive

$
0
0

I am experiencing a recent issue where running Archive for Publishing is not creating an archive for my Xamarin.Android project (part of Xamarin.Forms project). The Xamarin.iOS project does not have this issue.

Any thoughts on what to check for with this issue? As per the archive logs, the unsigned apk file is being created in the /bin/Release output, but that is the extent of it. No errors that I see in the logs either.


Updating Xamarin.Android.Support libraries fails

$
0
0

Hello

I trying to update libraries from 27.0.2.1 to 28.0.0. But an compatibility error raises.
What I'm doing wrong?
Please help or fix.
Thank you!

Unable to resolve dependencies. 'Xamarin.Android.Arch.Core.Common 26.1.0' is not compatible with 'Xamarin.Android.Arch.Core.Runtime 1.1.1 constraint: Xamarin.Android.Arch.Core.Common (= 1.1.1)', 'Xamarin.Android.Arch.Lifecycle.LiveData 1.1.1 constraint: Xamarin.Android.Arch.Core.Common (= 1.1.1)', 'Xamarin.Android.Arch.Lifecycle.LiveData.Core 1.1.1 constraint: Xamarin.Android.Arch.Core.Common (= 1.1.1)'.

Can any one share reference for creation Video Chat app using Xamarin forms ?

$
0
0

Any body created video chat feature using xamarin forms ? Please share some reference,

I am using TOKBOX

How to suppress "warning: linking against dylib not safe for use in application extensions"?

$
0
0
Hello,

I'm trying to add the WebRTC framework to my iOS app's broadcast extension through a binding library, but I get the error above. In Xcode you can suppress it in the build settings, but I have no idea where a similar option can be found in Visual Studio. Is it possible to suppress this error in Xamarin?

Is it possible to ship an SDK using Xamarin for iOS & Android?

$
0
0

Essentially, I'd like to ship an SDK for my product. Instead of doing this in Android, iOS and Windows respectively, I'm wondering if its possible for me to use Xamarin to ship for all platforms from one "codebase". Seems like this should be possible since Xamarin is about shipping apps from one "codebase" on multiple platforms, but I haven't seen any specific documentations on this on the Microsoft Docs.

Am I over-complicating it (aka. apps == SDK) or is this a valid concern? Please share documentation and/or past experiences if relevant :smile:

Is it possible to use BOTH a Notification Service Extension and Notification Content Extension?

$
0
0

For my application I am using a Notification Service Extension to modify the way the notification is displayed to the user.
I also want to display a photo in its content, for this I understand I would need to use a Notification Content Extension.

Is it possible to use both? I don't really see how that would be.

How can I add a photo in my notification and where would that photo need to reside? Can be it in the Library folder?

C++ OpenGL Lib in an OpenGLView?

$
0
0

Hi all -

I have a massive portable OpenGL library written in C++ that I currently use in Android Studio and XCode. This C++ library is basically the entire app while we use the Android/iOS dev environments for GUI only - events are passed down into this OpenGL lib to manipulate the app.

I've been poking around looking at cross-platform solutions as maintaining two copies of the GUI is becoming cumbersome - is it possible to render OpenGL elements natively through an OpenGLView in Xamarin.Forms (or any other view)? I'm assuming I'll have to put the actual binding logic into Xamarin.Android and Xamarin.iOS layers but am unable to find any examples of something like this.

I've looked at the mono sample SanAngeles and it looks close, but does anyone know how to do something like this in Xamarin.Forms?

Thanks!

Cross Platform + Web Application?

$
0
0

Is it possible to use Xamarin Forms to create a cross platform application that also produces a .NET web application? I want to do something simple like have a webpage with a database that users can add data to, on any platform, web, android or iOS. Thanks any advice in the matter would be greatly appreciated!


Binding to native android lib is not success

$
0
0

I have problem with binding with android native library. After do all steps then build the project. the result is success with many warning. But it not generate .net class on object browser. Please see the attachment for more detail.

is there a way to call function from appdelgate?

$
0
0

i dont know if this question difficult or not, but i want to call function from appdelgate to xamarin form, can someone help me figure it out?

Auto logout after x minutes due to idle/inactivity in android

$
0
0

Is there way on how to auto logout the session of the user, when the user is idle or not clicking the app? Thank you.

How to fix a nuget package installation error

$
0
0

Hello everyone

My problem is about installing nuget Xamarin.Essentials package for Android.
To isolate the error I started a new empty Xamarin project that I called "test".
I am installing this package directly from Visual Studio and I have the error:

**All packages are compatible with MonoAndroid, Version = v8.1.
Package restore failed. Rolling back package changes for 'test.Android'.
**
I did not find a solution to my problem on the internet.
Can someone help me and tell me where this error comes from and how to solve it.

Thank you for your answers
YC

CMSampleBuffer Attachment Setting

$
0
0

Trying to set DisplayImmediately setting but cannot se how, got so far...

CMSampleBufferAttachmentSettings[] sampleBufferAttachmentSettings = sampleBuffer.GetSampleAttachments(true);
sampleBufferAttachmentSettings[0].DisplayImmediately = true;

Store server return value

$
0
0

I receive return list with that

and I call to list with this

When clicking this list view item I want to call another page with position;

Pass parameters in Command Xamarin

$
0
0

I have this view :

<StackLayout> <ListView ItemsSource="{Binding DatasModels}" x:Name="listViewDatas" ItemSelected="Handle_ItemSelected"> <ListView.ItemTemplate> <DataTemplate> <ViewCell> <StackLayout Orientation="Horizontal"> <Label Text="{Binding firstname}"/> <Label Text="{Binding lastname}"/> </StackLayout> </ViewCell> </DataTemplate> </ListView.ItemTemplate> </ListView> <StackLayout Orientation="Horizontal"> <Button BackgroundColor="Maroon" Text="Add" Command="{Binding AddDataJson}" CommandParameter="{Binding Source={x:Reference entry}, Path=Text}"/> </StackLayout> </StackLayout>

This viewModel :

`
public ICommand AddDataJson { get; private set; }

public listViewMenuModels()
    {
        AddDataJson = new Command<string>(addDataJson);
    }

    private void addDataJson(string stringUpdate)
    {
        RestApiManager.AddData(stringUpdate);

    }`

So in the view, the x:reference doesn't work. It don't find the reference.
I have try without a listview and it's works. But the listview be problematic.

Thanks


Introducing XamBuilder: free tool for Xamarin platform.

$
0
0

When starting a new application, you usually need to create a new project and add dependencies such as MVVM frameworks, libraries, custom controls, and services. This tool will create it for you!

It support many architectures: Autofac + ReactiveUI, DryLoc + Prism, Autofac + Prism, and MvvmCross, and contains some packages as Maps, AutoMapper, MicroCharts, OxyPlot, Splat, SQLite, Json.NET, etc.

xamarintoolkits.com/Apps/Builder

images and graphs are not showing

$
0
0
   <Image Aspect="AspectFit"   Margin="0" HeightRequest="10" WidthRequest="10" Source="{local1:EmbeddedImage SmartFabricNew.images.date-icon.png}"/>

How to use CouchbaseLite with Xamarin forms PCL project?

$
0
0

I read documentation, it says use shared library option. How to do in PCL project, any example or demo? TIA

Convert list to string

$
0
0

Hello Developer
I receive server return value with var like that(circling red circle)

and return list is like that

I want to get some value on this such as id, name;
How can I covert this return list to string.
Thanks

How can we apply MVVM pattern in xamarin.android step by step

$
0
0

How can we apply MVVM pattern in xamarin.android step by step

Viewing all 204402 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>