Making an Android Project An Android undertaking contains all the records that embody the source code for your Android application. The Android SDK instruments make it simple to begin another Android venture with a set of default task registries and records.
This lesson demonstrates to make another extend either utilizing Eclipse (with the ADT plugin) or utilizing the SDK apparatuses from a charge line. Note: You ought to as of now have the Android SDK introduced, and in case you're utilizing Eclipse, you ought to additionally have the ADT plugin installed (adaptation 22.6.2 or higher). In the event that you don't have these, take after the manual for Installing the Android SDK before you begin this lesson. Make a Project with Eclipse Click New in the toolbar. In the window that seems, open the Android organizer, select Android Application Project, and click Next. Fill in the structure that shows up: Application Name is the application name that seems to clients. For this task, utilize "My First App." Task Name is the name of your undertaking index and the name unmistakable in Eclipse. Bundle Name is the bundle namespace for your application (taking after the same administers as packages in the Java programming dialect). Your bundle name must be novel over all bundles introduced on the Android framework. Hence, its for the most part best on the off chance that you utilize a name that starts with the converse area name of your association or distributor substance. For this undertaking, you can utilize something like "com.example.myfirstapp." However, you can't distribute your application on Google Play utilizing the "com.example" namespace. Least Required SDK is the most minimal variant of Android that your application backings, demonstrated utilizing the API level. To backing whatever number gadgets as could reasonably be expected, you ought to set this to the most minimal rendition accessible that permits your application to give its center list of capabilities. On the off chance that any peculiarity of your application is conceivable just on more up to date forms of Android and its not discriminating to the application's center list of capabilities, you can empower the gimmick just when running on the forms that help it (as talked about in Supporting Different Platform Versions). Leave this set to the default esteem for this undertaking. Target SDK demonstrates the most noteworthy variant of Android (likewise utilizing the API level) with which you have tried with your application. As new forms of Android get to be accessible, you ought to test your application on the new form and redesign this quality to match the most recent API level keeping in mind the end goal to exploit new stage characteristics. Assemble With is the stage rendition against which you will gather your application. Naturally, this is situated to the most recent form of Android accessible in your SDK. (It ought to be Android 4.1 or more noteworthy; on the off chance that you don't have such a rendition accessible, you must introduce one utilizing the SDK Manager). You can in any case manufacture your application to help more established variants, however setting the construct focus to the most recent variant permits you to empower new peculiarities and upgrade your application for an extraordinary client encounter on the most recent gadgets. Topic indicates the Android UI style to seek your application. You can allow this to sit unbothered. Click Next. On the following screen to design the venture, leave the default determinations and click Next. The following screen can help you make a launcher symbol for your application. You can tweak a symbol in a few ways and the apparatus creates a symbol for all screen densities. Before you distribute your application, you ought to make certain your symbol meets the determinations characterized in the Iconography outline guide. Click Next. Presently you can choose a movement layout from which to start constructing your application. For this task, select Blankactivity and click Next. Leave all the subtle elements for the action in their default state and click Finish. Your Android task is currently an essential "Hi World" application that contains some default records. To run the application, proceed to the following lesson.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2015
Categories
|