Posts

Showing posts with the label Activity

How to create android application?

Image
We have already showed how to prepare your machine to develop your android application  now it is the time to check if we prepared our machine successfully and we can write our first android application or not. We will start learning developing android application by writing a simple application that will display "Hello World" sentence (the most famous example to start learning new tech). Follow the next steps to create your first android application: Lunch Eclipse and select File > New > Project you will find a list of available projects templates select  android project template then click next, you will see window like this   Application Name : the name of your applications that will be appear on application list of your device(mobile or tablet) Project Name : the name that will be appear in your eclipse work-space. Packaeg Name : it will be used as identifier for your application and must be unique across all applications. Build SDK : specify...

Fundamental components of android application

This post is a one of some posts about android platform I will write to explore this platform and learn you(and me) developing android applications for mobiles and tablets devices. You don't have to own android mobile to create android application, what is you really need is a tool (Emulator) to test and debug your application. You can refer to this post  where I showed how to prepare your machine to be able to create your android application. That post was written before releasing Ice Cream Sandwich  version (android 4.x) but it does not matter, just you should download the latest version of all tools you have to install. My reference for writing these posts is Pro Android 4 book. In this post we will explore the key components of android framework which we must understand before delving into coding process. View: views are user interface(UI) elements such as buttons, labels, text fields, or any other UI element. Views also can contain other views. Anyth...