Design pattern in Android (cross platform with xamarin) [closed] - visual-studio-2010

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to make a quite simple application in multiple devices using xamarin (iOS and Android).
So I read/think that the best way to doing this is to put one folder (shared between all projects) that contains all the:
DataLayer (for physical storage)
DataAccessLayer (support data operations)
ServiceAccesslayout (communicate with an external API)
BusinessLayer (Application Facade)
And for the view, the applications will use their custom language
So first question, does it sound great?
Second: How add that kind of folder, that should be updated in every project in Visual Studio 2012? Actually I have one solution with two projects and the two projects (iOS and Android) should have that same folter (tat contains all the "core" layers)
By the way if you have already read a tutorial that talk over that question, please give it to me.

I would have a look at MVVMCross, it is a great way of sharing the maximum amount of code across platforms.
https://github.com/slodge/MvvmCross

Related

Should I develop UI screens separately for android and iOS in Xamarin.Forms [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I am starting development of mobile application in xamarin using Xamarin Studio. I have created a sample xamarin.forms project. The project has 3 packages. Sample, Sample.droid and Sample.iOS. Sample.Droid has layout folder and Sample.iOS has storyboards. The package named Sample does not have UI related files Do I need to develop UI in both the packages separately? If yes, what about the logic/code? Please provide a link which explains me this properly. Thanks in advance.
No.Never.No Need to Create UI separately for different platform .if you will do then there is no meaning of xamarin.
Xamarin.forms is used for creating cross platform mobile application.where you can create common code for UI as well as back end logic in shared project and that will be runnable for all platform like IOS,Android,UWP.Thats the the main concept of xamarin.forms.
and of course if you want some UI changes according to platform like.you want some different UI for button in Ios and android then you can use customrenderer for that
That will provide differnt look for differnt plateform runtime.
Here https://developer.xamarin.com/guides/xamarin-forms/custom-renderer/ you can study in detail about custom renderer.

Are there any Java/Objective-C skills that are needed in order to write applications using Xamarin [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
Are there any Java/Objective-C skills that are needed in order to write fully featured applications using Xamarin or is it pure C# that compiles into Native without any adjustments needed (UI for example)?
The answer to such question depends on your application needs.
If it's just a standard application without a fancy UI, you can use Xamarin.Forms in which all the UI is written in Xaml.
If you need a more complex UI, you may need to use Renders, which involves a native code (ios/Android) in your app, but still you can write those renders in c#, so your'e not out of C# context, but you will have to know how Android/iOS OS system works, rather than the programming language syntax.
If you have a highly complex UI with interactions, then Forms is not an option, and you can use the traditional Xamarin system, but you'll need to know well how does each platform operates.
Hope it helps you to decide.

Should I choose MvvmLight or MvvmCross on a new project of simple to medium complexity? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am trying to find the main difference between MVVMlight and MVVMCrossthose frameworks. I am planning to develop for Android and Windows Phone. I will use the Xamarin framework. (and Xamarin.Forms)
The project should be a vehicle tracking application that talks to Azure-run server. The app itself will be (as usual in the beginning of a project) very simple (start, stop, keep recorded locations).
Why should I use one over the other?
Other details: VS2012
Completely up to you. People have gotten MvvmCross working with Forms here but still early days. Do you need any of the nice plugins of MvvmCross? Will there be screens that you'll need to manage per platform because they are too complicated for Forms? I don't think there is a right or wrong answer here....

What details to keep in mind when distributing my application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
On Windows 7, VB.NET Express, I have developed a simple Forms application. I don't really make use of any external plugins or anything - it just has a couple buttons, pictureboxes, GDI operations to modify some images...
And now it is complete. And I would like to already upload it. But, since this is actually the first time I try to submit something, what other details should I keep in mind when distributing my application? I mean stuff like... will my application work as expected in other machines? Other Windows versions? I am not in a proper position to test it in other machines, I fear, so I am relying the "default" settings and hoping it will simply work.
Unless you use platform-specific APIs (which are rare in your typical, garden-variety .NET application) then it should work on all versions of Windows that support your version of the .NET Framework. If the end user doesn't have that version of the .NET Framework installed, then he or she will need to get it manually. You can make that a little easier by using the built-in ClickOnce installer (Build > Publish <project name>) if you're not already using it.
Apart from that, no, there shouldn't be any problems, given that you say your application is a simple one. (And console applications can even work on Linux and Mac using Mono!)

What is iTunes for Windows written of? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I was wondering it for a long time since Apple released iTunes for Windows. What did they use to write iTunes for Windows? It seems completely with its own UI components and everything is contained inside it. It even uses QuickTime resources files. Can we assume that they've Cocoa working with windows. Anyway, my main question is, is there any known (public or private) tool/language/framework used in developing iTunes for Windows?
Not a direct answer, but if the reason you're asking is that you want to port a cocoa application to Windows, you might be interested in this:
http://code.google.com/p/cocotron/
bit more info here:
http://cocoawithlove.com/2010/04/design-of-multi-platform-app-using.html
http://cocoawithlove.com/2010/04/porting-mac-program-to-windows-using.html
Haven't used it myself, but I gather they've got enough done to make a useable cross-platform Cocoa app.
itunes for both mac and windows are written in c++ as it is easier to port between operating systems with much or the same codebase

Resources