Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Creative tools for business
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Dreamweaver Developer Center /

Building a mobile app with PhoneGap and Dreamweaver: Submitting to Android Market

by Steve Gill

Steve Gill
  • Adobe
  • twitter.com/#!/stevesgill

Content

  • Setting your application's version information
  • Final testing and clean up
  • Submitting your application to Android Market
  • Where to go from here

Created

7 December 2011

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print

Requirements

Prerequisite knowledge

Before starting this tutorial:

  • * Read about the basics;
  • * Get started with the articles listed in Creating your first app;
  • * Discover some of the available tools and common techniques for debugging and testing your mobile app in Debugging your app;
  • * Have a release build of your app.

 

Additional requirements

  • Eclipse

User level

Beginning

Required products

  • Dreamweaver (Download trial)

Sample files

  • PhoneGap_sample_android.zip

When you've created a signed release build of your mobile app, you are ready to publish it to Android Market. This tutorial shows you the final few steps you'll need to complete to prepare your app and get it into Android Market.

Setting your application's version information

Setting a version number is important because this information is central to maintaining and updating your application going forward. Users of your application rely on the version number to identify the version they have installed and determine if a newer update is available. Services through which you will publish your application, including Android Market, will also require the version number so it can be displayed to users.

By default, your application is set to version 1. To see this, open your project's AndroidManifest.xml file in a text editor. Your AndroidManifest.xml file should be in the root of your project. Near the top you'll see the manifest element, which includes android:versionName and android:versionCode properties; for example:

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.companyname.dw_test_app" android:versionName="1.0" android:versionCode="1">

The android:versionCode property is set to an integer value that represents the version of the application code. Typically, you start this property at 1 for the first version that you submit to Android Market and increment it by 1 every time you publish an update.

The android:versionName property is set to a string value that represents the release version of the application code as it should be shown to users. It can have decimals to represent minor and point releases; for example: 1.1.1 .

Final testing and clean up

After setting your application's version information, create a release build by following the steps in Creating a release build of your PhoneGap Android app.

Before you submit your application to the Android Market, you need to test it extensively on at least one device. It is important to test your application on an actual device and not just the Android Virtual Device (AVD), because devices perform differently than the AVD. Further, make an effort to test your application on as many different devices as you can. Different devices may have different resolutions and capabilities that affect how your application looks and performs. Your goal as an Android developer is to get your application working well on many devices. The only way to know if you've achieved this goal is to test it on many devices.

Google also recommends that you consider adding an End User License Agreement, which can help protect you, your organization, and your intellectual property.

Submitting your application to Android Market

You are finally ready to submit your application to the Android Market. When you submit, Android Market verifies that you have included android:versionName and android:versionCode properties, signed your app with a private key, and included android:icon and android:label properties. These should have been automatically included in your AndroidManifest.xml file when you initially set up your Dreamweaver project and selected an icon in the application settings. For more details on how to add your icon, see Building a mobile app with PhoneGap: Creating your first app.

Follow these steps to submit your application to Android Market:

  1. Register for an Android Market developer account at http://market.android.com/publish. There is a one-time fee of $25.
  2. After you have registered, return to http://market.android.com/publish and click the blue Upload Application button. After you select your release build APK file you'll see an Upload New APK dialog box with details on the file you're uploading (see Figure 1). Click Save.
Figure 1. Uploading a new APK file.
Figure 1. Uploading a new APK file.
  1. On the Product Details page, add any screen shots or other information you'd like to include with your application.
  2. Click Save and Publish and you are done.

Where to go from here

Now that you've submitted your first application to Android Market, submitting additional applications will be straightforward.

For more details on publishing to Android Market visit developer.android.com and check out Preparing to Publish: A Checklist. Also see Publishing on Android Market, which has a section on publishing updates to your application.

Now that you've summited an Android application, you may want to walk through the steps of building and submitting your application to the iOS platform:

  • Creating a release build for iOS
  • Submitting to the Apple App Store

Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License+Adobe Commercial Rights

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

Tutorials and samples

Tutorials

  • Understanding HTML5 semantics: Changed and absent elements
  • Mobile app with PhoneGap: Submitting to the Apple App Store
  • PhoneGap and Dreamweaver: Releasing on iOS
  • Mobile app with PhoneGap: Creating a release build for Android

Samples

  • Responsive design with jQuery marquee
  • Customizable starter design for jQuery Mobile
  • Customizable starter design for HTML5 video
  • Customizable starter design for multiscreen development

Dreamweaver user forum

More
04/23/2012 Resolution/Compatibility/liquid layout
04/20/2012 using local/testing server with cs5 inserting images look fine in the split screen but do not show
04/18/2012 Ap Div help
04/23/2012 Updating

Dreamweaver Cookbook

More
11/07/2011 Simple social networking share buttons
09/20/2011 Registration form that will generate email for registrant to validate
08/21/2011 Spry Accordion - Vertical Text - Auto Start on Page Load - Mouse Over Pause
08/17/2011 Using cfdump anywhere you like

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement