Create Android Application in Eclipse
Step 1: Select Android Project from the File->New option menu. If you not found then select option Project or Other. Now select Android->Android Application Project.
Step 2: This is the first step of wizard, set the Project name whatever you like I set as FirstExam in the Application, same for Project name. Application name which is showing on the device and Project name is for Eclipse and try to avoid space an other thing in this.
Next set the package name for your Application com.example.firstexam this must be unique because Android OS managing all the Apps by package name.
Next select minimum version level of the App to support level.
Next select the target version level of the App.
Next select the compile version, here always select latest version to getting all the Android latest features and classes into your App. Also you will getting two different API for same level Android and Google API if you are going to use any Google API then only select Google API other just select Android.
Next thing if you required different theme want to apply then select it.
Now press next for the next step
Step 3: Here you can set the project location and project's other feature setting like create icon, activity etc. Just check the box whatever you want to create with project.
Note: If you want to create your project as library project then only checked the option library otherwise keep unchecked this option.
1. Create custom launcher icon
In this you can create custom icon for your application by using existing image, clip art or Text with icon resize option and color modification as background and foreground
2. Create activity
This will be as optional if you want create an single activity with project creation time then keep as it is, if you won't then unchecked. After creating custom icon this option also provided if you want to create activity
3. Mark this project as a library
If you want to create library then check this option it will create jar file for you and you can integrate this project with other project and use this library in one or more project.
Note: This will not be an executable project when you build.
4. Set the project location as default it will be the current workspace path would be set as project location you can check this option and change the location of your application.
Step 4: In this step if you check 1st option then only this will be the next screen otherwise it be skipped, you can navigate back and next any time.
Step 5: In next step provide feature to create activity with different pre-built and pre-coded activity by Android just select which type of activity you required and press next with checked create activity option. If you want create any activity then just unchecked the create activity option and click to finish.
Step 6: With the previous go with the create activity then only this will be available to set the name of your activity and layout file.
Now press finish as this is the last step or wizard. And after finish your application is ready to run in any of your supportive emulator or device with Hello World saying
After finish it will create project with single activity and its layout with Hello World message for you.
Now right click on the project select Run-> Android Application. This will run your application in your selected device.
You can do many thing while creating project time. Just explore more option with different way and you will be know more about this to create fast application with different stuff provided by Android.
Happy to help you.
Step 1: Select Android Project from the File->New option menu. If you not found then select option Project or Other. Now select Android->Android Application Project.
Step 2: This is the first step of wizard, set the Project name whatever you like I set as FirstExam in the Application, same for Project name. Application name which is showing on the device and Project name is for Eclipse and try to avoid space an other thing in this.
Next set the package name for your Application com.example.firstexam this must be unique because Android OS managing all the Apps by package name.
Next select minimum version level of the App to support level.
Next select the target version level of the App.
Next select the compile version, here always select latest version to getting all the Android latest features and classes into your App. Also you will getting two different API for same level Android and Google API if you are going to use any Google API then only select Google API other just select Android.
Next thing if you required different theme want to apply then select it.
Now press next for the next step
Step 3: Here you can set the project location and project's other feature setting like create icon, activity etc. Just check the box whatever you want to create with project.
Note: If you want to create your project as library project then only checked the option library otherwise keep unchecked this option.
1. Create custom launcher icon
In this you can create custom icon for your application by using existing image, clip art or Text with icon resize option and color modification as background and foreground
2. Create activity
This will be as optional if you want create an single activity with project creation time then keep as it is, if you won't then unchecked. After creating custom icon this option also provided if you want to create activity
3. Mark this project as a library
If you want to create library then check this option it will create jar file for you and you can integrate this project with other project and use this library in one or more project.
Note: This will not be an executable project when you build.
4. Set the project location as default it will be the current workspace path would be set as project location you can check this option and change the location of your application.
Step 4: In this step if you check 1st option then only this will be the next screen otherwise it be skipped, you can navigate back and next any time.
Step 5: In next step provide feature to create activity with different pre-built and pre-coded activity by Android just select which type of activity you required and press next with checked create activity option. If you want create any activity then just unchecked the create activity option and click to finish.
Step 6: With the previous go with the create activity then only this will be available to set the name of your activity and layout file.
Now press finish as this is the last step or wizard. And after finish your application is ready to run in any of your supportive emulator or device with Hello World saying
After finish it will create project with single activity and its layout with Hello World message for you.
Now right click on the project select Run-> Android Application. This will run your application in your selected device.
You can do many thing while creating project time. Just explore more option with different way and you will be know more about this to create fast application with different stuff provided by Android.
Happy to help you.
No comments:
Post a Comment