Here is the link for tweeting and liking our submission.
http://mtaappquest.com/submissions/5283-nyc-travel
a test for the social plugin
First off, I want to say thank you Giz so much for noticing our hard work. You can view our writeup at Gizmodo
You can visit our site by clicking on nyc transit or nyc transit app
App Test Results
Test Result: The application stops active music on the device to play its own sound. – fail
Expected Result:
Test Process Required:
1. Play audio and/or music media.
2. Launch the application.
3. The application must not pause, resume, or
stop the active music on the device.
4. If the application plays its own background
music, the application must prompt for user
consent to stop playing or to adjust the currently
playing background music.
<phone:PhoneApplicationPage
xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”
xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”
xmlns:phone=”clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone”
xmlns:shell=”clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone”
xmlns:d=”http://schemas.microsoft.com/expression/blend/2008″
xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006″
xmlns:Custom=”clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity” xmlns:im=”clr-namespace:Microsoft.Expression.Interactivity.Media; assembly=Microsoft.Expression.Interactions” xmlns:il=”clr-namespace:Microsoft.Expression.Interactivity.Layout;assembly=Microsoft.Expression.Interactions” xmlns:ic=”clr- namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions”
xmlns:local=”clr-namespace:babyxylo”
x:Class=”babyxylo.MainPage”
mc:Ignorable=”d” d:DesignWidth=”480″ d:DesignHeight=”800″
SupportedOrientations=”Portrait” Orientation=”Portrait”
shell:SystemTray.IsVisible=”False”>
<phone:PhoneApplicationPage.Resources>
<Storyboard x:Name=”chords1″/>
<Storyboard x:Name=”soundsfx”/>
<Storyboard x:Name=”sounds2″>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty=”(UIElement.Opacity)” Storyboard.TargetName=”sounds”>
<EasingDoubleKeyFrame KeyTime=”0″ Value=”1″/>
<EasingDoubleKeyFrame KeyTime=”0:0:0.3″ Value=”0″/>
<EasingDoubleKeyFrame KeyTime=”0:0:0.5″ Value=”1″/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
<Storyboard x:Name=”chords3″>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty=”(UIElement.Opacity)” Storyboard.TargetName=”chords”>
<EasingDoubleKeyFrame KeyTime=”0″ Value=”1″/>
<EasingDoubleKeyFrame KeyTime=”0:0:0.3″ Value=”0″/>
<EasingDoubleKeyFrame KeyTime=”0:0:0.5″ Value=”1″/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
<Storyboard x:Name=”eyes1″>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty=”(UIElement.RenderTransform).(CompositeTransform.TranslateX)” Storyboard.TargetName=”ellipse” RepeatBehavior=”3x”>
<EasingDoubleKeyFrame KeyTime=”0″ Value=”0″/>
<EasingDoubleKeyFrame KeyTime=”0:0:0.4″ Value=”5.583″/>
<EasingDoubleKeyFrame KeyTime=”0:0:1.1″ Value=”1.5″/>
<EasingDoubleKeyFrame KeyTime=”0:0:1.7″ Value=”7.167″/>
<EasingDoubleKeyFrame KeyTime=”0:0:2.9″ Value=”7.167″/>
<EasingDoubleKeyFrame KeyTime=”0:0:3.7″ Value=”6.167″/>
<EasingDoubleKeyFrame KeyTime=”0:0:5″ Value=”6.167″/>
<EasingDoubleKeyFrame KeyTime=”0:0:5.7″ Value=”6.167″/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty=”(UIElement.RenderTransform).(CompositeTransform.TranslateY)” Storyboard.TargetName=”ellipse” RepeatBehavior=”3x”>
<EasingDoubleKeyFrame KeyTime=”0″ Value=”0″/>
<EasingDoubleKeyFrame KeyTime=”0:0:0.4″ Value=”-9.167″/>
<EasingDoubleKeyFrame KeyTime=”0:0:1.1″ Value=”2.666″/>
<EasingDoubleKeyFrame KeyTime=”0:0:1.7″ Value=”0.666″/>
<EasingDoubleKeyFrame KeyTime=”0:0:2.9″ Value=”0.666″/>
<EasingDoubleKeyFrame KeyTime=”0:0:3.7″ Value=”-0.834″/>
<EasingDoubleKeyFrame KeyTime=”0:0:5″ Value=”-0.834″/>
<EasingDoubleKeyFrame KeyTime=”0:0:5.7″ Value=”-0.834″/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty=”(UIElement.RenderTransform).(CompositeTransform.TranslateX)” Storyboard.TargetName=”ellipse1″ RepeatBehavior=”3x”>
<EasingDoubleKeyFrame KeyTime=”0″ Value=”0″/>
<EasingDoubleKeyFrame KeyTime=”0:0:0.4″ Value=”-1.667″/>
<EasingDoubleKeyFrame KeyTime=”0:0:1.1″ Value=”8.333″/>
<EasingDoubleKeyFrame KeyTime=”0:0:1.7″ Value=”-5.667″/>
<EasingDoubleKeyFrame KeyTime=”0:0:2.9″ Value=”-4.667″/>
<EasingDoubleKeyFrame KeyTime=”0:0:3.7″ Value=”-2.667″/>
<EasingDoubleKeyFrame KeyTime=”0:0:5″ Value=”-2.667″/>
<EasingDoubleKeyFrame KeyTime=”0:0:5.7″ Value=”-2.667″/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty=”(UIElement.RenderTransform).(CompositeTransform.TranslateY)” Storyboard.TargetName=”ellipse1″ RepeatBehavior=”3x”>
<EasingDoubleKeyFrame KeyTime=”0″ Value=”0″/>
<EasingDoubleKeyFrame KeyTime=”0:0:0.4″ Value=”-9.917″/>
<EasingDoubleKeyFrame KeyTime=”0:0:1.1″ Value=”-2.167″/>
<EasingDoubleKeyFrame KeyTime=”0:0:1.7″ Value=”-8.334″/>
<EasingDoubleKeyFrame KeyTime=”0:0:2.9″ Value=”-3.334″/>
<EasingDoubleKeyFrame KeyTime=”0:0:3.7″ Value=”-0.334″/>
<EasingDoubleKeyFrame KeyTime=”0:0:5″ Value=”-0.334″/>
<EasingDoubleKeyFrame KeyTime=”0:0:5.7″ Value=”-0.334″/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
<Storyboard x:Name=”buddyfx”/>
<BounceEase
x:Key=”buddystate” EasingMode=”EaseInOut”/>
</phone:PhoneApplicationPage.Resources>
<!–Sample code showing usage of ApplicationBar–><!–<phone:PhoneApplicationPage.ApplicationBar>
<shell:ApplicationBar IsVisible=”True” IsMenuEnabled=”True”>
<shell:ApplicationBarIconButton IconUri=”/Images/appbar_button1.png” Text=”Button 1″/>
<shell:ApplicationBarIconButton IconUri=”/Images/appbar_button2.png” Text=”Button 2″/>
<shell:ApplicationBar.MenuItems>
<shell:ApplicationBarMenuItem Text=”MenuItem 1″/>
<shell:ApplicationBarMenuItem Text=”MenuItem 2″/>
</shell:ApplicationBar.MenuItems>
</shell:ApplicationBar>
</phone:PhoneApplicationPage.ApplicationBar>–>
<phone:PhoneApplicationPage.FontFamily>
<StaticResource ResourceKey=”PhoneFontFamilyNormal”/>
</phone:PhoneApplicationPage.FontFamily>
<phone:PhoneApplicationPage.FontSize>
<StaticResource ResourceKey=”PhoneFontSizeNormal”/>
</phone:PhoneApplicationPage.FontSize>
<phone:PhoneApplicationPage.Foreground>
<StaticResource ResourceKey=”PhoneForegroundBrush”/>
</phone:PhoneApplicationPage.Foreground>
<!–LayoutRoot is the root grid where all page content is placed–>
<Grid x:Name=”LayoutRoot” Background=”Transparent”>
<!–TitlePanel contains the name of the application and page title–>
<Grid.RowDefinitions>
<RowDefinition Height=”Auto”/>
<RowDefinition Height=”*”/>
</Grid.RowDefinitions>
<!–ContentPanel – place additional content here–>
<Grid x:Name=”ContentPanel” Grid.Row=”1″ Margin=”12,0,12,0″>
<Custom:Interaction.Triggers>
<Custom:EventTrigger>
<im:PlaySoundAction Volume=”1″ Source=”/Assets/sounds/intro sound.wav”/>
</Custom:EventTrigger>
</Custom:Interaction.Triggers>
<Image Margin=”-12,0″ Source=”/Assets/mainpagebackground.jpg” Stretch=”Fill”/>
<Image Margin=”-12,0″ Source=”/Assets/mainpagebackground.jpg” Stretch=”Fill”/>
<Canvas x:Name=”sounds1″ Height=”99″ Margin=”109,0,101,249″ VerticalAlignment=”Bottom”>
<Custom:Interaction.Triggers>
<Custom:EventTrigger EventName=”MouseEnter”>
<im:ControlStoryboardAction Storyboard=”{StaticResource sounds2}”/>
<im:PlaySoundAction Source=”/Assets/sounds/chordstrans.wav” Volume=”1″/>
</Custom:EventTrigger>
<Custom:EventTrigger EventName=”MouseLeave”>
<ic:NavigateToPageAction TargetPage=”/sounds.xaml”/>
</Custom:EventTrigger>
</Custom:Interaction.Triggers>
<Image x:Name=”sounds” Height=”99″ Source=”Assets/sounds.jpg” Stretch=”Fill” Width=”246″/>
</Canvas>
<Canvas x:Name=”chords2″ HorizontalAlignment=”Left” Margin=”93,177,0,389″ Width=”117″>
<Custom:Interaction.Triggers>
<Custom:EventTrigger EventName=”MouseEnter”>
<im:ControlStoryboardAction Storyboard=”{StaticResource chords3}”/>
<im:PlaySoundAction Source=”/Assets/sounds/soundstrans.wav” Volume=”1″/>
</Custom:EventTrigger>
<Custom:EventTrigger EventName=”MouseLeave”>
<ic:NavigateToPageAction TargetPage=”/chords.xaml”/>
</Custom:EventTrigger>
</Custom:Interaction.Triggers>
<Image x:Name=”chords” Source=”Assets/chords.jpg” Stretch=”Fill” Width=”117″ Height=”234″/>
</Canvas>
<Canvas x:Name=”eyes” HorizontalAlignment=”Left” Height=”8″ Margin=”209,104,0,0″ VerticalAlignment=”Top” Width=”8″ RenderTransformOrigin=”2,2″>
<Custom:Interaction.Triggers>
<Custom:EventTrigger>
<im:ControlStoryboardAction Storyboard=”{StaticResource eyes1}”/>
</Custom:EventTrigger>
</Custom:Interaction.Triggers>
<Ellipse x:Name=”ellipse” Fill=”#FF55559B” Height=”8″ Stroke=”Black” Width=”8″ Canvas.Left=”1″ Canvas.Top=”5″ RenderTransformOrigin=”0.5,0.5″>
<Ellipse.RenderTransform>
<CompositeTransform/>
</Ellipse.RenderTransform>
</Ellipse>
</Canvas>
<Canvas HorizontalAlignment=”Left” Height=”6″ Margin=”210,126,0,0″ VerticalAlignment=”Top” Width=”7″>
<Ellipse x:Name=”ellipse1″ Fill=”#FF55559B” Height=”6″ Stroke=”Black” Width=”7″ Canvas.Left=”1″ Canvas.Top=”7″ RenderTransformOrigin=”0.5,0.5″>
<Ellipse.RenderTransform>
<CompositeTransform/>
</Ellipse.RenderTransform>
</Ellipse>
</Canvas></Grid>
</Grid>
</phone:PhoneApplicationPage>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Media;
namespace babyxylo
{
public partial class MainPage : PhoneApplicationPage
{
// Constructor
public MainPage()
{
InitializeComponent();
if (Microsoft.Xna.Framework.Media.MediaPlayer.State == MediaState.Playing)
{
MessageBoxResult Choice;
Choice = MessageBox.Show(“Media is currently playing, do you want to stop it?”, “Stop Player”, MessageBoxButton.OKCancel);
if (Choice == MessageBoxResult.OK);
{
MediaPlayer.Pause();
}
}
}
Visit our sister site for computer repair nyc laptop repair nyc mac repair nyc
Online Property management software is the perfect step towards making the business of property management much easier and handy. It is the only software with the help of which you can easily track the tenants, and also you can manage all your finances, on the other hand it also helps you to stay up to date in regards to property maintenance. More after the jump