Skip to main content

Posts

Showing posts from March, 2013

if loop part-2

Watch this on YouTube

if loop part-1

Watch this on YouTube

Control statements in java

Watch this on YouTube

Data types in java

Watch this on YouTube

Use of super keyword -2

Watch this on YouTube

Use of super keyword -1

Watch this on YouTube

Hyperlinks part 2

Watch this on YouTube

Hyperlinks part -1

Watch this on YouTube

Align the blogger heading at center

By default the blogger heading is appear at the top left corner of the blog. To align it at center just follow the steps given bellow. 1. Click the template option at the blogger dashboard. 2. Now click customise option. 3. Click advanced and then click add CSS option. 4. Paste the following on the add CSS option. #header-inner img {margin: 0 auto !important;} #header-inner {text-align: Center ;}   5. Now click apply to blog option.

Align the blogger post title at the center

By default all the blogger post titles are appear at the top left corner side of the post. You can make it appear to be at the center by following the bellow steps. Ads by Google 1. Sign in to your blogger and choose your blog. 2. Click on the template option at the left bottom side of the blogger dashboard. 3. Now click "Edit html". 4. Now tick the "Expand widget templates" option. 5 . Now click ctrl + f  and search the following component. ]]></b:skin> 6.  Repla c e it with h3.post-title { text-align:center; } ]]></b:skin>   7. Previ e w  the template and if you find it better for you, then save the template.

Html heading styles

Watch this on YouTube                                              Previous                                                             Next

Introduction to html

Watch this on YouTube Next

Introduction to html

Watch this on YouTube

Creating a simple user interface in android

  Watch video tutorial of this topic In this post i am going to explain how to create an android application that contain some simple user interface. Here i just create a button interface and when the user click the button a message appear in a Toast. A toast is a simple user interface that shows some information to the user and close automatically after some time.  Create a new project in the eclipse ide and name it as shown bellow. Click the image to view full size I name the xml file as first_layout and the java class as First.java . In the layout file i just create a button interface by using the following xml tags.    <Button        android:layout_width="wrap_content"        android:layout_height="wrap_content"        android:onClick="displayMessage"        android:text="@string/button_name" /> In the layout file, i just add an android button interface. Here i just create a method called " displayMessage &

Anatomy of an android project

  Watch video tutorial of this topic In this post i am going to explain what are the contents of an android project. After creating the first android project you can see that a number of folders are present in the project explorer window. Now i explain what is the purpose of each of them. 1. Src folder: In android  there are mainly two components , first one is the activity and other one is the service. Activities are components which are visible to the user and those are occur in background and not visible to the user is called the services. Each activity in an android project related to two files, first one is the layout file which is an xml file that build the GUI part of the activity and other one is a java file corresponding to that activity. The src folder contain the package and that holds all the java class files associated with the application. 2. Gen folder: The gen folder contain all the generated java class file in your project. This folder mainly contain a f

Create a simple Android application

  Watch video tutorial of this topic now In this part i am going to explain how to create a simple android application. Before start the topic make sure that you have the following tools available in your computer. If not please go to the topic " Prepare PC for android development" . 1. jdk 1.7 2. Eclipse IDE. 3. ADT for eclipse. 4. Android SDK. 5. AVD For creating a new project just open up the eclipse IDE and follow the steps given bellow. Step 1: Click  File ---> New --> Project Step 2: You got a new project window and choose android application project from it and click next. Click image for full size Step 3: In the next window  you have to fill up three fields, Application name, project name and Package name. Provide any appropriate name for project and application starting with capital letter. It is also possible to use same name for project and application. Step 4: Provide a package name for your project starting with &quo

Creating an android virtual device AVD

  Watch video tutorial of this topic now We know that the working platform of every android application is an android device. So in order to test an android project we need an android device connected to our computer. This is not a convenient way of developing and debugging an android application. So in order to make the development process simple, the android sdk provides a virtual android device called the android virtual device or simply the AVD. We can create any appropriate device working environment on the AVD. Here is the steps for creating an android virtual device in eclipse IDE.  step 1: Click the window tab on the menu bar and choose the Android virtual device manager option. click image to view in full size step 2: Click the new button on the right top of that window. Provide any suitable name for your AVD. Choose a suitable device from the drop down list named device . Choose a target version from drop down list named Target . (target name is th

Changing activity theme

Watch this on YouTube

Supporting different languages

Watch this on YouTube

Life cycle of an android activity -2

Watch this on YouTube

Life cycle of an android activity -1

Watch this on YouTube

Creating a simple view component -3

Watch this on YouTube

Creating a simple view component -2

Watch this on YouTube

Creating a simple view component -1

Watch this on youtube

Passing data to an activity

Watch this on youtube

Prepare PC for android development

  Watch video tutorial of this topic now Android is the most popular smart phone operating system. You can create your own android apps from your machine using the android developing tools. You can download the android developing tools from the internet without paying any money. You need the following software packages in your computer to start android development. 1. Ecipse IDE (It is possible to develop android apps without using an IDE). 2. ADT android devoloping tool or the eclipse plugin for android. 3. Android SDK Eclipse IDE: You can download the eclipse IDE from here . After downloading eclipse you will get a zip file. Extract the zip file to an appropriate location in your computer. In that folder there is an eclipse launcher icon is present. You can open eclipse by double clicking that icon. You can make an eclipse shortcut into your desktop by right clicking that icon and choose the create a shortcut menu option. ADT Eclipse plugin: You can install the