I'm new with MonoTouch.
I want to pick frames from video (I found this page http://developer.apple.com/library/ios/#qa/qa2010/qa1702.html), but it's written in Object-C, I've never learned that. Can Someone give me a MonoTouch sample. Appreciated.
Today I wrote a sample, but the APIs in MonoTouch 4.0 were not very good, they were fairly hard to use. We made some changes to MonoTouch today, and the next alpha release in the next few days will have these changes in.
The sample code has been ported and lives now in http://github.com/migueldeicaza/monotouch-samples/av-capture-frames module most of the code is in Main.cs
Related
Referencing this Question/Answer (and many others like it): XNA 4.0 cannot create an AudioEngine
I cannot seem to get this to work. Any help would be super appreciated as the solution linked is NOT working for me and I've googled a lot about this and everything seems to reference the same solution. I know how to add references and have done them successfully in the past, and I additionally have the correct using statements at the top so I'm not really sure what is going wrong, but AudioEngine will not show up for me. If anyone can help I would really appreciate it, thanks!
(I don't have enough reputation to post images yet, so here is the link: http://i.stack.imgur.com/qJeul.png)
This is all that shows up when I start to type "Audio..." http://i.stack.imgur.com/KTnQ9.png
As far as I can tell, this is happening because I'm trying to make a Windows 4.0 game. I tried making an Xbox 4.0 game and adding the Microsoft.Xna.Framework.Xact.dll reference and AudioEngine shows up just fine.
Does AudioEngine/Xact not work with Windows 4.0 games or is there something I'm missing?
I tried the simpledroid with INotifyPropertyChanged and ICommand successfully.
I want to do the same with monotouch and xib designer,but without TouchDialog. Is there a way to implement without inheriting from mvx class as in monodroid?
Is it possible to do the same with MonoMac without Dialog as Portable Library in MonoMac or XaMac in supported now?
I understand what is your goal.
I think you want to start learning MvvmCross for Monotouch with a basic application example as you probably did with SimpleDroid. I tried to do the same without success.
Why ? Because SimpleDialogTouch is an "Advanced" example in my opinion. When you learn Monotouch, you use xib to design your view. But the sample tells you to learn a new tool "Monotouch Dialog" which is a way to display controls programmatically.
You get those errors because the sample implements the ViewModel only for Dialog and not for xib or classic binding.
Finally, you will have to dig into MvvmCross to build your own SimpleTouch implementation. The problem is that you don't have a lot of documentation, but Stuart is the best supporter for a beginner or you can switch to advanced Mvx features if you don't need to understand the underground of MvvmCross. There are a lot of samples, tutorials and posts to tweak Mvx.
Hope that helps.
Is there a way to implement without inheriting from mvx class as in monodroid?
I don't believe this is supported in the current source.
There is an effort underway to separate out the databinding code in MvvmCross so it can be used more easily with other frameworks - e.g. we might try porting MvvmLight across too. This is where my effort is currently focused.
If you need this now, then I think you could fairly easily create this simple binding yourself if you wanted to - but you'd have to take a look at what the SimpleDialog version does - it's not too big a code to copy across to the XIB version - https://github.com/slodge/MvvmCross/blob/vnext/Cirrious/Cirrious.MvvmCross.Dialog.Touch/Simple/MvxSimpleTouchDialogViewController.cs
But... why not just implement a proper portable MvxViewModel instead?
Is it possible to do the same with MonoMac without Dialog as Portable Library in MonoMac or XaMac in supported now?
Portable libraries are not supported in any release from Xamarin yet - there is an unofficial installer that Jeff very kindly provided - but it's not a release...
For MvvmCross MonoMac/XaMac support, there is one non-PCL version from #deapsquatter around, but I don't believe this has data-binding yet.
I will be working on a PCL and data-binding release for MonoMac or XaMac - but it's on a spare time basis - no-one's come forward with a customer project to fund that work yet. If you or anyone wants to assist with this port, then you are very welcome... but it will be quite technical work - there are changes I intend to make 'under the covers' - so the easiest place for others to help will probably be in later work - adding more views, more bindings, doing QA, making samples, etc.
Note: "Simple" bindings are not the future for MvvmCross and may get dropped from a future release. However, this will only happen after I've separated out the Binding code so that it can be used with other libraries - the first of which will probably be a simple binding example.
I personally don't see much difference or advantage in using these so-called Simple bindings... but maybe I'm missing something...
I'm on version 3.0.3.5 of MonoDevelop and was looking at the Pluralsight tutorials for MonoTouch where John Sonmez uses a few refactoring Tools/methods in the ViewController that isn't available in my version of MonoDevelop. For example - Refactor->Override/Implement members... , Encapsulate fields... and a few more. The only Refactoring tool I have available in my popup-window is Rename :)
Is there an additional download available with more refactoring tools?
Thanks for any help, I'm still new to MonoDevelop :)
From Sebastien, in response to this question
Some of the refactoring features were reorganized or removed (for now)
in the rewrite of the code code completion engine that took place for
MD 3.0.
I have been trying to develop in MonoDevelop for about a week now, my boss asked me to get WEPopOver working on a particular project. I have seen the github documentation and looked at examples, but can't seem to get a working model for MonoDevelop.
Can ANYONE give me an example of how to use this WEPopOver in MonoDevelop?
thank you in advance!
Rick
Did you see/try the sample solution that comes with the bindings ?
If so then you'll need to be more explicit (edit your question) about what you want to do with it.
I'm trying to use the code posted here: http://seanho.posterous.com/monotouch-first-attempt-arkit-c-version
however - when i try to overlay it on a camera - it seems to behave really strangely.
I'm guess that it's because the camera view only does portrait?
Has anyone succesfully used this? Or maybe know's how to get this working?
Cheers
w://
The code on the blog entry you linked to is ported from the open source iPhone ARKit: http://www.iphonear.org/
iPhone ARKit was updated after this port was posted (to quote the author "My version of code may be outdated"). You may want to examine the source on github to pick up any changes/fixes.