Click the Next button. You have not created a keystore yet, so select the Create a New Keystore radio button. Choose the location of your keystore. Choose and enter a password that you’ll remember; reenter it in the Confirm field.
Chapter 8: Publishing Your App to the Android Market
Figure 8-6: The http: market. android. com publish page. • Web Site URL: The URL of your Web site. If you do not have a Web site, you can get a free Blogger account that provides a free blog. This will suffice as a Web site. You can get a free Blogger account from www.blogger.com. • Phone Number: A valid phone number at which to contact you in case problems arise with your published content. When you finish, your form should resemble Figure 8-7. Figure 8-7: Developer listing details. 196 Part II: Building and Publishing Your First Android Application4. Click the Continue button.
On the next page, you are required to pay the 25 developer fee see Figure 8-8. Figure 8-8: Developer registration fee.5. Click the Continue button to pay the developer fee with Google Checkout.
6. On the secure checkout page see Figure 8-9, fill in your credit card details and billing information; then click the Agree and Continue button. If you already have a credit card on file with Google, you may not see this page. If you already have a card set up, select one and continue. 7. On the resulting confirmation page see Figure 8-10, type your pass- word and click the Sign In and Continue button.8. On the order confirmation page see Figure 8-11, click the Place Your Order Now button.
Depending on how fast your Internet connection is and how fast your order is placed, you may or may not see a loading screen. When the process is complete, you see a message confirming that you’re an Android developer see Figure 8-12.9. Click the Android Market Developer Site link.
You arrive at the Android Developer Agreement page see Figure 8-13. 10. If you want to have a paid application in the Android Market, follow the directions in the “Google Checkout merchant accounts” sidebar. I cover paid versus free applications in the next section of this chapter.11. Read the terms and then click the I Agree, Continue link.
You arrive at the Android developer home page see Figure 8-14.Parts
» android application development for for dummies
» Developing Spectacular Android Applications
» Prepping Your Development Headquarters
» Click the New button see Figure 2-13. Click
» Click the curved-arrow icon on the right side of the screen to go to the workbench.
» Start Eclipse, if it’s not already running. 2.
» Type a name in the Name field.
» Type Prepping Your Development Headquarters
» Click the OK button. Android ADT is selected in the Work With drop-down menu, and the
» In the Build Target section, select Android 2.2.
» In the Properties section, type Hello Android in the Application Name box.
» In the Package Name box, type com.dummies.android.helloandroid.
» In the Min SDK Version box, type 8. Your screen should now look similar to Figure 3-5.
» Click the Create AVD button. Close the Android SDK and AVD Manager dialog box.
» Your First Android Project Your First Android Project
» Designing the User Interface Designing the User Interface
» Designing the User Interface
» Choose Window➪Show View➪Other. 2. Expand Java and choose Properties.
» Select the main.xml tab. 2. Add the background property to your LinearLayout:
» Verify that the definition for LinearLayout looks like this:
» Save the file. 5. Select the Layout tab to view the visual designer.
» Coding Your Application android application development for for dummies
» In Eclipse, choose Run➪Run or press Ctrl+F11 to run the application.
» Return to the home screen by clicking the home button on the emulator.
» Coding Your Application Coding Your Application
» If Eclipse is not open, open it now and open the main.xml file in the layouts
» Choose the Extract Android String option.
» Understanding Android Resources android application development for for dummies
» Turning Your Application into a Home-Screen Widget
» When the Add to Home Screen dialog box is visible, select Widgets, as shown in Figure 7-5.
» When the Choose Widget dialog box is visible, choose Silent Mode Toggle, as shown in Figure 7-6.
» Publishing Your App to the Android Market
» Click the Continue button to pay the developer fee with Google Checkout.
» On the order confirmation page see Figure 8-11, click the Place Your Order Now button.
» Click the Android Market Developer Site link.
» Read the terms and then click the I Agree, Continue link.
» On the Android developer home page refer to Figure 8-14, click the Upload Application button.
» For the Application .apk file, choose the .apk file that you created
» In the Screenshots section, add two screen shots of your application.
» Set the title of your application.
» Set the description for your application.
» Set the promo text of your application.
» Designing the Task Reminder Application
» Install the application in the emulator, and click the Menu button.
» Going a la Carte with Your Menu Going a la Carte with Your Menu
» Going a la Carte with Your Menu
» Handling User Input android application development for for dummies
» Is this a long-running task?
» Does the user need to be able to perform an advanced action in the dialog box?
» Does the user need to answer a question such as “Are you sure?” with a value of Yes or No?
» Does the user simply need to be alerted?
» Getting Persistent with Data Storage
» Reminding the User with AlarmManager
» Updating the Android Status Bar
» Working with Android’s Preference Framework
» Working with Android’s Preference Framework Working with Android’s Preference Framework
Show more