add but Tag info
|
Before Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 979 B |
|
Before Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/DarkTheme/pos_159.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 864 B After Width: | Height: | Size: 864 B |
|
Before Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
BIN
CampusAppWP8/CampusAppWP8/Assets/Icons/LightTheme/pos_159.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 5.3 KiB |
@@ -140,6 +140,9 @@
|
||||
<Compile Include="Model\Setting\AppSettings.cs" />
|
||||
<Compile Include="Model\Setting\UserProfilModel.cs" />
|
||||
<Compile Include="Model\Utility\CourseListPickerItemListWp8Model.cs" />
|
||||
<Compile Include="Pages\BTTTag\BTUTagInfo.xaml.cs">
|
||||
<DependentUpon>BTUTagInfo.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Campusmap\RoomListPage.xaml.cs">
|
||||
<DependentUpon>RoomListPage.xaml</DependentUpon>
|
||||
</Compile>
|
||||
@@ -290,6 +293,10 @@
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</ApplicationDefinition>
|
||||
<Page Include="Pages\BTTTag\BTUTagInfo.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Pages\Campusmap\CampusMapPage.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
@@ -433,6 +440,14 @@
|
||||
<Content Include="Assets\ApplicationIcon.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Assets\Icons\DarkTheme\lectures_159.png" />
|
||||
<Content Include="Assets\Icons\DarkTheme\lehrstuehle_159.png" />
|
||||
<Content Include="Assets\Icons\DarkTheme\mensaplan_159.png" />
|
||||
<Content Include="Assets\Icons\DarkTheme\pos_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\lectures_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\lehrstuehle_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\mensaplan_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\pos_159.png" />
|
||||
<Content Include="Assets\Maps\campusmap.png" />
|
||||
<Content Include="Assets\Icons\DarkTheme\add_159.png" />
|
||||
<Content Include="Assets\Icons\DarkTheme\add_contact_159.png" />
|
||||
@@ -468,12 +483,10 @@
|
||||
<Content Include="Assets\Icons\LightTheme\add_contact_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\btulogo_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\campus_159.png" />
|
||||
<Content Include="Assets\Icons\DarkTheme\departments_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\carotte_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\chicken_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\current_position_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\delete_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\departments_159.png" />
|
||||
<Content Include="Assets\Icons\DarkTheme\homework_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\exams_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\favorite_159.png" />
|
||||
@@ -486,10 +499,6 @@
|
||||
<Content Include="Assets\Icons\LightTheme\lamb_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\lecture_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\link_159.png" />
|
||||
<Content Include="Assets\Icons\DarkTheme\lectures_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\lectures_159.png" />
|
||||
<Content Include="Assets\Icons\DarkTheme\mensa_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\mensa_159.png" />
|
||||
<Content Include="Assets\Icons\DarkTheme\news_159.png" />
|
||||
<Content Include="Assets\Icons\LightTheme\news_159.png" />
|
||||
<Content Include="Assets\Icons\DarkTheme\openhours_159.png" />
|
||||
|
||||
35
CampusAppWP8/CampusAppWP8/Pages/BTTTag/BTUTagInfo.xaml
Normal file
@@ -0,0 +1,35 @@
|
||||
<phone:PhoneApplicationPage
|
||||
x:Class="CampusAppWP8.Pages.BTTTag.BTUTagInfo"
|
||||
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"
|
||||
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
||||
Foreground="{StaticResource PhoneForegroundBrush}"
|
||||
SupportedOrientations="Portrait" Orientation="Portrait"
|
||||
mc:Ignorable="d"
|
||||
shell:SystemTray.IsVisible="True">
|
||||
|
||||
<!--LayoutRoot ist das Stammraster, in dem alle anderen Seiteninhalte platziert werden-->
|
||||
<Grid x:Name="LayoutRoot" Background="Transparent">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!--TitlePanel enthält den Namen der Anwendung und den Seitentitel-->
|
||||
<StackPanel Grid.Row="0" Margin="12,17,0,28">
|
||||
<TextBlock Text="MEINE ANWENDUNG" Style="{StaticResource PhoneTextNormalStyle}"/>
|
||||
<TextBlock Text="Seitenname" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
|
||||
</StackPanel>
|
||||
|
||||
<!--ContentPanel - zusätzliche Inhalte hier platzieren-->
|
||||
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
|
||||
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
</phone:PhoneApplicationPage>
|
||||
20
CampusAppWP8/CampusAppWP8/Pages/BTTTag/BTUTagInfo.xaml.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Navigation;
|
||||
using Microsoft.Phone.Controls;
|
||||
using Microsoft.Phone.Shell;
|
||||
|
||||
namespace CampusAppWP8.Pages.BTTTag
|
||||
{
|
||||
public partial class BTUTagInfo : PhoneApplicationPage
|
||||
{
|
||||
public BTUTagInfo()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,9 @@ namespace CampusAppWP8.Pages.Campusmap
|
||||
using System.Threading;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Navigation;
|
||||
using Windows.Networking.Proximity;
|
||||
using CampusAppWP8.File.Places;
|
||||
using CampusAppWP8.Model.Campusmap;
|
||||
using CampusAppWP8.Model.GeoDb;
|
||||
@@ -26,8 +28,6 @@ namespace CampusAppWP8.Pages.Campusmap
|
||||
using CampusAppWP8.Utility.NDEF;
|
||||
using Microsoft.Phone.Controls;
|
||||
using Microsoft.Phone.Shell;
|
||||
using Windows.Networking.Proximity;
|
||||
using System.Windows.Input;
|
||||
|
||||
/// <summary>Class for the campusMap page.</summary>
|
||||
/// <remarks>Stubbfel, 19.08.2013.</remarks>
|
||||
@@ -66,6 +66,8 @@ namespace CampusAppWP8.Pages.Campusmap
|
||||
/// </summary>
|
||||
private bool buildInfoEnable;
|
||||
|
||||
private long ndefId;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
@@ -82,12 +84,12 @@ namespace CampusAppWP8.Pages.Campusmap
|
||||
|
||||
if (menuItem1 != null)
|
||||
{
|
||||
menuItem1.Text = AppResources.CampusMapApp_ScanQR;
|
||||
menuItem1.Text = AppResources.App_ScanQR;
|
||||
}
|
||||
|
||||
if (menuItem2 != null)
|
||||
{
|
||||
menuItem2.Text = AppResources.CampusMapApp_ScanNfc;
|
||||
menuItem2.Text = AppResources.App_ScanNfc;
|
||||
}
|
||||
|
||||
if (menuItem3 != null)
|
||||
@@ -118,7 +120,6 @@ namespace CampusAppWP8.Pages.Campusmap
|
||||
/// Event for loading places
|
||||
/// </summary>
|
||||
public event LoadingPlace OnLoadingPlace;
|
||||
private long ndefId;
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ namespace CampusAppWP8.Pages.Dev
|
||||
using Microsoft.Devices;
|
||||
using Microsoft.Phone.Controls;
|
||||
using ZXing;
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
|
||||
/// <summary>
|
||||
/// QR Code scanner.
|
||||
@@ -237,7 +238,7 @@ namespace CampusAppWP8.Pages.Dev
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(result.Text);
|
||||
MessageBoxes.ShowBtuTagInfoOkCancelMessageBox(result.Text);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -259,10 +260,10 @@ namespace CampusAppWP8.Pages.Dev
|
||||
{
|
||||
//if (this.isInAutofocus == false)
|
||||
//{
|
||||
this.cam.GetPreviewBufferArgb32(buffer);
|
||||
this.cam.GetPreviewBufferArgb32(buffer);
|
||||
|
||||
this.OnCaptureImage(buffer, (int)resolution.Width, (int)resolution.Height);
|
||||
this.isInAutofocus = true;
|
||||
this.OnCaptureImage(buffer, (int)resolution.Width, (int)resolution.Height);
|
||||
this.isInAutofocus = true;
|
||||
//}
|
||||
|
||||
System.Threading.Thread.Sleep(1000);
|
||||
|
||||
@@ -157,7 +157,7 @@
|
||||
|
||||
<lui:NavigateButton Name="examinationAppButton" Url="{Binding Path=Constants.PathExams_ExamsPage, Source={StaticResource Const}}" Grid.Column="0" Style="{StaticResource StartPageButton}">
|
||||
<StackPanel Style="{StaticResource StartPageStackPanelStyle}">
|
||||
<Image Source="{Binding Path=ThemelizedIcon.Exams, Source={StaticResource ThemelizedIcons}}" Style="{StaticResource StartPageButtonImg}"/>
|
||||
<Image Source="{Binding Path=ThemelizedIcon.ExamApp, Source={StaticResource ThemelizedIcons}}" Style="{StaticResource StartPageButtonImg}"/>
|
||||
<TextBlock Name="examinationAppButtonText" Text="{Binding Path=LocalizedResources.ExaminationApp_Title, Source={StaticResource LocalizedStrings}}" Style="{StaticResource StartPageButtonText}"/>
|
||||
</StackPanel>
|
||||
<toolkit:ContextMenuService.ContextMenu>
|
||||
|
||||
@@ -9,18 +9,21 @@ namespace CampusAppWP8.Pages
|
||||
{
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices.WindowsRuntime;
|
||||
using System.Threading;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Navigation;
|
||||
using Windows.Networking.Proximity;
|
||||
using CampusAppWP8.Feed.Utility;
|
||||
using CampusAppWP8.File.Places;
|
||||
using CampusAppWP8.Resources;
|
||||
using CampusAppWP8.Utility;
|
||||
using CampusAppWP8.Utility.Lui.MessageBoxes;
|
||||
using CampusAppWP8.Utility.Lui.Tiles;
|
||||
using CampusAppWP8.Utility.NDEF;
|
||||
using Microsoft.Phone.Controls;
|
||||
using Microsoft.Phone.Shell;
|
||||
using CampusAppWP8.File.Places;
|
||||
using CampusAppWP8.Utility.Lui.Tiles;
|
||||
|
||||
/// <summary>
|
||||
/// Class for the StartPage
|
||||
@@ -29,6 +32,9 @@ namespace CampusAppWP8.Pages
|
||||
{
|
||||
#region Member
|
||||
|
||||
/// <summary>The device.</summary>
|
||||
private readonly ProximityDevice device = ProximityDevice.GetDefault();
|
||||
|
||||
/// <summary>List of initialise courses.</summary>
|
||||
private CourseFeed initCourseList;
|
||||
|
||||
@@ -60,18 +66,16 @@ namespace CampusAppWP8.Pages
|
||||
menuItem2.Text = AppResources.Setting_ApplAppBarTitle;
|
||||
}
|
||||
|
||||
if (Settings.AppSetting.DevMode)
|
||||
if (menuItem3 != null)
|
||||
{
|
||||
if (menuItem3 != null)
|
||||
{
|
||||
menuItem3.Text = "Nfc";
|
||||
}
|
||||
|
||||
if (menuItem4 != null)
|
||||
{
|
||||
menuItem4.Text = "QR-Reader";
|
||||
}
|
||||
menuItem3.Text = AppResources.App_ScanQR;
|
||||
}
|
||||
|
||||
if (menuItem4 != null)
|
||||
{
|
||||
menuItem4.Text = AppResources.App_ScanNfc;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
ApplicationBar.MenuItems.RemoveAt(ApplicationBar.MenuItems.Count - 1);
|
||||
@@ -102,6 +106,8 @@ namespace CampusAppWP8.Pages
|
||||
file.LoadData();
|
||||
}
|
||||
|
||||
private long ndefId;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
@@ -115,7 +121,7 @@ namespace CampusAppWP8.Pages
|
||||
protected override void OnNavigatedTo(NavigationEventArgs e)
|
||||
{
|
||||
base.OnNavigatedTo(e);
|
||||
if (this.Orientation.Equals(PageOrientation.PortraitUp)|| this.Orientation.Equals(PageOrientation.PortraitDown) || this.Orientation.Equals(PageOrientation.Portrait))
|
||||
if (this.Orientation.Equals(PageOrientation.PortraitUp) || this.Orientation.Equals(PageOrientation.PortraitDown) || this.Orientation.Equals(PageOrientation.Portrait))
|
||||
{
|
||||
this.prevOrientation = PageOrientation.Portrait;
|
||||
}
|
||||
@@ -123,6 +129,19 @@ namespace CampusAppWP8.Pages
|
||||
{
|
||||
this.prevOrientation = PageOrientation.Landscape;
|
||||
}
|
||||
|
||||
ndefId = this.device.SubscribeForMessage(Constants.NCFMessageType_NDEF, this.NDEFHandler);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Methods overrides the OnNavigatedFrom-Method
|
||||
/// </summary>
|
||||
/// <param name="e">some NavigationEventArgs</param>
|
||||
protected override void OnNavigatedFrom(NavigationEventArgs e)
|
||||
{
|
||||
this.device.StopSubscribingForMessage(ndefId);
|
||||
|
||||
base.OnNavigatedFrom(e);
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -251,10 +270,10 @@ namespace CampusAppWP8.Pages
|
||||
/// </summary>
|
||||
/// <param name="sender">Caller of the function</param>
|
||||
/// <param name="e">some EventArgs</param>
|
||||
private void ApplicationBarMenuItem3_Click(object sender, EventArgs e)
|
||||
private void ApplicationBarMenuItem4_Click(object sender, EventArgs e)
|
||||
{
|
||||
Uri url = new Uri("/Pages/Dev/NFC.xaml", UriKind.Relative);
|
||||
NavigationService.Navigate(url);
|
||||
/* Uri url = new Uri("/Pages/Dev/NFC.xaml", UriKind.Relative);
|
||||
NavigationService.Navigate(url);*/
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -262,7 +281,7 @@ namespace CampusAppWP8.Pages
|
||||
/// </summary>
|
||||
/// <param name="sender">Caller of the function.</param>
|
||||
/// <param name="e">Event information.</param>
|
||||
private void ApplicationBarMenuItem4_Click(object sender, EventArgs e)
|
||||
private void ApplicationBarMenuItem3_Click(object sender, EventArgs e)
|
||||
{
|
||||
Uri url = new Uri("/Pages/Dev/QRScanner.xaml", UriKind.Relative);
|
||||
NavigationService.Navigate(url);
|
||||
@@ -312,8 +331,6 @@ namespace CampusAppWP8.Pages
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private void PintoStart_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
FrameworkElement elment = sender as FrameworkElement;
|
||||
@@ -373,28 +390,24 @@ namespace CampusAppWP8.Pages
|
||||
|
||||
}
|
||||
|
||||
private void PintoStart_Click2(object sender, RoutedEventArgs e)
|
||||
private void NDEFHandler(ProximityDevice sender, ProximityMessage message)
|
||||
{
|
||||
IconicTileData oIcontile = new IconicTileData();
|
||||
oIcontile.Title = "WebmailPage";
|
||||
|
||||
oIcontile.IconImage = new Uri(Icons.Mensa, UriKind.Relative);
|
||||
oIcontile.SmallIconImage = new Uri(Icons.Mensa, UriKind.Relative);
|
||||
|
||||
// find the tile object for the application tile that using "Iconic" contains string in it.
|
||||
ShellTile TileToFind = ShellTile.ActiveTiles.FirstOrDefault(x => x.NavigationUri.ToString().Contains("WebmailPage".ToString()));
|
||||
|
||||
if (TileToFind != null && TileToFind.NavigationUri.ToString().Contains("WebmailPage"))
|
||||
// create ndefMessage
|
||||
this.device.StopSubscribingForMessage(message.SubscriptionId);
|
||||
if (this.Dispatcher != null)
|
||||
{
|
||||
TileToFind.Delete();
|
||||
ShellTile.Create(new Uri(Constants.PathMail_WebMailPage, UriKind.Relative), oIcontile, true);
|
||||
this.Dispatcher.BeginInvoke(new Action(() => MessageBoxes.ShowBtuTagInfoOkCancelMessageBox()));
|
||||
}
|
||||
else
|
||||
{
|
||||
ShellTile.Create(new Uri(Constants.PathMail_WebMailPage, UriKind.Relative), oIcontile, true);
|
||||
MessageBoxes.ShowBtuTagInfoOkCancelMessageBox();
|
||||
}
|
||||
|
||||
ndefId = this.device.SubscribeForMessage(Constants.NCFMessageType_NDEF, this.NDEFHandler);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -69,6 +69,24 @@ namespace CampusAppWP8.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die BTU-Tag via NFC ähnelt.
|
||||
/// </summary>
|
||||
public static string App_ScanNfc {
|
||||
get {
|
||||
return ResourceManager.GetString("App_ScanNfc", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die BTU-Tag via QR-Code ähnelt.
|
||||
/// </summary>
|
||||
public static string App_ScanQR {
|
||||
get {
|
||||
return ResourceManager.GetString("App_ScanQR", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Hinzufügen ähnelt.
|
||||
/// </summary>
|
||||
@@ -88,7 +106,7 @@ namespace CampusAppWP8.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die BTU CampusApp ähnelt.
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die BTU Campus-App ähnelt.
|
||||
/// </summary>
|
||||
public static string ApplicationTitle {
|
||||
get {
|
||||
@@ -96,6 +114,24 @@ namespace CampusAppWP8.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Sie haben einen BTU-Tag eingescannt ähnelt.
|
||||
/// </summary>
|
||||
public static string BTUTag_Prefix {
|
||||
get {
|
||||
return ResourceManager.GetString("BTUTag_Prefix", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Mit einem BTU-Tag können Sie ortsgebundenen Informationen anzeigen lassen und in der App nutzen. Möchten Sie weitere Informationen über die BTU-Tags? ähnelt.
|
||||
/// </summary>
|
||||
public static string BTUTag_Suffix {
|
||||
get {
|
||||
return ResourceManager.GetString("BTUTag_Suffix", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Gebäude ähnelt.
|
||||
/// </summary>
|
||||
@@ -132,24 +168,6 @@ namespace CampusAppWP8.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Info via NFC ähnelt.
|
||||
/// </summary>
|
||||
public static string CampusMapApp_ScanNfc {
|
||||
get {
|
||||
return ResourceManager.GetString("CampusMapApp_ScanNfc", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Info via QR-Code ähnelt.
|
||||
/// </summary>
|
||||
public static string CampusMapApp_ScanQR {
|
||||
get {
|
||||
return ResourceManager.GetString("CampusMapApp_ScanQR", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Campusplan ähnelt.
|
||||
/// </summary>
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
<comment>Controls the Language and ensures that the font for all elements in the RootFrame aligns with the app's language. Set to the language code of this resource file's language.</comment>
|
||||
</data>
|
||||
<data name="ApplicationTitle" xml:space="preserve">
|
||||
<value>BTU CampusApp</value>
|
||||
<value>BTU Campus-App</value>
|
||||
</data>
|
||||
<data name="SampleProperty" xml:space="preserve">
|
||||
<value>Beispielwert für die Laufzeiteigenschaft</value>
|
||||
@@ -410,11 +410,11 @@
|
||||
<data name="ContextMenu_PinToStart" xml:space="preserve">
|
||||
<value>Auf Startseite</value>
|
||||
</data>
|
||||
<data name="CampusMapApp_ScanNfc" xml:space="preserve">
|
||||
<value>Info via NFC</value>
|
||||
<data name="App_ScanNfc" xml:space="preserve">
|
||||
<value>BTU-Tag via NFC</value>
|
||||
</data>
|
||||
<data name="CampusMapApp_ScanQR" xml:space="preserve">
|
||||
<value>Info via QR-Code</value>
|
||||
<data name="App_ScanQR" xml:space="preserve">
|
||||
<value>BTU-Tag via QR-Code</value>
|
||||
</data>
|
||||
<data name="ScarNfc_Fail" xml:space="preserve">
|
||||
<value>Kein gültigen NFC-Tag gefunden</value>
|
||||
@@ -458,4 +458,10 @@
|
||||
<data name="ContextMenu_MealCopy" xml:space="preserve">
|
||||
<value>Essenbeschreibung kopieren</value>
|
||||
</data>
|
||||
<data name="BTUTag_Prefix" xml:space="preserve">
|
||||
<value>Sie haben einen BTU-Tag eingescannt</value>
|
||||
</data>
|
||||
<data name="BTUTag_Suffix" xml:space="preserve">
|
||||
<value>Mit einem BTU-Tag können Sie ortsgebundenen Informationen anzeigen lassen und in der App nutzen. Möchten Sie weitere Informationen über die BTU-Tags?</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -106,7 +106,18 @@ namespace CampusAppWP8.Resources
|
||||
{
|
||||
get
|
||||
{
|
||||
return Themerize("departments_159.png");
|
||||
return Themerize("lehrstuehle_159.png");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the uri string of the ExamApp icon.
|
||||
/// </summary>
|
||||
public static string ExamApp
|
||||
{
|
||||
get
|
||||
{
|
||||
return Themerize("pos_159.png");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -249,7 +260,7 @@ namespace CampusAppWP8.Resources
|
||||
{
|
||||
get
|
||||
{
|
||||
return Themerize("mensa_159.png");
|
||||
return Themerize("mensaplan_159.png");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -139,7 +139,10 @@
|
||||
<value>delete_159.png</value>
|
||||
</data>
|
||||
<data name="Departments" xml:space="preserve">
|
||||
<value>departments_159.png</value>
|
||||
<value>lehrstuehle_159.png</value>
|
||||
</data>
|
||||
<data name="ExamApp" xml:space="preserve">
|
||||
<value>pos_159.png</value>
|
||||
</data>
|
||||
<data name="Exams" xml:space="preserve">
|
||||
<value>exams_159.png</value>
|
||||
@@ -178,7 +181,7 @@
|
||||
<value>link_159.png</value>
|
||||
</data>
|
||||
<data name="Mensa" xml:space="preserve">
|
||||
<value>mensa_159.png</value>
|
||||
<value>mensaplan_159.png</value>
|
||||
</data>
|
||||
<data name="News" xml:space="preserve">
|
||||
<value>news_159.png</value>
|
||||
|
||||
@@ -63,6 +63,22 @@ namespace CampusAppWP8.Utility.Lui.MessageBoxes
|
||||
return MessageBox.Show(text, AppResources.MsgBox_PlaceInfoHeader, MessageBoxButton.OKCancel);
|
||||
}
|
||||
|
||||
public static MessageBoxResult ShowBtuTagInfoOkCancelMessageBox(string text = null)
|
||||
{
|
||||
|
||||
string tagString;
|
||||
if (text != null)
|
||||
{
|
||||
tagString = ":\n" + Wp8StringManager.ToShortString(text, 160, "...");
|
||||
}
|
||||
else
|
||||
{
|
||||
tagString = "!";
|
||||
}
|
||||
string btuString = AppResources.BTUTag_Prefix + tagString + "\n" + AppResources.BTUTag_Suffix;
|
||||
return MessageBox.Show(btuString, AppResources.MsgBox_PlaceInfoHeader, MessageBoxButton.OKCancel);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace CampusAppWPortalLib8.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Cottbus Campus ähnelt.
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Cottbus ähnelt.
|
||||
/// </summary>
|
||||
public static string Campus_CBMain {
|
||||
get {
|
||||
@@ -71,7 +71,7 @@ namespace CampusAppWPortalLib8.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Cottbus Nordcampus ähnelt.
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Cottbus Nord ähnelt.
|
||||
/// </summary>
|
||||
public static string Campus_CBNorth {
|
||||
get {
|
||||
@@ -80,7 +80,7 @@ namespace CampusAppWPortalLib8.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Cottbus Südcampus ähnelt.
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Cottbus Süd ähnelt.
|
||||
/// </summary>
|
||||
public static string Campus_CBSouth {
|
||||
get {
|
||||
@@ -89,7 +89,7 @@ namespace CampusAppWPortalLib8.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Senftenberg Campus ähnelt.
|
||||
/// Sucht eine lokalisierte Zeichenfolge, die Senftenberg ähnelt.
|
||||
/// </summary>
|
||||
public static string Campus_SFBMain {
|
||||
get {
|
||||
|
||||
@@ -118,16 +118,16 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Campus_CBMain" xml:space="preserve">
|
||||
<value>Cottbus Campus</value>
|
||||
<value>Cottbus</value>
|
||||
</data>
|
||||
<data name="Campus_CBNorth" xml:space="preserve">
|
||||
<value>Cottbus Nordcampus</value>
|
||||
<value>Cottbus Nord</value>
|
||||
</data>
|
||||
<data name="Campus_CBSouth" xml:space="preserve">
|
||||
<value>Cottbus Südcampus</value>
|
||||
<value>Cottbus Süd</value>
|
||||
</data>
|
||||
<data name="Campus_SFBMain" xml:space="preserve">
|
||||
<value>Senftenberg Campus</value>
|
||||
<value>Senftenberg</value>
|
||||
</data>
|
||||
<data name="Degree_Bachelor" xml:space="preserve">
|
||||
<value>Bachelor</value>
|
||||
|
||||