windows-phone-8.1

UWP How to get ListviewItem Currently clicked and Previously clicked

本小妞迷上赌 提交于 2019-12-08 14:31:28
I am developing UWP App, I have a Listview bind with a class, wherein upto 10 items. Listview have a DataTemplate and a Usercontrol is inside this DataTemplate. I want to click on any item so the animation (storyboard) should start and the ColorBand should expand toward right and when I click on another item now the expanded (previously clicked) ColorBand should collapse and the current clicked item's ColorBand should expand. This approach can be possible if I put this ColorBand inside the Listviewitem Style and use the Visual State Manager, but actually I need to put the border color and

Add different CommandBars to Hub Element

半腔热情 提交于 2019-12-08 12:15:24
问题 How can I add different CommandBars (AppBars) to an Hub element in Windows Phone 8.1 app. I want to have a different CommandBar for each Hub Section, but I can't declare the CommandBar in the Hub Section. So I can only use one CommandBar in the Hub. 回答1: You can create more than 4 AppBarButton and make it invisible then you change Visibility Property for each per Hub Section. Same way for menu button. Sample: <Page.BottomAppBar> <CommandBar> <CommandBar.PrimaryCommands> <AppBarButton x:Uid=

How to determine which child element of a ListView Item was clicked?

守給你的承諾、 提交于 2019-12-08 12:10:13
问题 I'm developing a windows phone 8.1 app in XAML and C#. I have a ListView getting its Items from a bound list and displaying them through a DataTemplate. Now, in this DataTemplate there are multiple child elements, and when the user taps on an item in the list, I want to be able to determine what child element he actually touched. Depending on that, the app should either expand a view with more details inside the Item, or navigate to another page. The ItemClick event handler of the ListView is

Perform SIP Call from Windows Phone 8.1

蓝咒 提交于 2019-12-08 11:56:25
问题 I'm trying to learn to develop SIP client for Windows Phone 8.1 (following this example). The example mentions to call: Windows.Phone.Networking.Voip.VoipCallCoordinator.RequestNewOutgoingCall() to perform outgoing call. However, from the documentation, RequestNewOutgoingCall is to "Notifies the system of a new outgoing call." Not to connect to the actual SIP server. Anyone knows how to connect to the desired SIP server? Thanks. 回答1: Microsoft does not provide ready solutions for SIP call.

SQLite.Net.Platform for Windows Phone 8.1

杀马特。学长 韩版系。学妹 提交于 2019-12-08 11:31:20
问题 I can't find any SQLite.Net.Platform library that works with Windows Phone 8.1 . These are not working: https://www.nuget.org/packages/SQLite.Net.Platform.WindowsPhone8/ https://www.nuget.org/packages/SQLite.Net.Platform.WinRT/ https://www.nuget.org/packages/SQLite.Net.Platform.Generic/ https://www.nuget.org/packages/SQLite.Net.Platform.Win32/ Any workaround? 回答1: WinRT platform is compatible with Windows Phone 8.1 projects. You can copy the sources to your platform specific project and

detecting hold event in webview on windows phone 8.1

丶灬走出姿态 提交于 2019-12-08 11:19:04
问题 I'm currently working on a web browser app mainly targeting win rt in Windows phone 8.1. I'm now trying to figure out how to detect the hold event when a user holds down a link or image in webview and display a context menu. How would I go about doing this? How would I detect the event in wp8.1? I know I'll have to invoke script but what is the c# to detect the event? Thanks :) 回答1: Did you try using the Holding event attribute of the UI element? http://msdn.microsoft.com/en-US/library

Show Video Play Progress using Media Element Windows 8.1 Universal app

与世无争的帅哥 提交于 2019-12-08 10:50:28
问题 i want to show Progress of Video while it is playing but i dont get any event on media element where i will get play progress of video like download progress and buffer progress. Is there any other way to achieve it? or some other tool or something? <MediaElement x:Name="player" AutoPlay="True" MediaEnded="player_MediaEnded" Stretch="Uniform" DownloadProgressChanged="player_DownloadProgressChanged" BufferingProgressChanged="player_BufferingProgressChanged" CurrentStateChanged="player

Go forwards and backwards on FM radio frequency

我怕爱的太早我们不能终老 提交于 2019-12-08 10:34:25
问题 I have already designed a back button and a forward button with xaml. When I click the back button, my FM radio instance should start looking for a radio frequency below the radio frequency according to signal strength. 回答1: hi there is code to do that private void FastForwardButton_Click(object sender, RoutedEventArgs e) { try { do { ManageFrequencyChange(0.1); } while (FMRadio.Instance.SignalStrength * 100 < 65); } catch (RadioDisabledException ex) { } } and refrence for these private void

Cordova 5.0 Back Button Exits jQuery Mobile App

纵饮孤独 提交于 2019-12-08 10:25:04
问题 I'm building a Cordova 5.0.0 application with Visual Studio 2015 RC and jQuery Mobile (multipage app) (jQuery 2.1.4, jQuery Mobile 1.4.5), and I'm experiencing behavior with the back-button contrary to my understanding of how it should work. Right now, all my testing and development is being done on/for Windows Phone 8.1. The only plugins I'm using are cordova-plugin-media, which has a dependency on cordova-plugin-file, though I'm not explicitly using the file plugin. The problem No matter

PasswordCredential BackgroundTransfer

岁酱吖の 提交于 2019-12-08 10:03:40
问题 Im creating a new BackgroundTransfer and adding Server Credentials: PasswordCredential webdavLogin = new PasswordCredential(); webdavLogin.UserName = ServerSettings.Values["serverUsername"].ToString(); webdavLogin.Password = ServerSettings.Values["serverPassword"].ToString(); uploader.ServerCredential = webdavLogin; Now the problem is, everytime i run the BackgroundTransfer, the following exception raises: Exception from HRESULT: 0x80070565 The maximum number of secrets that may be stored in