Mobile Development

experiences of wp10: about me

This is a blog of my experiences with wp10.

Applications I use a lot: phone, sms, email, SkypeForBusiness, Edge, weather (I travel a lot and need to see information on sunrise and real feel temperatures).
In the car (audi a6 2014), huge bluetooth user, using: calls, podcasts, spotify, intune radio (radio riviera :-)), camera (for logging car miles – not a heavy user of camera otherwise).
Sport: Garmin Connect, Endomondo.

Be the first to comment - What do you think?
Posted by admin - April 17, 2016 at 14:06

Categories: wp10   Tags:

chm content not displayed

I downloaded the office2013 vba help files in chm format and saved them to my computer. When you launch them, you should see contact on the right hand side. I did not. I could still search using the left hand pane, but a double click in the lift hand pane did not show the expected content in the right.

To fix, you need to open properties (right click on the file) and then select unblock at the bottom (it has been blocked as it has come from the internet). Reload and the content should now display.

Be the first to comment - What do you think?
Posted by admin - June 7, 2015 at 17:06

Categories: Win8   Tags:

Microsoft band first thoughts

I was in Seattle 2 weeks ago so I bought a band. Here’s my first thoughts:
1. Heavy. It is quite heavy – I feel it when I go running.
2. Battery. Requires charging every 2 days.
3. Waterproof. Cannot handle shower but can handle rain.
4. Heart rate. I’ve noticed big differences between band and and an HRM belt.
5. Pedometer. Big differences between Garmin vivosmart and band – but I am wearing them on different wrists.
6. Cortana. Cant figure out how this works, nor twitter.
7. Music. Why cant I start and stop music?

Things I like:
1. Ecosystem. Its part of the ecosystem so it should get better.
2. Data. It collects a lot of data – including gps when running. Where does it all go? Would be great to have Endomondo interface…
3. Sleep %. Ok one for data freaks but quite interesting to see % efficiency of sleep and how many times you woke up…

Be the first to comment - What do you think?
Posted by admin - March 31, 2015 at 22:44

Categories: Feeling At Home in New Places, Mobile Living, Nokia Development, Tech   Tags:

Win8 remove taskbar thumbnail previews

This has been bugging the hell out of me: I like the lists (I can see what has been saved and what has not). I hate the previews (no extra information provided by them – and takes away my saved / not saved view) 🙂

From
KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband

New dword32
NumThumbnails
0

Be the first to comment - What do you think?
Posted by admin - February 26, 2015 at 09:11

Categories: Win8   Tags:

wp8.1 emulator troubleshooting – Windows Phone OS is starting OR Loading OR freezes

I had lots of issues with getting wp8.1 emulator working with visual studio 2013 update 4, although it worked fine with a physical device.
Challenge is that emulator creates virtual machines and then it is a network connection over to the virtual machine.
Looking at the hyper-v manager, I could see that the virtual machine had been created ok, and VSExpress 2013 was starting it ok (and it stopped and restarted each time I hit debug in VSExpress).
My problem was that we use F-secure as a firewall and it was blocking communication.

My fix: activated airplane mode, disabled firewalls then tried again.
2 minutes in, everything was ok – vm had been created (I was deleting them and the virtual switch before starting each run) and connection had been made.
Second time took 5 seconds to run.

I then switched firewall back on, airplane mode off. Even internet worked.
The only thing it did not seem to survive was an overnight sleep state – but that’s ok.

Note, if I use windows firewall, this already ships with the right port rules – but I could not see anything to do with VS or xde, so must be the generic hyper-v ones.

Really difficult for me to see which are the origin ports, as these are dynamically generated. But I can see that on the emulator it is port 135.

OTHER TROUBLESHOOTING
Along the way, I came across many useful sources of info…

*****
Simple fix might be to plug in the physical LAN cable – don’t ask, just the way hyper-v virtual switches work… (something to do with sharing same MAC).
*****

Troubleshooting the Windows Phone 8 Emulator
From

(WP8) Emulator (XDE) Troubleshooting Tips
From

Windows phone emulator not working (visual studio update 3)?
From

*****
https://www.beta.microsoft.com/VisualStudio/feedback/details/896712/app-fails-to-deploy-into-emulator
One possible reason for the behavior you are observing is corrupt Hyper-V settings. To correct that, please follow these steps:

1. Close Visual Studio.
2. Open the Hyper-V Manager.
3. Delete all Emulator virtual machines.
4. From the Virtual Switch Manager, delete all Windows Phone Emulator-related switches.
5. Start Visual Studio and try deploying to the Emulator.

When I did that I then got the error: “you do not have permission to modify internal hyper-v network adapter settings, which are required to run the emulator”

Hit retry – but then it paused on the “Windows Phone OS is starting”.
*****

I then tried other format emulators – did not work.

*****
I then tried launching from the command line – works, but then you do not get the connection between the two:
“c:\Program Files (x86)\Microsoft XDE\8.1\xde.exe” /name “Emulator 8.1 U1 1080P 6 inch.myusername” /displayName “Manual” /video “1080×1920”

My actual command line when executed from visual studio:
“C:\Program Files (x86)\Microsoft XDE\8.1\XDE.exe” /name “Emulator 8.1 U1 1080P 6 inch.myusername” /displayName “Emulator 8.1 U1 1080P 6 inch” /vhd “C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Emulation\Images\flash.update1.vhd” /video “1080×1920” /memsize 2048 /diagonalSize 6 /language 409 /bootlanguage 409 /creatediffdisk “C:\Users\myusername\AppData\Local\Microsoft\XDE\8.1\dd.1080×1920.2048.60.gdr1.vhd” /snapshot /fastShutdown

****
Possible solutions for WP8 SDK Emulator issues – WP8 Hyper-V emulator cannot see the wireless network adapter
From
****
I was running on a domain where I am not the admin of the domain (that’s why I think I had lots of problems with hyper-v user privileges. Even adding the domain user in via mmc did not help (note: need to be connected to the domain to do that – otherwise you can only add local users).
Good luck!

Be the first to comment - What do you think?
Posted by admin - February 26, 2015 at 09:06

Categories: Windows Phone, WP8   Tags:

CISCO anyconnect win8.1 “failed to initialize connection subsystem”

Microsoft very recently released some patches for win8.1. This breaks CISCO anyconnect. Error message: “failed to initialize connection subsystem”. This can be fixed by going to: https://support.microsoft.com/kb/3023607

Be the first to comment - What do you think?
Posted by admin - February 26, 2015 at 08:36

Categories: Win8   Tags:

hyper-v: vhd vs vhdx, dynamic vs fixed

Over the last week I’ve installed win8 about 10 times trying to get the right combination. Some things I’ve found out:

  • use vhd, 32-bit and memory less than 2048Mb if you want your drive to run on virtualpc – however I never got mine working and I tried creating it on virtualpc and going over to hyper-V on win8, as well as the other way round
  • for 4G RAM, my win8pro installation needed at least 24Gb, otherwise it ran out of space on a fixed drive. right now I am using 60Gb dynamic drive
  • it says that fixed drives are faster than dynamic. however there are studies out there that show dynamic can be faster than fixed and that the differences are not huge. go dynamic – it saves you a lot of time
  • if you want to install virtual machine and disk on an external drive and want to encrypt it, truecrypt does not work – use bitlocker. bitlocker works across win7 as well as win8. however sometimes if you install a fixed drive with an external cd drive, then my dell xps12 lost the handle to both external drives and then got into a terrible state thinking the external drive was corrupted
  • if you don’t have a week to spare, use dynamic drives, not fixed. dynamic drives format right away, whereas fixed take time (which opens up the problem described above
  • do not use fixed and then convert to dynamic – it does not work. nor does creating a new dyanmic drive and copying it
  • install the build (custom, rather than update – update does not work), boot into windows, then rerun the setup.exe. at some point it should ask to download updates (to the install process). that should allow you to install the 54 updates… btw you know this has worked as it should now tell you how much it is downloaded more frequently than 1 update after 20 minutes… it takes 30 minutes to download the 54 updates over a 100MB/s connection and 1 hour to install. Once installed, shut down and copy/paste the vdhx to get a copy.
  • when installing updates make sure you dont install all 55 at the same time (if using build 9200 on 25 August). also if you don’t know the hack about deleting “software distribution” directory – learn it. If you do want to install all 55, then be prepared for windows to not look like it is doing anything for 30 minutes. All told, I would go through cycles of 2 hours with updates, only to find it fail at the last point
  • if you do hit problems, then the windows update troubleshooter is very useful. aftre running, you can install a new patch rightaway, without having to restart
  • Be the first to comment - What do you think?
    Posted by admin - August 25, 2013 at 16:13

    Categories: Mobile Living, Tech, Win8   Tags:

    Hyper-V on vmplayer

    I’ve been trying out some combinations of virtualism.

    First, the easiest to use is Oracle’s VirtualBox is the easiest to use and is pretty robust. Networking and file sharing is a doddle – unlike some of the other solutions.

    Then I use vmplayer, as it is our company standard on our win7 laptops. Really great feauture here is shared folders, but remember to install the extensions before they work properly. (If you cannot see the folders, look in networks).

    Finally I use Hyper-V on my win8 laptops. Pass-thru networking and “shared folders” are pretty hard to set up. However by double clicking on the vhdx file, it creates a drive on the host that you can use (so sort of shared folders).

    Some other notes:
    1. Hyper-V does not exist on win7
    2. Hyper-V on vmplayer win8 does not allow you to create/import VMs (you need to be on top of a physical processor), so you just get a connect to option

    Hyper-V on vmplayer

    Hyper-V on vmplayer

    Hyper-V on win7

    Hyper-V on win7

    1 comment - What do you think?
    Posted by admin - August 19, 2013 at 21:18

    Categories: Nokia Development, Tech, WP8   Tags:

    Nokia amber lumia updates region availability

    Amber update is now available. As of today, only 920 had been made available and then only on a few countries, eg: UK, Ireland, etc. Check this page for updates: http://www.nokia.com/global/support/software-update/wp8-software-update/availability-in-europe/

    I have a sim free lumia 820 bought from UK, but live in Finland and normally travel frequently. As far as I can work out, the update depends on which country you are currently in. My guess is that if it is not available for your carrier then you can download via wifi with the SIM card out. And of course you could look on the web, eg: Juan’s sky drive, for Nokia care and download the rom yourself – but I would not recommend it. I have lived through the pain of trying to get my lumia 820 on SFR and it was a horrible experience…

    From the page above you can also get a list of new features. The 1 thing I want to see is possibility to save apps to the sd cars on 820, but I don’t think it is there 🙁

    Be the first to comment - What do you think?
    Posted by admin - August 18, 2013 at 16:57

    Categories: Mobile Living, Tech, Windows Phone   Tags:

    System.IO.FileNotFoundException System.Windows.Application.LoadComponent facebooklogin

    If ever your windows phone crashes without any real explanation, check:
    1. startup app in project properties is set (otherwise nothing runs)
    2. capabilities are correct, otherwise exceptions happen

    For example to load a page that refers to an external web page, you need to have the WEB capability set.
    Otherwise you get a really confusing error>
    System.IO.FileNotFoundException in your System.Windows.Application.LoadComponent call to your page calling the external page – which makes you think it is your namespace or page name that is wrong…

    Be the first to comment - What do you think?
    Posted by admin - January 4, 2013 at 17:06

    Categories: Facebook, Windows Phone   Tags:

    « Previous PageNext Page »