[Mono-list] App: Cross Platform Programming

2012-12-16 Thread svenesaar
Hello, i come from HTML5 Cross Platform Programming and understand the concept that all Browsers will show the same (HTML5) App. I create in a HTML5 page and each device has the same look. Now i want to realize the same concept with mono. But if i understand this concept right, than i have to

Re: [Mono-list] App: Cross Platform Programming

2012-12-16 Thread Gilad Naaman
Mono is cross-platform as in: it runs on multiple platforms. For desktop operating systems theres GTK# which pretty much works on all the major OSs (Windows, OSX and Linux) just the same. Mono is unnecessary on WP7/8 since they both run .Net already. It has different bindings for Wii and

Re: [Mono-list] App: Cross Platform Programming

2012-12-16 Thread svenesaar
Thanks for your answer but i am talking not about GTK#, i want to create app`s for Android, iOs, WP7/8 (Tablet and Phone). -sven -- View this message in context: http://mono.1490590.n4.nabble.com/App-Cross-Platform-Programming-tp4657778p4657780.html Sent from the Mono - General mailing

Re: [Mono-list] App: Cross Platform Programming

2012-12-16 Thread Gilad Naaman
The mobile OSs' APIs are too different from one another, there's no way to create a wrapper API to bind them all together while keeping all the functionality. But with proper planing, the difference between the apps should be minimal. Create classes as generic as possible, so that they can be used

Re: [Mono-list] App: Cross Platform Programming

2012-12-16 Thread svenesaar
Hello Gilnaa, thank you. /Create classes as generic as possible, so that they can be used with multiple platforms./ this is what I’m trying to find. But the examples doesn’t include this. Do you know an example what works? Sven -- View this message in context:

Re: [Mono-list] App: Cross Platform Programming

2012-12-16 Thread Gilad Naaman
Separating UI code from logic code is always a good advice. Apart from that, I really don't know how to help you without a specific question. On Sun, 2012-12-16 at 08:18 -0800, svenesaar wrote: Hello Gilnaa, thank you. /Create classes as generic as possible, so that they can be used with

Re: [Mono-list] App: Cross Platform Programming

2012-12-16 Thread Alan
Hey, On 16 December 2012 14:03, svenesaar i...@elaborate-solutions.com wrote: Hello, i come from HTML5 Cross Platform Programming and understand the concept that all Browsers will show the same (HTML5) App. I create in a HTML5 page and each device has the same look. Now i want to realize

Re: [Mono-list] App: Cross Platform Programming

2012-12-16 Thread svenesaar
Thank you for your answer. My main task is: create a sample app with only one page (for the begin) The sample page should have only one definition. Then it should be run in WP7/ Android/ iOS Simulator. That´s all. I need a feeling for Mono how to handle this Cross Platform programming. Normally

Re: [Mono-list] App: Cross Platform Programming

2012-12-16 Thread Gilad Naaman
This sample app seems mostly UI work, and thus is impossible to accomplish using a single copy of the code. Maybe it is a good time to mention that both the Android and iOS bindings of mono cost money, and that the iOS binding (MonoTouch) requires the iOS SDK and a Mac. On Sun, 2012-12-16 at

Re: [Mono-list] App: Cross Platform Programming

2012-12-16 Thread svenesaar
Dear Gilnaa, the money is not the point and an apple is available. When i understand you right, why is Mono for Cross Platform development if i have only the code functions (without UI) in a shared codebase and the rest not, then sorry it isnt cross paltform programming. i am right? Sven

Re: [Mono-list] App: Cross Platform Programming

2012-12-16 Thread IBBoard
Mono is cross-platform because a DLL written for one platform can be used on another. As others have said, UI is a different matter and Java's Write Once, Run Anywhere style has the same issue. On the desktop platforms then a WinForms app can generally run on Linux and Mac as well, but they

Re: [Mono-list] App: Cross Platform Programming

2012-12-16 Thread Daniel Lo Nigro
The logic is often the main part of the code, the UI is just a pretty interface to show all the output from the logic. If you separate your app into a data layer, business logic layer, and UI layer, you should only need to change stuff in the UI layer across platforms. I'd call that cross-platform

Re: [Mono-list] App: Cross Platform Programming

2012-12-16 Thread Alan
Hey, On 16 December 2012 20:17, svenesaar i...@elaborate-solutions.com wrote: Dear Gilnaa, the money is not the point and an apple is available. When i understand you right, why is Mono for Cross Platform development if i have only the code functions (without UI) in a shared codebase and