Archive : Android Beginner Tutorials

RSS feed
Animation Reverse Example in Android

Animation Reverse Example in Android

This example shows how to animate an object and play the animation in reverse in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it AnimationReverseExample. 2.) Create and write following into src/ShapeHolder.java: package com.example.animationreverseexample; import...
0
UIByProgramExample in Android Development

UIByProgramExample in Android Development

This example will show you how to design UI through code. Algorithm: 1.) Create a new project by File-> New -> Android Project name it UIByProgramExample. 2.) Write following into main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Random Layout Animation

Random Layout Animation

This example shows how you can animate contents of a layout and show them randomly. Algorithm: 1.) Create a new project by File-> New -> Android Project name it RandomLayoutAnimation. 2.) Create an anim folder into res directory and create and write following into res/anim/fade.xml: <?xml version="1.0"...
0
Gradient Drawing Example in Android

Gradient Drawing Example in Android

This example shows how you can draw different gradient shapes in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it GradientDrawingExample. 2.) Create and write following into src/GraphicsActivity.java: package com.example.GradientDrawingExample; import android.app.Activity; import...
0
FTP Message Viewer in Android

FTP Message Viewer in Android

This example will show how you can view ftp message over specified socket. Algorithm: 1.) Create a new project by File-> New -> Android Project name it FTPMessageViewer. 2.) Write following into main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Rubik Cube Animation Example in Android

Rubik Cube Animation Example in Android

This example shows how you can create Rubik’s cube in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it RubikCubeAnimationExample. 2.) Create and write following into src/M4.java: package com.example.RubikCubeAnimationExample; public class M4 { public float[][]...
0
Map Marker Example in Android

Map Marker Example in Android

This example show you how to draw movable marker on to map. You can darg and drop the marker to change its position. Can be used in any application where u want to take input from user for map location. Algorithm: 1.) Create a new project by File-> New -> Android Project name it MapMarkerExample. 2.) You...
4
Options Menu in Android Development

Options Menu in Android Development

The project describes How to implement option menu into your application. Option menu is the primary collection of menu items for an activity, which appears when the user touches the MENU button. Underlying Algorithm: Basic description of algorithm in step by step form: Create a Project MyCheckBoxMenu Create...
5
View Pager Example in Android Development

View Pager Example in Android Development

This example shows how you can create an image pager in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it ViewPagerExample. 2.) Write following into main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
8
Bitmap Example1 in Android Development

Bitmap Example1 in Android Development

This example explains how you can use bitmaps to create funny animations. Algorithm: 1.) Create a new project by File-> New -> Android Project name it BitmapExample1. 2.) Create and write following into GraphicsActivity.java: package com.example.BitmapExample1; import android.app.Activity; import...
3
Proudly designed by Theme Junkie.