windows-phone

Tools for Apache Cordova: JQueryMobile wraps input tags inside a head tag?

ε祈祈猫儿з 提交于 2019-12-12 01:55:09
问题 Visual Studio 2013 Ultimate update 4, Tools for Apache Cordova CTP 3.0, building for Windows Phone 8.1 I'm searching for help/workarounds/magic to deal with the following: Start with a blank ApacheCordova template app, it runs "fine". Add a button input -- everything is still "fine" But then include JQuery and JQuery.mobile and neither the <p> nor the <input> are rendered when running on the emulator or the device.?.?.?.??? <body> <p>Hello, your application is ready!</p> <input type='button'

Tools for Apache Cordova DEP6200 Windows Universal App Windows Phone Won't Connect

a 夏天 提交于 2019-12-12 01:54:31
问题 I receive the following error when trying to connect to a Nokia 925 running windows 10. Severity Code Description Project File Line Suppression State Error DEP6200 : Bootstrapping failed. Device cannot be found. 0x89731810: Deployment failed because no Windows Phone was detected. Make sure a phone is connected and powered on. I can't get the phone to connect. The phone syncs pictures and charges fine. I am running Windows 10 on my laptop. I have developer features enabled on my windows 10 and

Listboxitem stop showing highlited on select in Windows phone 8

允我心安 提交于 2019-12-12 01:44:25
问题 I am using listbox to show my data in windows phone 8. I have added some logic for enable/disable click of listboxitem. Its working correct now but how I don't know on tap color change for listbox is now stop working can anyone please help me to get out from this. here is my code <ListBox Name="lstCourses" ItemsSource="{StaticResource ListOfCourse}" toolkit:TiltEffect.IsTiltEnabled="True" SelectionChanged="lstCourses_SelectionChanged"> <ListBox.ItemContainerStyle> <Style TargetType=

WP7 Application.getResourceStream retunring null every time

我们两清 提交于 2019-12-12 01:37:19
问题 Im trying to load a .txt file into a 2D array which i can do from a temp in isolated storage but our level builder writes to .txt files and moving them to isolated storage for each one is out of the question. It is a windows phone game. The text files Build action is set to content. The Copy to output is set to Do Not Copy. The file is in the base content folder. var ResrouceStream = Application.GetResourceStream(new Uri("grid_map;component/Data.txt", UriKind.Relative)); if (ResrouceStream !=

image stream to base64 string in WP7

邮差的信 提交于 2019-12-12 01:32:25
问题 in my wp7 application i am selecting image from media library and i want to get base64 string of that image because i am sending it to my wcf service to create image on server. the code for getting base64 string is as follows: void taskToChoosePhoto_Completed(object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { fileName = e.OriginalFileName; selectedPhoto = PictureDecoder.DecodeJpeg(e.ChosenPhoto); imgSelected.Source = selectedPhoto; int[] p = selectedPhoto.Pixels; int len = p

Using Google Webfonts in Windows Phone 8 web browser control

不问归期 提交于 2019-12-12 01:29:25
问题 I am trying to use web fonts in my Windows phone application. From the comments I have read, I understood that it is not possible to use fonts embedded into XAP file. So, I am trying to open a webpage that contains Google Web Fonts which is at: http://omercelik.com/e.htm When I open this page from Internet Explorer on phone, it shows the font correctly. But when I try to load this page from a webBrowser control, it doesn't loads this page. I don't do anything else but this on my app: private

how to underline text with different color in WP8?

北城以北 提交于 2019-12-12 01:05:29
问题 I have the following code: <TextBlock HorizontalAlignment="Center" TextWrapping="Wrap" Style="{StaticResource PhoneTextTitle1Style}" FontSize="65"> <Underline Foreground="DeepSkyBlue"> <Run Foreground="Turquoise" Text="{Binding SomeProp}"></Run> </Underline> </TextBlock> What I need is to paint in turquoise color my text and underline it using other color - "DeepSkyBlue". I thought Run element should overwrite the parent control Foreground property for itself but it looks like it was wrong

Databinding List<Object> WindowsPhone

五迷三道 提交于 2019-12-12 00:46:24
问题 I would like to improve my productivity to use the correct design. So I add a folder SampleData and a file RestaurantsSampleData.xaml The structure of this file defines : xmlns:vm="clr-namespace:GeolocationTest.ViewModels"> <vm:MainViewModel.Pois> <vm:Poi Id="1" Adresse="20 rue de vinci, 33700 merignac" Name="MacDonald" /> <vm:Poi Id="2" Adresse="20 rue de vinci, 33700 merignac" Name="MacDonald"/> <vm:Poi Id="3" Adresse="20 rue de vinci, 33700 merignac" Name="MacDonald"/> <vm:Poi Id="4"

Windows phone Webbrowser bouncy behaviour

本秂侑毒 提交于 2019-12-12 00:28:36
问题 How to restrict the webbrowser control bouncy behaviour (white space is seen while scrolling up and down). Please refer the screenshot below. 回答1: There doesn't appear to be a way to disable the 'bounce in the WP7 or WP8 WebBrowser control. But the issue you're seeing can be fixed with a small bit of CSS. Simply apply a background-color to the BODY of the document.. <!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> body {background: black} #content {background: black} p

How to create a fullscreen size popup in Windows phone

有些话、适合烂在心里 提交于 2019-12-11 23:42:14
问题 Fullscreen I mean the popup usercontrol covers the whole cellphone screen, maximize. can this be done? thx! 回答1: You can get the current width and height by Content.ActualHeight/Width property here's a code snippet public void showPopUp() { //get heigth and width double height=Application.Current.Host.Content.ActualHeight; double width = Application.Current.Host.Content.ActualWidth; //child content StackPanel stk = new StackPanel(); stk.Height = height; //set height stk.Width = width; //set