For making any program in android, their are 3 requirements:
1) Eclipse
2) JDK- Java development kit
3) Android SDK- Software development kit.
Note-Install all of the above in your system.
Note- Eclipse screen has two parts- work space and work area.
Note- Eclipse screen has two parts- work space and work area.
For writing a program in android what we need to do is as follows:
1) Open Eclipse
2) Go to File> New> Android Project.
2) Go to File> New> Android Project.
4) Now give the name of your project:
For Example: SampleAndroidApplication
5) Click on next.
6) A screen gets opened from where you have to select version-as follows:
Note-If you select an older version (say- Android 2.1) then it will work on latest one too(like Android 4.0) but the vice versa may not be possible.
7) Click on next and the following screen appears:
8) Write package name here: syntax: com.(name of your company).(name of your project)
For Example: com.sharable.SampleAndroidApplication
9) Click on Finish.
10) You are ready to write your program.




No comments:
Post a Comment