AudioUnit support in MonoTouch? - xamarin.ios

Is there any real AudioUnit support in Xamarin/MonoTouch?
Some classes are mapped but most of it seems to be missing, so it's impossible to implement AudioUnit mechanics as described here. Or am I missing something?
Thanks a lot!

Not sure Monotouch supports the processing graph natively. You may have seen this, but I'll post a link for reference:
To get started with AudioUnits: view the sample project "AUSoundTriggeredPlayingSoundMemoryBased" in the repository:
https://github.com/xamarin/monotouch-samples

Related

How do I implement the GWS library in xamarin for android?

Body: I want to use this library using xamarin so I can run my code on an android device, the page says it's cross-platform. Does anyone have any experience with this? I'm not really sure on how to implement it.
I have done an implementation of the library in Xamarin.Android, you can find the project on github here.
https://github.com/MananAdhvaryu/GWSAndroid
If you have any follow-up questions, please feel free to ask me in the comments.

log4net works with Xamarin.iOS/Monotouch?

We are using Xamarin Studio to create mobile applications in .NET to some platforms. Our experience show some compatibility problems to use original Log4Net but we're no tried yet the Log4Net Compact Framework (http://logging.apache.org/log4net/release/framework-support.html).
There's someone with this problem/solution ?
Thanks in advance!
There are a lot of limitations with the MonoTouch profile. But I managed to get some of the very basic appenders to work. Should give you enough to get started. It's a work in progress, so your milage may vary. Expect bugs!
https://github.com/drunkirishcoder/monotouch-log4net
Yes, it works properly! We done the follow steps:
include the log4net.dll into References (Figure 1).
added the using log4net; in using area code.
Figure 1 - Edit References

How well would MvvmCross and CSLA.net work together in a multi-platform strategy (ASP.NET MVC, WP, WPF, WinRT, Win8, Android, iOS)

Long time lurker, first time questioner here :)
I have been looking into our company's next software system architecture. We have been using CSLA.net, to some extent, as our business object framework and are thinking of building our new architecture around it. CSLA.net has support for the platforms mentioned in the title and we are looking for mvvm framework that would work well with it.
At the moment we only support windows environments but are also looking to support at least Android and iOS (also mono in general is under consideration). We are looking to share as much of the code as possible between the platforms and MvvmCross seems like really nice piece of mvvm (+) framework, especially in that context. I have watched few n+1 videos and what I have seen so far has been very impressive. I also like the Stuart's style of introducing the framework and concepts around it.
Has anyone tried to build a cross platform application that uses both of these frameworks (CSLA.net and MvvmCross)? If yes, what have been your experiences like? Also if Stuart could comment on the issue of how to merg the viewmodels of the two frameworks. I remember Rocky (Rockford Lhotka) recommending, as a general tip when working with mvvm frameworks, to inherit CSLA.net viewmodelbase(not viewmodel) and implement also mvvm framework's requirements into that class. You can find source of the viewmodelbase from https://github.com/MarimerLLC/csla/blob/master/Source/Csla.Xaml/ViewModelBase.cs.
Any input would be much appreciated.
Regards,
Harri
ps. I think, that this would make a great n+ video. Wouldn't it ;)
I've personally never used CSLA, but I have talked with it's original author, Rocky, both by email and in person.
CSLA presents itself as a business model object layer and that it can very successfully interoperate with independent Mvvm frameworks - see Rocky's post on CSLA+Mvvm
MvvmCross provides the more application and UI level support - and leaves application authors free to choose how they write their business services and models.
Because of this, yes I think it should be possible and even straight-forward to use both of the frameworks together if you want to. To get started, it might be useful to write some prototypes - and perhaps to look at the way other integration has been done - e.g. CSLA+Caliburn integration
ps. I think, that this would make a great n+ video.
I'd much rather see this type of article from someone who understands and uses CSLA. I would encourage all members of the MvvmCross community to contribute their own blog posts, articles, videos and github samples.
One caveat to this advice: I don't know if CSLA support Portable Class Libraries - if it doesn't then you'll probably need to use file-linking rather than PCLs in your app
Yes, you can use a multitude of MVVM frameworks; I've used CaliburnMicro and our own custom MVVM with success. If you haven't checked out Rocky's eBook series, you should definitely do so. One of the big gotchas is the limitations on reflection in Silverlight, hence also in WP8 and WinRT, so some reading up on that is well-advised.
Regarding Portable Class Libraries, you can't those for CSLA business objects (they require more stuff than is available in PCLs), so you do have to do the project linking. Typically, write the complete class in the .NET libary w/ pre-compiler directives, such as
#if !SILVERLIGHT
around code that can't be complied for Silverlight/WP8. I do use PCLs for some basic stuff, like enums and constants, but not for the business classes.
Xamarin have just released some updates that mean the latest framework 4.5 with async features can shortly be implemented...

QuartzCore.framework for Mono Develop

I'm fine with Mono Develop's native-supported iOS libraries.
But when I need such as a 3rd party library I get stuck.
QuartzCore is a successful library,but written in Objective-C.
I know there is binding type project supported by xamarin.
http://docs.xamarin.com/ios/Guides/Advanced_Topics/Binding_Objective-C_Libraries
Maybe for a small project has .a extension could be easy to bind. I wonder do I need to try to bind QuartzCore.framework to Mono Develop or Does it take much effort then coding in XCode by Objective C.
Does anyone tried this binding? There are some other projects already bound such as CorePlot https://github.com/mono/monotouch-bindings/tree/master/CorePlot.
I can't decide what I need to do. Will it be easy or bring me much job?
Thanks in Advance.
I'm pretty sure that QuartzCore is already bound in MonoTouch. I think QuartzCore is part of CoreAnimation, which may be why you didn't see it.

NoSQL databases that officially support MonoTouch

I am having trouble finding a NoSQL databases that officially support MonoTouch via a local DB on the device. If their are, could someone provide a list of them here.
According to http://nosql-database.org/ there's siaqodb. Note that others might support MonoTouch without being mentioned in that site.
Edit: a few more clicks shows that HSS Database (from the same list) also supports MonoTouch.
You might also want to look at which ones support iOS (e.g. with Objective C) and see if bindings are available (or write your own).
Take a look on Couchbase Lite xamarin's component
RavenDB supports an embedded mode, and can run on Mono using the "Munin" storage engine option.
Although, there has been talk in the user group lately about dropping Munin, and it's not usually recommended for production, so it may not be a viable option.
I've not heard of someone using it with MonoTouch specifically, but there are some running it on Mono. If you try it, please update comments here with your findings. Thanks.
A bit late, but still relevant:
I'm the author of MarcelloDB, and I just released version 0.3.0 on nuget.
MarcelloDB is a document DB, built specifically for mobile apps (light-weight, low memory usage) and supports Xamarin Android and iOS as well as the windows platform.
I still have some features I want to add before reaching v1, but the file format and existing api are allready quite stable.

Resources