Skip to main content

Posts

Showing posts from March, 2014

Adding Controls in Windows Phone - Add Button, TextView ..etc

Go to View --> ToolBox --> And you can add any controls.Or else you can add a bit of code as below. <Button Content="Click Me" HorizontalAlignment="Left" Margin="138,161,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.617,1.507" Height="117" Width="190" Click="Button_Click_1"/> Then to add click action for controls you can just double click the controls and you may navigate to xaml.cs page where you can add your code. namespace AddControls { public partial class MainPage : PhoneApplicationPage { // Constructor public MainPage() { InitializeComponent(); // Sample code to localize the ApplicationBar //BuildLocalizedApplicationBar(); } private void Button_Click_1(object sender, RoutedEventArgs e) { Console.WriteLine("Iam being Clicked......")...

What is XAML in Windows Phone Development?

Here we will talk about the purpose and nature of XAML, comparing it to C# This works almost as HTML XAML is a special usage of XML. XAML has something to do with defining a user interface in our Phone's interface. So in that regard, it feels very much like HTML. But there’s a big difference … XAML is actually used to create instances of classes and set the values of the properties. So, for example, I'm defining a Button control in XAML: <Button Name = "Sample" Width="200" Height="200" HorizontalAlignment="Left" Verticalalignment="Top" Background="Red" Click="Sample_Click" > </Button>

Apple iPhone 6 to have iOS 8 and larger display

We have heard a plenty of rumours about the upcoming iPhone, one most common rumor about the iPhone 6 is that it will feature a larger display and the upcoming iOS 8. These rumors sound promising as the current trend in smartphones is having a larger display. We have seen smartphones with display as large as 6.8-inches, that’s close to the size of a tablet. Smartphones with 5.5-inch and 6-inch display has now become common, and thus to keep up with the competition Apple must adopt the large display concept on its iPhone series of phones. Apple was stuck to its philosophy of one hand usage and stayed away from making bigger phones, last year however Apple moved one step ahead and increased the display size from 3.5-inches to 4-inches. With that 4-inch display on iPhone 5 and iPhone 5c, Apple increased the length of the display and maintained the same breadth of the phone. But now its time Apple make some software innovation to serve single hand usage and increase the display size to ...

How to create a new project in Windows Phone development ?

1. Make sure you’ve downloaded and installed the Windows Phone SDK. 2. Launch Visual Studio from the Windows Start screen. If the Registration window appears, you can register the product, or you can temporarily dismiss the prompt. 3. Create a new project by selecting the FILE | New Project menu command. 4. In the New Project window, expand the installed Visual C# or Visual Basic templates, and then select the Windows Phone templates. 5. In the list of Windows Phone templates, select the Windows Phone App template. 6. At the bottom of the New Project window,type the project’s Name. 7. Click OK. In the New Windows Phone Application dialog box, select Windows Phone OS 8.0 for the Target Windows Phone OS Version. When you select Windows Phone OS 8.0 as the target version, your app can only run on Windows Phone 8 devices. When you select Windows Phone OS 7.1, your app can run on both Windows Phone OS 7.1 and Windows Phone 8 devices. 8. Click OK. The new project is ...