Posts

Showing posts from December, 2017

UI design with XAML in Visual Studio 2017 - 1

Image
XAML is a XML based language that Microsoft developed to create a applications the easy way. XAML is declarative that means that whatever
you declare up front is what you get. There is no more secret to it.
Universal Windows Projects use this language to build applications.

In this slideshow I show a step-by-step procedure to create an application with XAML which has just a button that displays Hello. It has some color and size to it. Although you will be seeing 18 or more slides once you grasp the spirit, you would do it under a minute.

In order to work with XAML you need Visual Studio 2017 Community. The good news is it is free. What is more BLEND, its comprehensive designer also installed at the same time. You may also need Windows SDK for Windows 10 which can be found on the Internet. There are various versions.

In developing on Windows Platform be sure to use the intellisense feature that takes out all the mystery out and gives you a very practical and intelligent way to work …

Is Windows Phone dead?

Looks like it is not completely dead. There is a flicker.

TrekStor German firm has come up with a new Windows Phone called WinPhone 5.0, a mobile-enterprise quality device.

While the phone is being developed it will have 3GB RAM, 16GB built-in storage, a microUSB port and headphone jack. According to the ZD Net article (), it features 5" HD display and runs Qualcomm's Snapdragon 617 chip-set. The same site says the cost would be around $350.

Wileyfox UK-branded smartphone also launched a Windows 10 Mobile phone.
There is no doubt Windows 10 is having better security than like priced or lower priced Android phones.

As to the question, Is there a future for windows Phone, this is what Nadella thinks.

I have a Lumia 950 and I have had great time with it. With Universal Windows Projects I can deploy my projects to this phone.

Workaround: UWP project with Visual Studio 2017 Community

Image
Visual Studio 2017 and accompanying Blend for Visual Studio are well suited tools for developing Universal Windows projects.

There appears to be some hard-coding in the application (I tried the recommended Hello World) and after some goading managed to load the project correctly starting with a blank template for C#. The device size in Design is hard-coded and the drop-down to choose size is greyed out.

The loaded project (Code and XAML) appears as shown.


MainXAML_HW_1

The device size in the Design is hard-coded. The design has very little flexibility to do anything unless I manipulate via the XAML code.

However it is possible to adjust if you use the Blend as shown. The same project is now open in Blend.


MainXAML_HW_1

Pick the size in XAML and click Save All in File menu in Blend.





MainXAML_HW_2

Smaller device is chosen here.



MainXAML_HW_3

Now Open the same project in Visual Studio 2017 Community and you will see that the chosen size of device appears.





MainXAML_HW_4

Merry Christmas 2017

Image
Aloha


Hope to post more in coming years....
Keep fit and look forward to great things.

Windows IP over USB for Phone development

Image
It is a Windows Service that you find in Control Panel...Services window. It is needed to be running if you are developing for Windows Phone.
It enables communication between the Windows SDK and a Windows Device. If the service is stopped, application deployment and debugging will fail on the device.
If it is not started, you should start it from the Control Panel. When it is running you should see the process in the Windows Task Manager.

You can start and stop the service in the above Services screen in Windows.
If you are using Windows PowerShell, you can start and stop this service using PowerShell as shown:
You need to use the service name- IpOverUsbSvc