Xamarin

How to update specific data into SQLite in Xamarin

强颜欢笑 提交于 2021-02-11 08:10:04
问题 I have created a database using SQLite which store student details including Student Name (String) Student Password (String) Student ID (String) Student Attendance(Boolean) In my solution, there are 3 view controller as describe below: ViewController1 : Table View, Display List of Students. ViewController2 : Normal View Controller with 3 text field and 1 switch button to get all 4 user detail. ViewController3 : A button that enable user to tap, and turn the attendance (boolean) to on. I would

How to update specific data into SQLite in Xamarin

不羁岁月 提交于 2021-02-11 08:08:46
问题 I have created a database using SQLite which store student details including Student Name (String) Student Password (String) Student ID (String) Student Attendance(Boolean) In my solution, there are 3 view controller as describe below: ViewController1 : Table View, Display List of Students. ViewController2 : Normal View Controller with 3 text field and 1 switch button to get all 4 user detail. ViewController3 : A button that enable user to tap, and turn the attendance (boolean) to on. I would

How to update specific data into SQLite in Xamarin

你。 提交于 2021-02-11 08:07:48
问题 I have created a database using SQLite which store student details including Student Name (String) Student Password (String) Student ID (String) Student Attendance(Boolean) In my solution, there are 3 view controller as describe below: ViewController1 : Table View, Display List of Students. ViewController2 : Normal View Controller with 3 text field and 1 switch button to get all 4 user detail. ViewController3 : A button that enable user to tap, and turn the attendance (boolean) to on. I would

MvvmCross Android ViewStub

瘦欲@ 提交于 2021-02-11 06:53:23
问题 I recently found a class called ViewStub that can be used to "lazy-load" a layout-resource. The usage is very straight forward: In the layout file I use: <ViewStub android:id="@+id/content_stub" android:layout_width="match_parent" android:layout_height="match_parent"/> And in my code: var stub = this.FindViewById<ViewStub>(Resource.Id.content_stub); stub.LayoutResource = Resource.Layout.FirstView; stub.Inflate(); However, this way the Bindings won't work! I know, that using mvvmcross I have

Setup Web Authenticator in Xamarin Essentials for local Android development

巧了我就是萌 提交于 2021-02-11 05:56:43
问题 I am trying to setup development environment to integrate Google sign-in on Android using Web Authenticator in Xamarin Essentials. In the Web API project, same AuthController is included described in this article. It is running on https://localhost:44311/api To call the API from emulator, API url is referenced as https://10.0.2.2:43411/api as described in this article. Now, I am able to call the API url using await WebAuthenticator.AuthenticateAsync(apiUrl, callbackUrl) But, when API tries to

Setup Web Authenticator in Xamarin Essentials for local Android development

纵然是瞬间 提交于 2021-02-11 05:55:08
问题 I am trying to setup development environment to integrate Google sign-in on Android using Web Authenticator in Xamarin Essentials. In the Web API project, same AuthController is included described in this article. It is running on https://localhost:44311/api To call the API from emulator, API url is referenced as https://10.0.2.2:43411/api as described in this article. Now, I am able to call the API url using await WebAuthenticator.AuthenticateAsync(apiUrl, callbackUrl) But, when API tries to

Xamarin - SignalR Hanging on connect

岁酱吖の 提交于 2021-02-10 20:29:13
问题 I'm trying to connect my Xamarin app to my SignalR backend which is hosted on Azure. The issue I'm having is every time I call StartAsync() on my HubConnection it just hangs the client and the request is never completed. I have tried break pointing through the app to make sure this is actually where the hang is happening. I have tried using the exact same code on an ASP.Net Core project to confirm the SignalR connection is working, which it is, I can connect and send commands successfully. I

Xamarin - SignalR Hanging on connect

≡放荡痞女 提交于 2021-02-10 20:28:28
问题 I'm trying to connect my Xamarin app to my SignalR backend which is hosted on Azure. The issue I'm having is every time I call StartAsync() on my HubConnection it just hangs the client and the request is never completed. I have tried break pointing through the app to make sure this is actually where the hang is happening. I have tried using the exact same code on an ASP.Net Core project to confirm the SignalR connection is working, which it is, I can connect and send commands successfully. I

How to perform a simple background task on Xamarin iOS

感情迁移 提交于 2021-02-10 20:25:15
问题 In our app users can track and submit journeys they have recorded. I need a simple way of creating a task in iOS. I have already created and tested this on Android. It works via: The user selects the journeys they would like to submit. Taps sync and a foreground service is created that syncs the journeys to our API. This service will continue to sync journeys even if the app is put into the background or even closed. So in short how can i achieve this on iOS 9-13? I have already tried

Did Xamarin forms supports Bing maps insted of Google map native control?

十年热恋 提交于 2021-02-10 17:53:51
问题 We have an requirement for showing Bing maps view in Xamarin forms app for Android and iOS both. We have done the integration of Google maps for both platforms with the help of https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/map#Using_Xaml and https://github.com/amay077/Xamarin.Forms.GoogleMaps. I neither found any documentation that Bing maps supported on Android and iOS nor any thing says it did not support. So How can I get documentation to integrate Bing maps in my