Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xamarin]

The tag has no usage guidance.

0
votes
0answers
12 views

Implemetation options for Android services handling requests, polling data and sending data

I need to create a Service app, Requirements 1 a request handler accepts request when it is sent from the other in house apps installed on the same device, saves the data to SQLite, 2 another ...
1
vote
0answers
26 views

Does this archicteture work for a Mobile App and Destkop App

This is a proposal of a Distribuited Cloud Architecture for DAWUF which is a Digital Audio Workstation under design and developmente in JAVA, XAMARIN, with REST services The white boxes are the ...
1
vote
0answers
26 views

xamarin pub/sub comunication between devices

How would you go about if you would like to create something like: You have let say 3 devices (can all be IOS or Android, a mix not nececery) One of the devices would act as a master and the other 2 ...
0
votes
1answer
76 views

RESTful API get requests by “modified” condition from mobile app

Currently I have following scenario. I have two projects: ASP.NET Core Web API and Xamarin.Forms app. General idea is to have consumer (Xamarin.Forms app) which is getting data from server (Web API)....
-2
votes
1answer
58 views

How to calculate user activity

I am working on a Xamarin.Forms PCL social media app project. People can like posts and comment on them which is saved in MySQL. I would like to add an activity page. What is the best way to ...
1
vote
1answer
115 views

Best way to manage services and exceptions

I have a mobile app who consumes a api service. I have a class to manage all the operations (get, post, put) who throws exceptions if the result is not 200. The app was originaly designed to be ...
3
votes
3answers
494 views

How to decouple code behind with business logic?

I'm having a hard time to decouple two classes. I have my code behind (will call it "class A") that I use to tweak the interface (defined in xaml). Next I have a class B that is only logic. But ...
0
votes
0answers
246 views

MVVM Portable ViewModel / WPF/Xamarin Messaging

I have a WPF app targeting .NET 4 which I am updating and maintaining for a customer. In the course of the project, we have also ported the functionality to a Xamarin mobile app. I was able to ...
1
vote
1answer
65 views

Most convenient way to implement the models used by the Service Access layer of a Xamarin application

I am new to the Xamarin technology, and I am working on an Asp.NET Core Web application which basically delivers micro-services which will be consumed by a Xamarin.Forms application. So my Web API ...
0
votes
1answer
231 views

How to add formatting/validation rules to UITextfield on Xamarin.iOS

This looks like another network's question, but I think it fits better on here rather than StackOverflow, since it's not gonna have one basic answer. We are in the context of iOS development, I'm ...
0
votes
0answers
51 views

MVVM/Xamarin implementing services that require other services

Currently, I have a xamarin app that has a database, web service and 2 other services to handle the logic between the database/web service and the ui. I'm trying to make it all async, and therefore I ...
0
votes
0answers
43 views

How to setup e-commerce alternative images for one product?

On a lot of e-commerce websites, they have the main product image then multiple alternative images for the same product shown below. I was wondering what's the general idea behind how best to ...
1
vote
0answers
99 views

How to separate source code directories from build directories with VS Xamarin solutions

I've been using CMake for years when developing in C++ using Visual Studio. My directory layout has always seen me separate source code directories from build directories. For those who are not ...
0
votes
2answers
1k views

Distinguishing the differences between view model and service layer

First project trying to use MVVM and Xamarin Forms, so please be gentle; however, I am at a lost on how to differentiate between the logic that belongs in the view model and model/service layer. I am ...
0
votes
2answers
343 views

How to properly architect app to display long forms with a lot of controls?

Basically, I've been tasked to work on a Xamarin.iOS app (predominantly for tablets only) that would display a long scrollable form that contains ~200 controls (buttons, switches, text fields, etc...)....
-5
votes
1answer
109 views

How much time/labor is spent setting up, and publishing a cross-platform mobile app? [closed]

Let me provide an imaginary scenario so that my question is fully understood. Let's assume you are an experienced cross-platform developer for iOS, Android and Windows Mobile. Someone asks you to ...
-3
votes
1answer
206 views

Would learning both XAML UI and XML UI be helpful in improving understanding of XML in general? [closed]

I'm familiar with HTML/CSS, and some non-UI programming using C#/node.js/Java and looking at options for building a simple mobile app. I will definitely use Xamarin, and have to choose between ...
6
votes
2answers
507 views

Should I remove “everything” from my controller in MVVM?

I'm working with Xamarin and we are following the MVVM design pattern. For those who don't know what Xamarin is, it's a technology that allows us to build iOS and Android apps with shared code. ...
1
vote
1answer
789 views

Is it good idea to save user/password and get token from server automatically behind the eyes of the user?

Suppose I have a REST API backend and it is used by a mobile app. Authentication is based on tokens (JWT) with expiration time. Mobile app user does not want to enter credentials so often, even for ...
0
votes
2answers
683 views

Web API vs Entity Framework with Repository Pattern using Xamarin

My team currently has a WPF application that runs on PC just fine. It utilizes Entity Framework 6 with the Repository/Unit of Work pattern that talks to Azure for the database store. We service a ...
1
vote
1answer
782 views

WCF Server for a mobile apps (Xamarin.Forms)

I have a “whiteboard” question. Technically I’d like to ask you about one thing I’m not sure in my design, but if you have time for a quick review the rest of the design - that’d be great. Every tip ...
4
votes
2answers
1k views

Is blocking a UI thread sometimes a good idea?

Say, I created a custom button which includes some animation which is played when the button is clicked. The animation takes 500ms. During that time (until the animation is over), the button should ...
1
vote
0answers
1k views

Sockets (SignalR) vs Push notifications

I'm developing a Xamarin.Forms app with a .Net Web API backend. I definitely don't want to do long polls on my app to the server, but I need the app to remain updated with the server information. I ...