Monotouch read XAML - xamarin.ios

Hi can I read a XAML file using MonoTouch?

Seeing as XAML is a text format (XML), of course you can read it.
What do you want to do with it?
If you want to use WPF, then no, it isn't supported yet on mono.

Related

Does Android Studio have the equivalent of view debug like xcode?

I am trying to quickly learn a new code-base (android-based) and a great way of doing that in iOS is using xcode's view debugger.
I do not know where to place break-points right now as there are way too many classes. Thanks!
Not 100% identical but you can use Layout inspector
https://developer.android.com/studio/debug/layout-inspector

Using Xamarin Storyboard Editor to edit XIBs

Just wanted to know if it is possible to open regular XIB files from new Xamarin's storyboard editor? Switching back and forth between Xamarin and Xcode is a bit inconvenient, and the new editor looks really nice; however, Storyboards have a few drawbacks and it is a pain to use them for our projects.
Any ideas re availability of this?
The plan is to add support for editing .sib files in future versions of Xamarin Studio.This will likely not happen in time for the first release with the iOS Designer (i.e. version 4.2), but I think it would be reasonable to expect that version 4.4 will have support for editing .xib files.
As of right now, no. I think it might be because of the complexity of the underlying XML but I'm not 100% sure. You can always create or upvote it on uservoice: http://xamarin.uservoice.com/forums/144858-xamarin-suggestions/suggestions/2700302-a-monotouch-xib-editor.
Using stand-along Xib files is now available, you can learn how to do it here -
Using Xamarin Storyboard Editor to edit XIBs

Is there a tree like control in WinRT?

I want to display a hierarchical data like treeview which is in Windows 8 Mail box. do you have any suggestion on it?
I think, this post will answer for your query.
TreeView in windows 8 store app in XAML. Hope this will help.
There's a fairly thorough discussion in this question.
Essentially it looks like MS have decided to scrap the traditional treeview.
There is a TreeView control in WinRT XAML Toolkit that has been ported from the Silverlight Toolkit.

Is there a simple way of getting selected text in browser?

There is need of getting selected text from browser (Chrome, Firefox) and passing it to variable. What is the best way to do this? I am using Windows and Java SDK. Using default browser for current system.
There is no enough information to answer your question.
Which programming language are you using?
Which platform? Windows? Android? Something else?
Do you run a browser inside an application you are working on?
What do you need to do with the collected text? Store it? Process it? Change it?
HTML? use jQuery, get the id of the field ? not enough info, what programming language you using?
use jquery to get the val, sample like
$('#id').val()

Displaying WebCam video with Qt

I'm using Qt 4.5 (2009.03) on Linux Gnome (Ubuntu 9.04) and would like to display video captured by my webcam in a Phonon::VideoWidget of my Qt application.
I have a first implementation using the v4l2 API where I do the YUV2 to RGB conversion and fill a QImage my self. It works well but it is not very efficient. A collegue used gStreamer to do the same thing and it was much much faster.
Since then I found out about phonon and would like to use it. Everything is configured and set up except for the binding to the webcam device as source.
I should create a MediaSource object but I don't know how to configure it. Any help would be greatly valuable.
Edit: The Phonon overview explains that it is not supported yet. But I need a solution.
I know its little bit late for this question. but I was looking for the same thing and could not find pure qt solution. Here is my solution https://sourceforge.net/p/qtv4lcapture/code/HEAD/tree/
If your goal is to display the YUV image on the screen you can use the OpenGL module. Implement the conversion as a fragment shader. If you want to do something else like save the converted image to a file then it is not a good idea.
Some links:
http://doc.qt.digia.com/4.6/qglshaderprogram.html
http://doc.qt.digia.com/4.6/qglshader.html
http://www.fourcc.org/source/YUV420P-OpenGL-GLSLang.c (the conversion is in the FProgram string)
Maybe you can take a look the way kapture was implemented.

Resources