I have already made an windows phone app in VB to play music.
Now i want this app to work even while lookscreen.
Searching for the answer, i only found codes like this (in C#):
PhoneApplicationService.Current.ApplicationIdleDetectionMode = IdleDetectionMode.Disabled;
PhoneApplicationService is from the namespace: Microsoft.Phone.Shell
So i tryied to import this namespace,to disable the ApplicationIdleDetectionMode , but it doesnt seem to exist.
So my question is: what i am doing wrong? if my xaml-app does not support the namespace at all, how do i work arround this problem?
Related
I need to update my app and make it look good on the iphone X. I've seen a couple of answers on stackoverflow and on the internet regarding the new safe area option (Use Safe Area Layout Guides).
According to what I've read the app should adapt automatically using autolayout as well but what I've got is this:
If I start a new project it all works fine. The project is quite big, so starting all over again is not an option. What should I do?
Thanks
I just had the same problem, and in my case, the problem was that my app didn't have a Launch Screen.storyboard, it was using a image as launcher. So adding a new Launch Screen.storyboard and selecting that one fixed it, maybe the rest of the app takes some settings from that Launch Screen.storyboard
In the latest release of Windows Phone microsoft comes with video editing feature, that provides the ability to edit the videos from the app.
I used the dll(Windows.Media.Editing) for editing videos in the app. I take help from the channel 9 video for creating basic video trimming effect. You can found channel 9 video on this link http://channel9.msdn.com/Events/Build/2014/2-555.
I searched on google but not found any code related to video editing feature like overlay text on video, apply filters effect, slow motion video and lots more as said by microsoft.
Can anyone please share code, links for editing video for Windows Phone 8.1?
Try Windows.Media.Effects. I found this the other day, which documents adding slow motion effects to a MediaCapture object. It's on the Windows Store site but applies to Windows Phone 8.1. Sorry I have not tried this code out, but there's some example code on the page and it might lead you to other resources, like stabilisation and rotation.
Try with this code
var composition = new MediaComposition();
var clip = await MediaClip.CreateFromImageFileAsync(file, TimeSpan.FromSeconds(1));
clip.VideoEffectDefinitions.Add(new VideoEffectDefinition("GrayscaleTransform.GrayscaleEffect")); composition.Clips.Add(clip);
using the GreyscaleTransform from http://code.msdn.microsoft.com/windowsapps/media-extensions-sample-7b466096/
Please note that I was not able to make this work outside the sample project because of some dependecies stuff that I don't understand
I'm working on a mobile AIR app using Flash Pro CS6 and FlashDevelop 4.3.0.
After adding SQLite to my app and trying to use the FlashDevelop debugger, FlashDevelop shows this error in the Output panel:
"VerifyError: Error #1014: Class flash.data::SQLConnection could not be found.".
I guess the problem is that I'm mixing several software products here, but everything worked great until the addition on SQLite code. Any suggestions on how to fix this?
I have an Image object created in XAML in my Windows Phone 8 project. I'd like to change the Source property in C#. How would I go about doing that? I've followed the code at https://stackoverflow.com/questions/5770527/imagebutton-change-source-property but had no success. BitmapImage does not seem to be valid for Windows Phone 8. Does anyone know the correct way to change image sources in C# for WP8? Thank you.
Well the solution ended up being something simple. I just needed to import the System.Windows.Media.Imaging namespace. I added
using System.Windows.Media.Imaging;
to the top of my file, which fixed the problem.
i want to port one of my windows phone 7 apps to the windows 8 metro style plattform.
the problem is, that i need a element like the hubtile which i use from the silverlight toolkit for windows phone.
is there something equal in the windows 8 metro style platform? maybe open source like the silverlight toolkit.
i dont want to add the livetile outside my app, this is easy. i want to have something like hubtile for WP7 for win8. This means a tile which is inside my application.
If I'm right I'm planning to do the same task. I didn't find any reference of a control which performs like a HubTile. Thus, I decided importing the one from the Silverlight Toolkit (for Windows Phone). Luckily it worked almost smoothly, you can see my sample at:
https://github.com/hmadrigal/playground-dotnet/tree/master/MsWinPhone.EmbedFont (tested on Windows 8 RP and Visual Studio 2012 RC)
Kind regards,
Herber
you can work with the live tiles of course and in several ways. You can use badge notifications, toast notifications, and so on.
I'll suggest you to take a look to this documentation.
And also take a look to those two samples: App tiles and badge sample and Push and periodic notifications client-side sample
By the way don't forget to enable the features you need in the package manifest.