This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Wednesday, 23 July 2014

Create Sample Data in Windows Phone

By Anum Nawaz



Hello :)
Today our topic is to create sample data in windows phone using expression blend. Suppose you have to design the appearance of controls that will display live data that you might not have access to at design time.
We ‘ll need this type of sample data when we are going to create a database of our phone 
book, description books or have to design a aligned specific UI. Let it do :)

Step 1:Create a new empty windows phone (Silverlight) application and named it as Create sample data or whatever you want.

Step 2:Open project in blend and Select Data window which is present at the top right side of the workspace. If you can’t see it than go to Window -> Data


Step 3:
Click on it ->Now click New sample data 

A new window pop up here, you have to decide three things there:1)   Give a name for your data source in the Data source name field
2)   Have to decide the one of the following:     Project:   Data is available to all documents in the project.    This document: Data is available only in this XAML document.
Here I’m defining it at project level because I have to access this style in my whole project3)   Radio button is present at the bottom, check it if you want to show sample data when the app is running


Step 4:Two properties by default are present re define them or remove them by right clickingAdd more properties by clicking on the sign of plus present in front of collectionName the property and its datatype according to our data


Step 5:After we create our sample database, drag it simply to the screen, rearrange it according to our grid style

This is done now but it’s time to work on design of our sample database. Customize or design it
Modify Sample Data


Step 6:Select the Collection on the screen and right click on it -> Add additional Templates ->Edit Generated Items->Edit Current


Step 7:In the right side you see listbox, right click on it -> group into -> stack panel
Now select all the items one by one and edit them e.g change their font, color or order etcAdd data to Sample data



Step 8:
In Data window click on it -> 
   Edit the values here and add the desired images 

Here is our complete application in a small time.


 Thanks for your concern and weighting for your chill feedback :)


Launchers & Choosers (Marketplace controls for windows 8 and windows phone app development)


By Anum Nawaz


Hello :)
Today our topic is to use market place controls in our app. These controls are available in the name space Microsoft.Phone.Tasks and these are required in mostly apps when we are using them. These are of many types mostly used controls are:
1)    Send an E-mai
2)    SMS
3)    Make a calls
4)    Give reviews to the app
5)    Search app from window store
Let it start now ;)

Step 1:
Create a new empty windows phone (Silver light) application and named it as Launchers and choosers or whatever you want.

Step 2:
Add namespace Microsoft.Phone.Tasks and then add buttons and name them respectively, as you want

Step 3:
Now a click event handler to all of the buttons and in each button place the following codes respectively:

Email:

Email event handler is a type of method that will be called when you are going to send an email in the app, Here is the code to launch the task:
 
EmailComposeTask emailComposeTask = new EmailComposeTask();
 
emailComposeTask.Subject = "message subject";
emailComposeTask.Body = "message body";
emailComposeTask.To = "recipient@example.com";
emailComposeTask.Cc = "cc@example.com";
emailComposeTask.Bcc = "bcc@example.com";
 
emailComposeTask.Show();


SMS:

SMS event handler is a type of method that will be called when you are going to send a message in the app, Here is the code to launch the task:

 
SmsComposeTask smsComposeTask = new SmsComposeTask();
 
smsComposeTask.To = "2065550123";
smsComposeTask.Body = "Try this new application. It's great!";
 
smsComposeTask.Show();

 

Phone:

Phone event handler is a type of method that will be called when you are going to call somebody,  Here is the code to launch the task:

 
PhoneCallTask phoneCallTask = new PhoneCallTask();
 
phoneCallTask.PhoneNumber = "0900-78601";
phoneCallTask.DisplayName = "Dost";
 
phoneCallTask.Show();
 

Review:

Review event handler is a type of method that will be called when you are going give the review to the app,  Here is the code to launch the task:


 
MarketplaceReviewTask marketplaceReviewTask = new MarketplaceReviewTask();
 
marketplaceReviewTask.Show();
 

Share Status:
Share status event handler is a type of method that will be called when you are going to share something specific as your status, Here is the code to launch the task:

 
ShareStatusTask shareStatusTask = new ShareStatusTask();
 
shareStatusTask.Status = "I'm developing a Windows Phone application!";
 
shareStatusTask.Show();
 


Thanks for your concern and weighting for your chill feedback :)

Sunday, 20 July 2014

Combine Tools In Expression Blend

By Anum Nawaz

Asslam-0-Alaikum

Guys it is my first post and today i’ll go through the “Combine Tools In Expression Blend”. Literally these five combine tools are magical tools, by using these tools you can combine different shapes and give them a new wonderful look, you can make logos and much more.
Guys do remember to Leave your comments and Feedback. Just say anything you wanna, you ‘ll really warm welcomed by me.If you are familiar with photoshop than it 'll be more interesting for you.
It is very easy just follow these steps and here we go now :):)
Step 1:
Open expression blend ->  select new project

Step 2:
Select XAML ( store apps ) -> window phon app  -> Blank app (silverlite) or any type you want ->  Give a name you wanna ;) 

Step 3:
Select  rectangle (directly on left side icon present) or Ellipse (Select Ellipse by right-clicking on the icon), Here i select rectangle
By using the Selection Tool situated to the Left Side of the Workspace or by using the shortcut key “V” select rectangle and manage the width & height accordingly.
Again using the previous steps or by using copy & paste draw another rectangle and arrange them so that both rectangles overlap each other
Fill Color now,  Select the rectangle then select the Fill Option situated to the Right Side of the Workspace to fill in the color and select Solid Color Brush situated below the Opacity Option and choose the Stroke Option to apply the Stroke if necessary.

Step 4:

Select both Objects -> Combine -> Unite Option ; both rectangles are merged now

Now select the direct mouse option present on the top left side of the expression blend, pick the points and draw a shape you just want be stretching them

Step 5:
Select both Objects -> Combine -> Divide option and see the effect; another Shape is created, now play with ts points

Step 6:
Select the Object -> Combine -> Intersect Option and see the Effect, only the overlapping part is left now by stretching the points draw a new figure

Step 7:
Select the Object -> Combine -> Subtract Option t; the Left rectangle has been subtracted along with the intersected part and only half of the right rectangle is left, now here you can make flower petals by plying with the points or central point.

Step 8:
Select Object -> Combine -> Exclude Overlap ; the centre (overlapped) part is excluded and other part of the rectangle remain, here i'm making a sort of grass with them ;)

Summary:
The purpose of this article is to share knowledge about the Combine Tool from the Object Menu in Expression Blend now you are able to combine different shapes and make a magic with them.
Thanks for your concern and weighting for your chill feedback :)