Search

Categories

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Send mail to the author(s) E-mail

# Thursday, 18 September 2014

image

Got a small SSD and 10GB of AppData - 8GB in Local.  So moving to E.

| | # 
# Thursday, 05 June 2014
( VPN | Windows 8 )
  • Get Win8.1 running with a normal user
  • Run windows updates
  • Add in VPN and be careful to make sure to share it
  • Connect VPN
  • Add computer to domain – NetworkID below

image

    • domain name qnrl.com
    • add domain user to machine
  • reboot and look for the crazy icon shown below

http://blog.lan-tech.ca/2013/03/02/windows-8-connect-to-vpn-before-logon/

Trick to getting the icon up (which allows access to a shared VPN)

 image

| | # 
# Tuesday, 17 December 2013
  • Install Win 8.1
  • Add a VPN connection, share with other users eg qnrl3
  • My computer, Advanced, Security, join to domain
  • restart
  • Use wireless adapter, select ‘other user’ on login, then bottom left icon to bring up qnrl3 login screen
  • Probably need to do bottom left again to connect to wireless network.
| | # 
# Tuesday, 16 April 2013

Good to get the startmenu back – so can see what apps are installed:

image
http://download.cnet.com/Classic-Shell/3000-2072_4-75553853.html

| | # 
# Wednesday, 23 January 2013

http://www.howtogeek.com/howto/31779/fixing-when-the-windows-taskbar-refuses-to-auto-hide-correctly/

I killed explorer.  Then Ctrl+Shift+Escape, start new process, explorer to restart.  Remember to close apps.

| | # 
# Tuesday, 16 October 2012

WinRT only supports a subset of .NET

Ping App

https://github.com/christophwille/winrt-vasily

System.Net.NetworkInformation – not supported.

Windows.Networking.Sockets doesn’t support ICMP (Ping).

so use a direct StreamSocket connection.

http://msdn.microsoft.com/en-us/library/windows/apps/br230232.aspx  - supported API’s (some may be subsets)

image
An interesting interface - http://apps.microsoft.com/webpdp/en-US/app/ping/b7e08c6b-7f41-4644-9b0e-787e3152b17d

Can’t find it on the app store.  And it doesn’t support ICMP.

http://www.pcreview.co.uk/forums/icmp-using-raw-socket-not-working-vista-t3235397.html – we don’t have System.Net.Sockets

However do have Windows.Networking.Sockets.. but doesn’t support ICMP

http://stackoverflow.com/questions/12909755/icmp-ping-in-winrt-is-it-possible

MSDN Overview

http://msdn.microsoft.com/en-us/library/windows/apps/br230302.aspx – .NET for Windows Store Apps overview

http://msdn.microsoft.com/en-us/library/windows/apps/br230232.aspx – Supported APIs

http://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx – API reference

http://msdn.microsoft.com/en-us/library/windows/desktop/windows.networking.sockets.aspx – Windows.Networking.Sockets

http://code.msdn.microsoft.com/windowsapps/DatagramSocket-sample-76a7d82b#content – ICMP mentioned in this sample on sockets.

Use raw sockets to do an ICMP ping?

| | # 
# Monday, 15 October 2012

image
PhotoViewer app is the sample Lab app getting photos async from Flickr.

Also more labs on photoviewer here:

Work\Win8\Labs More Win8…

and the sample Wood Grove Bank  we worked on (with live tiles)

image

image

 

image
Left hand side green Wood Grove Bank live tile.

| | # 
# Friday, 12 October 2012

Using maggs.tfspreview.com for Source control.

Added in videos into the Service, videos folder (60MB)

image

Issue with webtbservice…updated w/service and didn’t work.
To delete ‘cookie’ in temp data to connect to a local text file, then I deleted the actual folder and uninstalled:

C:\Users\davidma\AppData\Local\Packages

- much better to uninstall the app

image

image
Webservice which contains method like GetImage, which suggests we need to get the images via the webservice!

test the webservice.

image
Understanding the dataset (in the LocalCatalogDataSouce json text file importer)

imagei
Got images working by copying the images from the webservice project into the images file on xaml project.

App Live Tiles

Getting the live tiles doing something on the start screen

image 
Currently it is just showing the green square

Look in the labs…find more labs.

image
Photoviewer live tile.  Cant make it wide as not supported in the manifest.

Goal is to get the left hand one showing something in live tile.

image
By adding a larger image into the manifest there is now an option to make the tile larger or smaller.

Peek

Make a ‘peek’ which goes up and down to an image.

image
http://code.msdn.microsoft.com/windowsapps/App-tiles-and-badges-sample-5fc49148

using an external dll helper – NotificationExtensions.

and the LAB13 Flickr Photo viewer which is written in C++ which does the rolling over of 5 photos.

image
Got live tiles working for wide and square:

image
Live code in app.xaml.cs setting up the tiles.  From: http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx#TileSquarePeekImageAndText01

and http://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh868253(v=win.10).aspx

Deep Linking

image

Semantic Zoom

image

Application Bar

image

Share

image

| | # 

integrating search into the application.

image

image
Notice the search suggestions of previous searches I’ve done within this app

image
Pre entered search suggestions.  Can use the Bing API to get auto search suggestions.

image
Search run on Edinburgh

| | # 

Win + C   Charm
Win + I  Settings
Win + Q  Search

| | # 

Win + C   to bring up charm window

http://msdn.microsoft.com/en-us/windows/apps/default  - Windows 8

| | # 
# Thursday, 11 October 2012

Display a Toast when the machine connects to the network (displays a message)

  • 1 cpu second (every 1 or 2 hours)
  • 2 cpu seconds (every 15mins on lock)

Will happen even when the app is not running, or has never been run on the machine.

http://visualstudiogallery.msdn.microsoft.com/bb764f67-6b2c-4e14-b2d3-17477ae1eaca   bing maps sdk for win8

| | # 
# Wednesday, 10 October 2012

Written using WinRT, running in a sandbox

Deployment of apps:

  • Need a dev licence to stop the community from ‘side loading’ apps outside of the app store
  • Store
  • In enterprise can use Group Policy to allow side loaded apps
  • WinRT only tablets can be certified?

image

image
Sample generated from template Grid Application template

image
Viewing the app in the simulator

Observable collections

image
The CollectionViewSource called groupedItemsViewSource

**class diagram and flow of app put in.. Why sealed?  try to Simplify model.

2. Collections and Groupings

ListView and GridView
Both derived from ItemsControl

Can populate an ItemsControl by adding items directly to its items collection or by binding its ItemsSource property to a data source.

image

Adding in the webservice call in SampleDataSource.

image 
Data is returned back using async, which means it loads up in front the of the user.  Very nice.  Seems to be passed back as the ObservableCollection of AllGroups.  Which is bound to the UI.

**TODO – make simplest possible observable collection, maybe using flickr.

3. Animation and Styling

image
Putting rounded corners on the pictures and made changes to the overlay too.

Changing App Title and Logo

image
appmanifest file.

image

image

image
Putting on entrance transition for the ItemDetail screen.

4. Controls and Views

adding an app bar

image

adding a basic control into the detail page:

image
This is what we want for the details page.

image
Completed view

5. Settings

Adding in a settings charm extension which writes to local settings

image
User will be able to set the number of photos retrieved in preferences, settings

**Is this supposed to remember settings between ‘instances’

| | # 
# Monday, 24 September 2012

Win+x  - brings up admin

Launchy I still use as issues with Chrome going into Metro mode

http://wallpaperswide.com/space-desktop-wallpapers.html

Generally impressed so far with the speed of the OS.

| | #