Thursday, August 14, 2014

First App Released! MUFC Legends



http://www.windowsphone.com/en-gb/store/app/mufc-legends/3922e47c-faaa-4a4b-a917-a0eff105b075

Here is the link to my first application.
Based it on Manchester United FC as I am a huge die-hard supporter of Manchester United and could not think of anything else.
Please download and rate. Thanks :) It's totally free.

Monday, August 4, 2014

A funny button issue I encountered today

Today, when I added a button through Expression Blend ( It's basically Blend for Visual Studio 2013, but I have a bad habit of calling it Expression Blend :D ) I was having a huge dilemma: The background of my button turned light blue whenever I pressed upon it.
I was stuck upon this issue for at least half hour, before figuring out the solution. I suppose this might also be frustrating for my fellow amateur windows app developers.

So, here is the solution.
-> Drag the Button control from the top left of the Expression Blend screen as shown, and drop it onto the mobile phone screen in the middle.
                                                                                                                                                                    
-> After you are done with drag and drop, Right click on the button as shown and then select Edit Template Edit a copy as shown in the figure
-> Ok, now after you are done with this step, Rename the Template in the newly opened dialog box, Select the scope of the template whether you want it to be applicable in the whole application, or keep that style confined to only one page and click on OK.



-> Now,
a) Select States tab
b) Click on the small circle besides Pressed. 
c) Select Button Background. The Background of the button will glow red.
d) In the properties tab on the right, change the background attribute to TransparentBrush.

The result is,
No more irritating flashes of the button upon each click.

Happy Development!





Monday, July 7, 2014

Combine Tools in Blend for Visual Studio

Blend for Visual Studio 2013 gives us the facility of five combine tools. These are:

Union: 
Combines all shapes and paths into one single object.

Intersect:
Retains only the overlapping part of objects and discards all the other remaining portions

Divide:
Combines two images, but creates an outline on the borders of the region of intersection.

Subtract:
Just like set theory in mathematics, all the portion of the object created first is removed, that overlaps with the object created later.

Exclude Overlap:
Removes the overlapping portion of objects and retains all other portions



Sunday, July 6, 2014

Canvas XAML Basics

The Canvas is the most basic layout panel in WPF. It's child elements are positioned by explicit coordinates.
It basically defines an area within which you can explicitly position child elements by using coordinates that are relative to the Canvas area.
It is more useful than a grid in some situations, such as when you have to position different elements at random positions, you do not have to calculate that at which
row and column of the grid you have to place the object.

Canvas Property used for Absolute Positioning are

Canvas.Top  - Gets or sets a value that represents the distance between the top of an element and the top of its parent Canvas.
Canvas.Left - Gets or sets a value that represents the distance between the left side of an element and the left side of its parent Canvas.
Canvas.Right  - Gets or sets a value that represents the distance between the right side of an element and the right side of its parent Canvas.
Canvas.Bottom  - Gets or sets a value that represents the distance between the top of an element and the top of its parent Canvas.



Application of a canvas in your project:

~ After creating a Windows Phone Silverlight 8.1 project in your Visual Studio 2013, Click on "Toolbar" in the extreme left of your screen.

~Either double click or drag the Canvas onto the XAML code.

~All those objects that you want to appear in the scope of the canvas are to be coded inside the Canvas opening and closing tags.




Thursday, July 3, 2014

Incorporating RSS Feeds in your app: Let's create a mini news network app through Microsoft Blend.

Incorporating/Including RSS Feeds in your app




Result

Attention is not given towards quality interface. Sorry for that.
First Video ever uploaded so please bear with the quality.
Pakistani users need to use proxy software to view the videos.

Entering a new age of smartphones: The novel features of Windows Phone 8.1

On 14th April, 2014, Microsoft entered a new avenue in its path of windows phone development, as Windows Phone 8.1 OS was released on that day.
This OS is one of its kind and has many new features. Following are some significant features of the new OS that differentiate it from the older features.

1. Cortana: A brand new virtual companion like Apple's Siri

2. Images can be used as tile backgrounds.



3. Support for HTML5 videos for YouTube app.

4. WordFlow: Microsoft's record-breaking answer to Swype

5. Internet Explorer 11

6. Wifi Sense: Connect to non-encrypted wifi sources 
automatically

7. Burst Mode in Camera: Accuracy realized!

8. Further Optimization and personalization in Windows Store: 
No need to search for what you prefer!

9. Audio/Video playback behind lock screen

10. Quiet Hours: Restrict your access to only a few important ones in the hours of diligence and pressure.

Playing with XAML : Quite a Grim Application

Hello Everyone!
Today we shall be discussing the fundamentals of XAML. XAML, short form for Extended Application Markup Language is just like HTML in essence, used to create beautiful interfaces for the applications we use in our daily routine on Windows platform, whether it is a smartphone or a desktop PC.

Requirements for Development:
-> Visual Studio 2013 Update 2
-> Blend for Visual Studio 2013

Step 1:

After creating a windows phone 8.1 project ( SilverLight enabled) , you create a grid. Grid is a container control and all other controls come into it. A grid consists of rows and columns as you can see in the picture.
Add buttons or any other control from the toolbox on extreme left of the above picture. In solution explorer, Right Click on the project name PhoneApp1 and click on Open in Blend in the dropdown menu.
Our step 2 starts.

Step 2:

To change background color, click on [Grid] in Objects and Timeline tab on left and change the Background color in Properties tab on right, similarly you can change and add other features through blend. To add a Textblock to add text, Click on the second tab out of the five on top left and double click textbox and place it as on the mobile phone screen in the middle.

Step 3: Changing the properties of buttons while keeping them all identical
Follow the steps as shown in the pictures and you'll get a template style of a button that can be applied to any other button either of this application or any other apps if you choose the style to be a part of the resource dictionary.





Final Result: Grimness all over your phone!
Change any property you want from the right and add any button you want from the left tabs. When you are done with it, build and run your hard work either on an emulator, or deploy it directly on your windows phone.


Voila! Too much grimness on one XAML page. Isn't it?
Powered by Blogger.