Tag Archives: shapes

Best Coding Practices in Android – Part 2

By | April 5, 2016

You can read the First Article about Best Coding Practices in Android here. Re-Use Elements and Layouts Use for reusing layouts. You can read about this from here. Use Different resources for different density Screens. Properly organize your images in mdpi, hdpi,xhdpi etc folders for corresponding screens. This helps to prevent blurry images. Read more… Read More »

Using a ListBox, Dynamically adding contents to a listbox in Windows Phone

By | June 29, 2013

This post shows how to add string objects to a ListBox Control in Windows Phone. Make sure to choose a C# template for the project. This is the layout . This is the complete Layout Just change the class name in the root of the layout to yours. Now we will look at the code.

Saving Key-Value pair in Windows Phone using IsolatedStorageSettings

By | April 12, 2012

This sample code helps you to save a key and a corresponding value in windows Phone inside your application sandbox with the help of isolatedStorageSettings. PLease check this post before working around this post. How to save a text file in Windows Phone 7 or How to use isolated storage settings in Windows Phone 7?… Read More »

Page Navigation in Windows Phone

By | March 16, 2012

Hello everyone… This is my first post on windows phone. I have just started windows mobile programming. In this post I will show you how to go from one Page to another in windows. First I am creating a C# project and in the MainPage.xaml Open the phone interface and then drag a button into… Read More »

How to use shapes in android? A simple example.

By | October 23, 2011

In android with shapes we can create beautiful layouts. Lets look at an example. Create an xml named “gradient.xml” in your drawable folder and copy this code into it. Now the main layout file main.xml The main java file. Done. You can now run the application.