Documents

Android - Your First App

Description
Android: Your First App – Step by Step A Quick Reference for the Beginners Write. Sign. Upload Step-by-Step Table of Contents A.1 The Purpose of this Quick Reference A.2 Getting Started B.1 Software Download and Installation B.2 SDK Update and Eclipse Configuration C.1 Writing and Testing Android App C.2 Testing your App on Android Virtual Device (AVD) C.3 Signing and Uploading your first Android App C.4 App Configuration on Google Developers Portal Settings IMPORTANT This Quick Reference
Categories
Published
of 7
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
    Android: Your First App  –   Step by Step  A Quick Reference for the Beginners Write. Sign. Upload Step-by-Step    Table of Contents  A.1 The Purpose of this Quick Reference A.2 Getting Started B.1 Software Download and Installation B.2 SDK Update and Eclipse Configuration C.1 Writing and Testing Android App C.2 Testing your App on Android Virtual Device (AVD) C.3 Signing and Uploading your first Android App C.4 App Configuration on Google Developers Portal Settings   IMPORTANT This Quick Reference is best viewed on Kindle Cloud Reader, iPad, or any Smart Phone or Tablet device in Landscape orientation.    A.1 The Purpose of this Android Quick Reference Thank you for downloading Your first Android App - Step-by-Step . This Quick Reference holds tips and valuable information regarding the Android App creation and Configuration. The purpose of this book is to assist you to create your first Android App, and also to show you how to assign a key and upload your Android App on the Android Market/Google Play. A.2 Getting Started Ok, let's get started to download the software, configure, write an app, assign a key, and upload it to the Android Market/Google Play. We anticipate that you have a decent computer system with good connection speed. We also hope that you have basic knowledge about how to download, install and configure different types of Application packages as well. B.1 Software Download and Installation * If you already have the Android SDK and other required components installed and configured on your system, then go straight to the Android App creation and upload section C.1 on page 7. Before you write your first Android App and upload on the Android Market, the following essential tools and software you will need to download and install on your system: Java Development Kit must be installed, before you install any SDK software or components (latest version is available on the website) www.oracle.com/technetwork/java/java se, is the link http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html or find the updated link by Google search. B.2 SDK Update and Eclipse Configuration After downloading and installing the JDK, the following Software and Components are required to be downloaded and installed: Android SDK  Download it from http://developer.android.com/sdk/index.html or find the updated link on the Google Developers website.) ADT plug-in for Eclipse Download it from: http://developer.android.com/tools/sdk/eclipse-adt.html (or find the updated link by Google search.) After downloading the Android SDK, Install the ADT plug-in for    Eclipse. Also, download the latest SDK tools and platforms using the SDK Manager. Yooohoo!!! -- We are ready to write and upload the first Android App on the Google Play/Android Market now. C.1 Writing and Testing Android App In Eclipse, to start a new Android Project, select File > New > Android Application Project, in the New Android Application dialog box, first enter Application Name, Project Name, Package  Name then enter the Minimum Required SDK, Target SDK, Compile with, and the Theme from the drop-down. The Android App Structure Overview The main activity source file resides in the src folder, The layout file is the MainActivity.xml. Manifest file registers the components and carries the google services, intents and broadcast  permissions. Graphic files and other text files are used within the program are stored in different folders. The app code is tested on AVD (Android Virtual Device). Hot Tip: In any case, if the AVD is not responding, then you may copy the just created APK file from the bin folder and forward it to yourself by email and install the APK file on your Android device to test and find any bugs. In order to write your first App, please paste the below code into ActivityMain.xml file: Select File from the Eclipse Toolbar, then select New. Select Android Application Project under the New Option.  Now, populate the New Android Application Dialog Box Application Name: HelloWorld Project Name: HelloWorld Package Name: com.hello.com (Note: example has been replaced by hello or anything different from the word example, or else the package will not be able to upload or can be published, as example is the reserved word with Google Play). For basic beginner Android projects, you may go by the default settings in the next three dialog  boxes. In order to keep the settings as it is, just click Next. Change the App Title image, background and foreground color, or scale the image if needed, or else leave everything as it is and click Next. Again, during advanced programming the developer might change the settings accordingly, but in this instance just click Next.

1001 europeana

Jul 23, 2017
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks