Quantcast
Channel: General — Xamarin Community Forums
Viewing all 5066 articles
Browse latest View live

Offline Sync with asp.net core backend?

$
0
0

As Azure Mobile App templates are no longer available in Visual Studio 2019 or later versions of Visual Studio 2017, and Xamarin Forms Templates now come with an option to create an .net core web api project I am assuming .net core is the recommended way to access an azure sql database. If this assumption is correct will I be able to use the offline sync feature I have used in the past with Azure Mobile apps?

In the .net core backend should I add the TableData(ITableData) to the models, Version, UpdatedAt, CreatedAt, etc. manually and Xamarin Forms apps using MobileServiceClient with handle all of the offline syncing as it did before?

I suppose I am basically asking if there was anything other than the TableDate between MobileServiceClient on Xamarin application and TableData in the Azure Mobile App backend that allowed offline sync to work?


Any suggestions for a good MVVM book

$
0
0

I'm trying to find a good book for learning MVVM - I think I now have the basics (very basic) but I'd like to find a book that would have more advanced topics such as using multiple view models within the same view and how to handle communication between the two view models.
I've looked on AMAZON but not finding anything that looks good.
There probably isn't one with xamarin but one with WPF would be ok. I'm coming from a Windows Forms background so have a big learning curve.
Any suggestions would be welcome.
Thanks.

How can I load the contents of a local file into a byte array?

$
0
0

I hope "local file" is even the correct term. I want to load the contents of a file in Resources/drawable in an Android app into a byte array. How?
And should it have a Build Action other than AndroidResource?

Forum Maintenance: October 4 - 3PM Pacific

$
0
0

We will be performing schedule Forum maintenance at 3PM today, October 4th. The downtime will last up to 1 hour. We apologize for the inconvenience.

Not able to log in to Xamarin Acccount getting "Please connect to the internet to proceed"

$
0
0

i have created new account and installed Xamarin and tried to open sample application with VS 2010 and VS 2013. It is asking me to SignIn. I tried to log in with my account, but I am getting Please connect to the internet to proceed.

please do the needful.

Cannot Get Any Emulator to Work

$
0
0

Hi. Just downloaded the Xamarin tooling for Visual Studio by checking the relevant box in the VS Installer.

I have installed v26.1.1 of the Android SDK Tools (they were installed with the tooling).

I've created 2 emulators (one based on a Nexus and the other a Pixel).

Neither of them work with a basic, Xamarin (Android) project.

For the Pixel, the error message is :

dsound: Reason: No sound driver is available for use, or the given GUID is not a valid DirectSound device ID
1>------ Build started: Project: EmulatorTest, Configuration: Debug Any CPU ------
dsound: Attempt to initialize voice without DirectSoundCapture object
dsound: Attempt to initialize voice without DirectSoundCapture object
audio: Failed to create voice goldfish_audio_in' C:\Program Files (x86)\Android\android-sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: warning: opening audio input failed dsound: Attempt to initialize voice without DirectSoundCapture object dsound: Attempt to initialize voice without DirectSoundCapture object audio: Failed to create voiceadc'
dsound: Attempt to initialize voice without DirectSoundCapture object
dsound: Attempt to initialize voice without DirectSoundCapture object
audio: Failed to create voice `adc'

For the nexus, the emulator spun up, but the debugger had exited.
I noticed the following message:
Couldn't connect debugger. You can see more details in Xamarin Diagnostic output and the full exception on logs.

Not sure what logs that is referring to.

Any idea why this doesn't "just work"?

Xamarin support for cognitive speech service

$
0
0

I want to use the Cognitive speech service (real-time continuous speech to text and interim results) in the Xamarin app. Is there any SDKs or plugin available? Since REST API has some limitations (no interim results), i am unable to go with it.

Received notification but image is not displayed [Firebase]

$
0
0

I am trying to send a notification with image using Firebase Console, but the problem is when i try to send the notification, the notification comes without image, but inside the fcm options it shows the image url. I am using Plugin.FirebasePushNotification in my mobile app.


How to define source property of image

$
0
0

Hello,
i want to add few images in the app. But in order to put them together i want to add them to a folder(other than drawables, which contains lots of images).
e.g. resources/drawables/Album.

So, what can be the source property for image?

Gitlab: Unexpected HTTP status code: 403

$
0
0

I am getting an Unexpected HTTP status code: 403 error in Gitlab. I can push codes to gitlab from a windows machine. When I try to update the solution in a Mac visual studio I am getting the above error message. I am the creator of the project and my username and password are correct. Is there any way to fix this problem?

How long do I need to wait before placing links in forum a post?

$
0
0

I get this message when trying to submit a post: "You have to be around for a little while longer before you can post links."

Distribution certificates not showing and provision profile not found?

$
0
0

Hey all,

I'm having a few issues with building my app into an IPA file. Visual Studio seems unable to see the distribution certificates in the Tools > Options window, only the developer certificate, and when i try to set it manually I'm seeing nothing too. Everything has been downloaded and added on the Mac, and I've attempted restarts. Has anyone got a solution or any ideas?

Thanks,
Steve

Am i following correct MVVM in this scenario?

$
0
0

Consider i have a ContentPage1 and its respective ViewModel ContentPage1ViewModel.
In this ContentPAge1 i'm having a ContentView with Content ={Binding view}. This View i am dynamically changing from ContentPage1ViewModel.

In this case , TheContentPage1ViewModel knows about ContentView view in which the view property wil get changed.

Is this correct with respect to MVVM pattern. ??

Micros charts binding through API Data

$
0
0

Micros charts binding through API Data

Please help to bind micro charts with dynamic data

How Could menu label clicked change textcolor black to white?

$
0
0
  • <Shell.ItemTemplate>
  • <Grid.RowDefinitions>
  • </Grid.RowDefinitions>
  • <Grid.ColumnDefinitions>
  • </Grid.ColumnDefinitions>
  • </Shell.ItemTemplate>

Is it possible to manage Azure resources from Xamarin form application.

$
0
0

My requirement is to create a xamarin form application to manage my Azure resources like start/stop VMS and Create VMS delete VMS and managing my resources for my subscription.

Could you please suggest if is possible with xamarin.

Thank you.

How to build cross platform dynamic library?

$
0
0

I'm using Delphi to build cross platform dynamic library (.dll on Windows, .dylib on Mac, and .so on Android), and we want to switch to C#.
Can xamarin do this?

WiFi printing from Android devices

$
0
0

I have implemented functionality printing for iOS and UWP, and am now trying to finalise my Android printing code (using AndroidPrintManager etc). I am finding that my current Canon printer is a complete pain when it comes to printing from Android devices. I spend more time configuring the printer and services than I do printing.

Can anybody recommend a cheap WiFi printer that works well with Android devices please, particularly for when implementing printing rather than using a dedicated app from the printer manufacturer?

How to get and display SQL Server Database via ASMX WebService on Xamarin.Forms

$
0
0

i used WCF Webservice Reference to apply the .asmx url

So, how can i get the database that's connected to the url

i tried the Docs but it didn't help much

专业办加拿大多伦多UofT仿真毕业,证,成绩单“(薇/扣87527357)学历证书,UofT录取通知书.UofT留信网认证UofT学历文凭。学位证使馆归国人员证明

$
0
0

专业办加拿大多伦多UofT仿真毕业,证,成绩单“(薇/扣87527357)学历证书,UofT录取通知书.UofT留信网认证UofT学历文凭。学位证使馆归国人员证明

Viewing all 5066 articles
Browse latest View live