Hide/Remove video button from App Bar using CameraCaptureTask - windows-phone-8

Is there any way to hide or remove the video button from the App Bar on a WP8 application using CameraCaptureTask? Our app only includes taking pictures, no videos. That's why we think it would be better remove the video button if it isn't really a choice. CameraCaptureTask (native task) keeps the video button disabled but visible, instead hide it...
Thank you in advance.

To answer your question in short, no, there is no way to modify a native task in that manner.
That said, there is a way around this, be it a little more laborous.
You're going to need to create your own camera capture page.
Here is the official MSDN Documentation and code on how to accomplish this.
http://code.msdn.microsoft.com/wpapps/Basic-Camera-Sample-52dae359/sourcecode?fileId=62725&pathId=1134966225
If it were me I would make a control that pops open when you need it that does the MSDN example.
Good luck to you and welcome to Windows Phone dev. If you want faster answers hit me up on the tweeter. #Anth0nyRussell

Related

Loading screen Windows phone 8

I want to change default loading screen when i navigate between pages on WP8 app but I don't know how to do it.
Thank you
So there is many ways of doing it and you need to address what exactly is your best solution.
So the splash screen is the first place to start, here you can specify images that should be used upon start the app. It is also possible to introduce animations.
Your case (As far as I understand) is referring to navigation in-app. Again here I assume you use Silverlight, and not Win-RT?
For this you can create either popups or change the PhoneApplicationFrame. Popups can be displayed across pages during navigation. This however has the issue with memory leak and low performance, because of the popup implementation in WP.
I would therefore go with changing the PhoneApplicationFrame, you can follow this: Specify Popup location, throughout page navigation
Very little information about you app, but maybe this will help:How to create a custom indeterminate progress bar for Windows Phone 8

Swipe activated core-drawer-panel?

I've thrown together a page based on the paper ui elements and love how mobile-friendly it is. But it does fall short with some functionality. For instance, I'd love for users to be able to swipe out the drawer of my core-drawer-panel, instead of using the button I'v provided on the toolbar.
What I'm looking for is along the lines of the Gmail app for Android.
Does anyone have an example page where this is used to good effect?
There is currently a pull request pending which will add swipe to open the drawer. See for details.
You can use a core-scaffold instead of core-drawer-panel

How to adjust the frame space in a webapp?

I found this feature in an email webapp that lets a user drag a frame splitter to adjust the space each frame uses.
What is it called and how to build that?
It's not that hard to program yourself with the help of a little jQuery, but there's a nice plugin for this also: jQuery Layout
Or this one: http://www.methvin.com/splitter/vsplitter.html
Or this one: http://jquery.jcubic.pl/splitter.php
enough samples available I would think...

Can a website be made in cocos2d-html?

I have been working with cocos2d-iPhone, cocos2d-x, and cocos2d-html5 for quite some time. I wanted to ask if it is okay to build a website with cocos2d-html5. I want to do it because I want the website look interactive, animated, and scroll around like a game. We can do this with javascript, but is it possible to write it in cocos3d-html5? What are the drawbacks of doing this? And is there any existing website that is built on cocos2d?
Thank you for the help.
As i figured out, you cannot make a cocos2d-html based website as it is for making web apps for web sites. Although a web app can cover up the whole screen but there are a large number of issues assigned to creating such a situation. The internet users are used to using the refresh and back buttons on the web browser as well as opening in the new tab, nothing of these options would work in a cocos2d-html based web app as the navigation would be all done within the application and in no way can the button in the browser respond in the appropriate manner.

Flash Menu into HTML

i got this requirement, i need to show my Flash Menu into the index page and i want to change to other pages without refreshing my flash movie. its possible do that ? i tried to use frameset html tag. but want to have a unique scroll bar.
Can you please give me some tip in order to solve this.
Thanks in advance,
You could load the content via AJAX... But that is a workaround I won't consider, it's a poor hack in my eyes.
It'd be better to try to save the flash menu's state over different requests.