Tuesday, June 29, 2010

Traversing through Activities and Sending and Receiving Data and Objects

Hi Dudes,


Welcome to my first post. Here we will learn about Activities.

If you want a specific Android IDE then just go for Motodev Android

You can download it from http://developer.motorola.com/docstools/motodevstudio/

Here in Android all the pages in the App will be treated as an Activity. All the UI kind of things can be easily handled by using the XML Layouts.


I think there is no need to explain how to configure eclipse and installing ADT plug ins, as it is already available in lot of forums and blogs.So lets discuss about how to use the layouts and how to travel from android activities.

Normally for the usual applications we will use either LinearLayout and AbsoluteLayouts.

LinearLayout has Orientations Horizontal and Vertical.
Just like HorizontalFieldManager and VerticalFieldManagers in Blackberry.
Fields or Views will be added according to the orientation.

AbsoluteLayout is used to specify according to the (x,y) points. It don't have any rules where ever we want we can add what ever we want :)....

Every View has width and Height fields where we can specify the width and height of that view.
It also has LayoutMarginLeft,Right,Top,Bottom fields in the properties of each view to specify the margins around the view.

The remaining info is specified in the next Post.


Thanks Dudes,
Rock on... :)

Android

Hi Guys,


I am an Android enthusiast and Developer. I am jumping through the hurdles in Android. I want to share my experiences and want to help the Android buddies through this blog.

Post your issues over here. i will try to solve it and and suggest the ways to overcome the issues and at the same time i can get to know some new coding designs and styles.

Thanks Guys!
Keep Rocking.... :)