windows-phone-8.1

How to use instagram direct api

一个人想着一个人 提交于 2021-02-16 13:53:09
问题 Hello I want to use Instagram api for the direct feature and don't have more knowledge about OAuth2.0. I know Instagram provides direct api this app is using direct api but i don't know how to implement it. I seen this question but i don't know how to work with this. I want to develop iOS application but i hope any android or windows developer can also help for api. 回答1: Instagram does not provide an API for direct messaging. 6tag is using Instagram's private API, which is supposed to be used

Windows 10 Mobile height of soft keyboard

流过昼夜 提交于 2021-02-07 09:23:36
问题 Does anybody know how to move content of the page (maybe set relative margins or something like that) when soft keyboard is shown. Here is the example page from my application. So I want when the user starts typing a phone number in the text box the bottom button will be shown above the soft keyboard. As a result I want something like that: P.S: Sorry about Russian language on the screens. 回答1: It's kind of tricky, but as I've tried should work. I've used InputPane's showing and hiding events

Bringing up the soft keyboard in a Windows Phone 8.1 Direct3D app

狂风中的少年 提交于 2021-01-29 02:50:47
问题 I'm porting a game to Windows Phone 8.1 using C++/CX with DirectX 11. I need to bring up the soft keyboard for some text input. Under Windows phone 8, I used the code provided by Microsoft here: How to handle keyboard input in a Direct3D app for Windows Phone 8 This worked well but none of this code is valid in Windows Phone 8.1 and I've been unable to find any updated information. How can I do this in 8.1? I need to show/hide the keyboard and listen for keyboard inputs. Popping up a dialog

Check if user is already logged in

匆匆过客 提交于 2021-01-28 12:30:55
问题 I am developing an application for Windows Phone 8.1 which will use Google Blogger Api. For authorization I am using the GoogleWebAuthorizationBroker.AuthorizeAsync() function and everything is alright with that, I can do everything with my blog (get the blog/post lists, edit, delete, add posts ...). When my application opens at first it calls GoogleWebAuthorizationBroker.AuthorizeAsync() function and in case when the user is already logged in (previously authenticated and authorized) the

Do not pass literals as localized parameters

扶醉桌前 提交于 2020-05-15 02:39:26
问题 I have the following warning when running a code analysis on my project (which is a Windows Phone 8.1 app): CA1303 Do not pass literals as localized parameters Method 'Common.TranslateError(String)' passes a literal string as parameter 'text' of a call to 'XDocument.Parse(String)'. Retrieve the following string(s) from a resource table instead. This is my method: Public Function TranslateError(ByVal exMessage As String) As XDocument Return XDocument.Parse("<Response><Exception><Message><" &

Custom buttons in WP8.1 XAML apps

房东的猫 提交于 2020-03-26 05:41:08
问题 I'm trying to create a "hover" effect when the user touches their finger down on to a button. When that happens I would like to background color of the button to change - and then when they move it away it changes back to the original color. My code for the whole button is below <Button x:Name="btnService" HorizontalAlignment="Center" Tag="{Binding Tag}" Command="{Binding DataContext.ConnectServiceCommand, ElementName=LayoutRoot}" CommandParameter="{Binding Tag}"> <Button.Template>