I am working on a Xamarin.Forms App in which I need to display the current camera stream in order to shoot a photo from inside the app. Has anyone an advice on how to implement that? Is that easily possible?
Thanks!
Edit:
I found an awesome sample project from Xamarin doing exactly what I need :)
https://xamarin.com/prebuilt/moments
It depends on how much integration you need. You can start with something simple like: https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/Media
If that doesn't do what you need, you will need to create a custom renderer on each platform. It isn't too difficult but its more work.
Related
I am trying to figure out how to create my own breadcrum menu in Xamarin using MvvmCross in an Android project. I am fairly new to Xamarin so I am not sure how to accomplish this just yet. Is it possible to include two ViewModels in the same MvxActivity and have them communicate. Is this the best way to approach this? If so how would this sample look like? How is the presentation done and the sliding animation?
Any help on this would be much appreciated. I have looked at some sample projects but they aren't making much sense especially since they are not Android based.
Thanks
There is a good MvvmCross Sidemenu example available here: https://github.com/MvvmCross/MvvmCross-AndroidSupport/tree/master/Samples
You can find all elements you require such as presentation and sliding animation there.
I am new to phonegap.
I am implementing html with cordova.
But the problem is the screens are not adjestred properly for android and iPhone.
If any one know ,Please help me
I think you have to use a framework like jQueryMobile or Bootstrap to handle all screen sizes
One solution is using viewport meta tag. For more detail, your refer to the below links:
https://developer.mozilla.org/en/docs/Mozilla/Mobile/Viewport_meta_tag#Common_Viewport_Sizes_for_Mobile_and_Tablet_devices
http://www.javascriptkit.com/dhtmltutors/cssmediaqueries3.shtml
Other solution, you can use Javascript library such as monaca.viewport.js (https://github.com/monaca/monaca.js, http://docs.monaca.mobi/en/reference/javascript/monaca_viewport/).
I creating my first appcelerator app and looking for some info on whether something is possible, and if so is it easy to implement.
I'm using Titanium SDK 2.0.1.
I'm trying to create a layout similar to the Stream window in the Google+ app for Android:
1: A large header (Can the navbar property of Ti.UI.createWindow be adjusted?)
2: Two tabs under the header (Would like to be able to adjust height of them if possible? Are there alternatives to Ti.UI.createTabGroup if this is not possible?)
The main content I can figure out easily enough I reckon.
Any examples or links on how to achieve this layout would be great.
Thanks
There is no way to do that type of NavBar in Android using the native Ti.UI.Window properties, but you can just create your own NavBar using a view and stick to the top of the window. For the tabs, I'd look at http://www.tomaspersson.com/2012/03/20/titanium-viewpager-module-now-available/ - I'm not sure it will have all the options you need, but it is a good starting point. Good luck!
I want to make an app that shows pictures. But I want to be able to zoom in and out with gestures. I fixed this by including a toolkit into my project. But my actual question is, can I use or is there a control that's already created for me to show pictures like the picture library of the WP7 phone itself. I thought there wasn't but the Facebook app has a similar way of showing the pictures. Did Facebook rewrite the whole thing or is there a control somewhere that someone made?
The SlideView control in Telerik's RadControls for Windows Phone sounds like what you're looking for.
Have you tried a MultiScaleImage control? It's designed to work with multiple layers, but if you only specify one layer, it might suit what you're trying to do.
I'm specificaally a photoshop web designer and have a limited knowledge of xaml.
I'm trying to create a slideshow effect with images an text within it, similar to http://www.silverlightshow.net/items/Image-slider-control-in-Silverlight-1.1.aspx
Does anyone know how I would create this by just using Expression Blend. I would prefer not to dip into any code! Would be great if there is some sort of behavior for this?
I'm currently using the states and storyboard. The animation works in sketch preview, but I can't get the buttons to work for the behavior gotonextstate.
Any ideas?
Thanks Judi
I did it for you but don't know how to attache file here so send me your mail to send it to you.
be sure to have the default windows 7 (vista) images fileder to let the sample run fine.
Take care,