Thursday, 13 August 2015

Creating new android project.

1. Open android studio.
2. Go to File -> New Project

Give required details.
Application name : That is your project name
Company Domain : Used in package
Project Location : Path to store your project

Then go to Next









3.we are making mobile app so select phone and tablet

Select appropriate API from dropdown list for minimum SDK.

Minimum SDK determines backward compatibility.

Then go for next










4. Now it will ask to select Activity. we will go for blank activity. and go for next.
5. It will ask below things:


Now Go For Finish.

It will create new fresh project.

Form now onwards we will play around this project and try to learn and use each component of android.

Wednesday, 12 August 2015

Terminologies 

Here, we will first learn some terminologies for creating android APP.

.apk file - Application package file - used to install application
.dex file - Compiled code file
Activity - you can place your UI with setContentView(View).
Intent - its an operation to be performed like start new activity to launch activity.

to create an android app we need to know the activity life cycle and activity stack.

For more information on this you can visit below links.

Activity lifecycle - http://developer.android.com/training/basics/activity-lifecycle/index.html

Activity stack - http://developer.android.com/guide/components/tasks-and-back-stack.html

you can always refer developr.android.com


For developing mobile applications with android  install  Android Studio from following link

http://developer.android.com/sdk/index.html

after downloading android studio goto tools-> Android-> sdk manager and update sdk.




After updating sdk now our studio is ready to develop android applications.