I am working on windows phone 8 and i want to set styles on different-2 components in my ListBox control so after Googling i have come to know it is possible through DataTriggers, i am trying in my Application to do same but it shows typo error in myApplication. So is there any replacement for DataTrigger in windows phone 8 ?
Please help me if it will be solve than it will open so many ways to implement dynamic features in my application.
Take a look at this article, it shows how to use DataTrigger from Blend http://dotnetbyexample.blogspot.nl/2013/04/viewmodel-driven-multi-state-animations.html
Related
Many Windows Phone apps allows you to reorder items in their lists by dragging them. Here is an example from one of them, Nokia App Folder:
You can see a small drag icon next to every item one can use to reorder items.
I need to add this drag reorder functionality to some lists in my WP8 Silverlight apps. Can you suggest any idea of how it can be done for such standard list controls like ListBox or LongListSelector? A link to a good Internet article is also acceptable.
ReorderListBox
One of the first implementations I saw of this was on the MSDN blogs a couple of years ago by Jason Ginchereau...
WP7 ReorderListBox
Although it was originally for the WP7 Listbox, it should be possible to modify and use it for WP8's LongListSelector, which replaces the ListBox. As the article mentions, the source code is on CodePlex or available as pre-built NuGet package.
Drag Re-ordering
Colin Eberhardt also has a fantastic article on re-ordering items in a list...
A gesture-driven Windows Phone To-do application part two - drag re-ordering
This approach doesn't use a Listbox or LonglistSelector but it is another great reference.
Commercial option
If you have access to the Telerik Windows Phone controls, their RadDataBoundListBox has a built-in re-order feature although it's implementation is a little different to the two mentioned above.
After a thorough search through the Microsoft Documentation i wasn't able to find a conclusive answer to the Question, wether or not an App published to the Windows Store has to look like a Metro/Windows Phone App or if it is allowed (but obviously discouraged) to have apps look like Ports from other Operating Systems. This Question obviously becomes very important when writing Cross Plattform HTML 5 Apps.
Have i overlooked something in the Documentation? Do you have any experience in this area?
My understanding for the phone is that in theory you can do what you want but within certain parameters. So if you want your app to look like an Android or iOS app with the back button at the top, that's fine. You don't have to use panoramas or pivots if you don't want to. You don't even have to use the set fonts if you don't want to.
But you cant start recreating desktop style windows drop downs, and other things that really wont work on a phone.
You also have to ensure your app still functions as a windows phone app. So the back button must work even if you have an on-screen back button.
For Windows 8 apps, I believe there much more strict. Pre 8.1 all apps had to use the search button on the charms rather than implementing there own. Since 8.1 the search button requirements have changed. Don't know about any other restrictions.
There's certainly no requirement to use flat colours rather than gradients like you would get on other platforms.
I need Google like auto complete search text functionality in Windows Phone 8 using MVVM. Please can any one having good experience in windows phone 8 help me how to accomplish this?
Here is the solution I found.
http://social.msdn.microsoft.com/Forums/en-US/cb8b6ff3-44b4-4e17-8095-dd75783f2012/google-like-auto-complete-search-list-in-winodows-phone-8
Hope it will help others.
I work with Windows Phone 8. I want to be able to take a button, tap it and load a picture from the phone into a window to edit it. Can someone please direct me to where I can find info on this or tutorials? I'm not asking someone to do this for me, just help on how to do it myself.
Welcome to StackOverflow! Your question is a bit too broad for StackOverflow, next time please try to focus on a smaller problem. "Windows Phone 8 Picture Editing" is too general.
But I know it is a hard topic to start on, and there are not many resources about it (especially compared to iOS). If you are not good with Windows Phone app development, I'd first recommend some easier examples.
Anyway, here is a simple app that demonstrates setting an image onto a view from a local file: http://developer.nokia.com/Community/Wiki/Loading_local_image_file_on_Tap_events_in_Windows_Phone
If you want to choose an existing photo, it is even easier. You can
follow the instructions at this link:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394019%28v=vs.105%29.aspx
To take a photo, you can use the camera capture task, which is very
similar to the photo picker. Here is how to use it:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394006%28v=vs.105%29.aspx
If you need a more advanced/custom camera, you can implement your own
camera. A relatively simpler example is here:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.devices.photocamera%28v=vs.105%29.aspx
If you trust yourself, a much advanced example is here (I also
followed the same tutorial for creating an advanced photo filtering
app):
If that is too hard, you should definitely take a look at the Nokia
Imaging SDK for Windows Phone 8. It has many built-in filters that
anyone who is interested in making a photo editing app would like:
http://developer.nokia.com/Develop/Windows_Phone/nokia_apis/imaging.xhtml
If you still need more, or if you want something more lightweight and
smaller than Nokia Imaging SDK, just look at
WriteableBitmapExtensions that enables you to perform simple
operations: http://writeablebitmapex.codeplex.com/
When you are done with the actual image editing/programming, you should consider the user experience and total integration in more general.
To extend the phone to make your app a fully-featured editing app, head over here: http://code.msdn.microsoft.com/wpapps/Photo-Extensibility-Sample-db289044
This also explains the topic on extending the editing section in greater detail: http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj662932%28v=vs.105%29.aspx
I could write hundreds of lines of code directly here, but it wouldn't have meant anything. I hope these links help you (and many others) as a starting point for image editing on Windows Phone. But remember to ask more specific questions next time :)
i'm a new to develop mobile application.
I need to do windows phone 8 apps using HTML5 for my final year project. But at the same time i would want to include the panorama view that is available on the windows phone 8 template.
Is it possible to combine them? what i mean by combining is the login page for the application is HTML page and when the user login, it direct them to the panorama view and on the panorama view it display the HTML5 content.
As i have done using XAML/C# for the panorama view but the criteria is to use HTML5 and at the same time i wanted to have that panorama view so i'm stuck on doing the project for 1 week due to searching for all the details but yet find any.
I need advise from you guys... i don't need you guys to write or give me any code. I just need guidelines on where should i look at for knowledge. I hope you guys help me.
You could use phonegap and this Jquery plugin for supporting the panorama view.