Publicando en Google Play (antiguo market)

Uno de las formas más efectivas de llevar tu aplicación a los dispositivos de los usuarios es publicarla en el mercado de aplicaciones que supone Google Play. Publicar en Google Play es un proceso simple que puedes hacer en unos pocos pasos – registro, configuración, upload y publicación. El registro dura solo unos minutos y necesita ser hecho sólo una vez. Los pasos de configuración y publicación pueden ser hechos a través de la Google Play Android Developer Console después de registrarte como un Google Play Developer.

Para empezar a publicar en Google Play, lo primer es leer este tuto y entonces ir a Google Play Android Developer Console y registrarte como un desarrollador de Google Play.

Sobre Google Play

Google Play es una plataforma segura de publicación que te ayuda publicitar, vender, y distribuir tus aplicaciones Android a usuarios en todo el planeta. Cuando metes una versión de tu aplicación a través de Google Play, tienes acceso a una suite de herramientas de programador que te permiten analizar tus ventas, identificar las tendencias del mercado, y controlar a quien han sido distribuidas tus apps. También tienes acceso a varias características de “recuperación de la inversión” tales como in-app billingapplication licensing.

Antes de que puedas publicar en Google Play, necesitas registrarte como Google Play developer.Durante el proceso de registro necesitarás crear un perfil de desarrollador, pagar una cuota, y estar de acuerdo con las Google Play Developer Distribution Agreement.Después de registrarte puedas acceder a la Developer Console, donde puedes subir tus aplicaciones, configurar las opciones de publicación y monitorizar los datos de publicación.Si quieres vender tus aplicaciones o utilizar la función de in-app billing , necesitarás configurar una cuenta de Google Checkout merchant . Para más info sobre el proceso de registro:Developer Registration.

Proceso de Registro de Desarrollador

Debes registrarte para distribuir tus productos a través de Google Play. Hay un tarifa de $25. Cobramos esto para animar a que los productos sean de alta calidad en Google Play (es decir para eliminar el spam).

Los siguientes articulos te ayudan a resolver cualquier problema que  tengas en el proceso de registro:

Vendiendo apps
Si estas interesado en vender tus apps con un precio, ncesitas estar registrado en el Google Checkout Merchant también. Para hacer esto desde el Google Play site:

  1. Log into your Google Play Android Developer Console at https://play.google.com/apps/publish/
  2. Click on the “Edit profile” link.
  3. Select “Setup a Merchant Account at Google Checkout.”

This will take you to the Google Checkout site to sign up as a Merchant; you’ll need to have information about your business handy to complete this step. Learn more about the requirements to be a Google Checkout Merchant.

Publicar Apps en Google Play

Publicar tu aplicación en Google Play es un proceso simple que incluye tres tareas básicas (ver figura 1):

  • Crear varios recursos gráficos que acompañen tu app en Google Play.
  • Utilizar la Google Play Developer Console para configurar opciones de publicación, especificar detalles de listado, y hacer el upload de tu app e de los recursos gráficos a Google Play.
  • Revisar los settings de publicación y cambiar el estado de release de tu app de Unpublished a Published.

Shows the three steps that are required to publish on Google Play

Figure 1. Para publicar en Google Play primero debes preparar tu app para release (ver  prepare your app for release ) y entonces realizar las tres simples tareas de la imagen.

Importante: Cuando preparas tu aplicación para release debes configurarla para release y build en modo release. Al compilar en modo release se firma el apk de tu aplicación con tu private release key. No puedes publicar una aplicación en Google Play a menos que esté firmada con tu propia release key.

Preparar el material promocional

Para aprovechar las capacidades de marketing y publicitarias de Google Play, necesitas crear varios imágenes que acompañen tu app en Google Play, tales como capturas de pantallas, videos, gráficos promocionales , y texto promocional. Cómo mínimo se deben proporcionar dos capturas de tu aplicación y un icono de aplicación de alta resolución. Las capturas son mostradas en la página de detalle de tu aplicación en Google Play, y el icono de alta resolución es mostrado en varios sitios a través de Google Play. El icono de alta resolución no reemplaza el icono de launcher de tu aplicación, mas que eso, sirve como un icono de suplemento y debe parecer parecido al icono launcher. El video promocional, los gráficos, y el texto son opcionales, aunque son altamente recomendables. Para más información sobre los recursos de imágenes que acompañan tu app, ver  Graphic Assets for your Application.

Configurando opciones y subiendo recursos

Google Play te permite dirigir tu aplicación a un ampli grupo de usuarios y dispositivos.Para llegar a estos usuarios puedes utilizar la Developer Console para configurar varias opciones de publicación y detalles de listado para tu app. Por ejemplo, puedes elegir los paises a los que te quieres dirigir, los idiomas que quieren que lo usen, y el precio que quieres poner para cada país. Puedes también configurar detalles de listado tales como el tipo de aplicación, la categoría y el content rating. Además, si quieres vender productos dentro de tu app utilizando la característica de app-billing, puedes utilizar la Developer Console para crear una lista de productos y controlar que productos están disponibles para comprar en tu app.

Cuando se acaba de configurar las opciones de publicación y detalles de listado, puedes subir tus recursos y tu aplicación a Google Play. Puedes subir tu aplicación en un modo de borrador (sin publicar), que te permite hacer el testeo final antes de publicar la versión definitiva.

Para saber más sobre las opciones de publicación de Google Play, se pueden ver los siguientes recursos:

Publicando tu aplicación

Cuando estás de acuerdo con las opciones de publicación y la aplicación subida esta lista para ser publicada, puedes simplemente clickar ‘Publish’ en el Developer Console para terminar de hacer tu app disponible alrededor de todo el mundo. Ten en cuenta, que puede llevar varias horas para que tu app aparezca en Google Play desde que pulsas Publish en la Developer Console.

Controlando la distribución hacia los dispositivos

Si tu app se dirige a diferentes configuraciones de dispositivos, puedes controlar que dispositivos Android tienen acceso a tu app en Google Play utilizando filtros Google Play. El filtrado compara configuraciones de dispositivos que tu declaras en el manifest de tu app con la configuración definida en cada dispositivo. Por ejemplo, su declaras el filtro de camara en tu manifest, solo aquellos dispositivos que tengan una cámara verán tu app en Google Play. Los filtros deben estar configurados en el manifest de tu app cuando prepares tu app para release –> preparing your app for release (es decir, antes de hacer upload de tu app en Google Play). Para más info, ver  Filters on Google Play.

También puedes utilizar las múltiples características APK para distribuir diferentes ficheros .apk bajo la misma aplicación y el mismo nombre de paquete; sin embargo, deberías utilizar este opción somo como último recurso. Las aplicaciones de Android se ejecutan casi siempre con un solo APK, by supplying alternative resources for different configurations (for example, different layouts for different screen sizes) and the Android system selects the appropriate resources for the device at runtime. In a few cases, however, a single APK is unable to support all device configurations, because alternative resources make the APK file too big (greater than 50MB) or other technical challenges prevent a single APK from working on all devices. Although we encourage you to develop and publish a single APK that supports as many device configurations as possible, doing so is sometimes not possible. To help you publish your application for as many devices as possible, Google Play allows you to publish multiple APKs under the same application listing. Google Play then supplies each APK to the appropriate devices based on configuration support you’ve declared in the manifest file of each APK. To use this feature, you need to build your separate .apk files when you are preparing your app for release (that is, before you upload your app to Google Play). For more information, see Multiple APK Support.

Publicando actualizaciones en Google Play

En cualquier momento después de publicar una aplicación en Google Play, se puede hacer upload y publicación de una actualización de la misma aplicación.Cuando publicas una actualización, los usuarios que ya tienen instalada tu app podrían recibir una notificación de que una actualización está disponible.

Before uploading the updated application, be sure that you have incremented the android:versionCode and android:versionName attributes in the <manifest> element of the manifest file. Also, the package name must be the same as the existing version and the .apk file must be signed with the same private key. If the package name and signing certificate do not match those of the existing version, Google Play will consider it a new application, publish it as such, and will not offer it to existing users as an update.

If you plan to publish your application on Google Play, you must make sure that it meets the requirements listed below, which are enforced by Google Play when you upload the application.

Utilizar el servicio de Licencias de Google Play

Google Play ofrece un servicio de licencia que te permite reforzar las políticas de licencia para aplicaciones de pago que tu publicas a través de Google Play. Con Google Play Licensing, tus aplicaciones pueden consultar Google Play en tiempo de ejecución para obtener el estado de licencia de tu usuarios actual, entonces permitir o denegar el uso de la aplicación como propietario. Utilizar este servicio, puedes aplicar una política de licencia flexible sobre una base de aplicación por aplicación- es decir cada aplicación puede configurar su estado de licencia en la forma que considere más apropiada.

Cualquier aplicación que tu publiques a través de Goolgle Play puedes usar el Google Play Licensing Service. El servicio no utiliza APIs dedicados, asi que puedes utilizar este servicio con un API de nivel mínimo (3 o superior).

Para más info  Application Licensing.

Utilizar el Google Play In-app Billing

Google Play In-app Billing es un servicio de Google Play que te permite vender contenido digital en tus apps. Puedes utilizar el servicio para vender una amplia variedad de contenido, incluyendo contenido escargable como musica o fotos, y contenido virtual como niveles de un juego o pócimas.

is a Google Play service that lets you sell digital content in your applications. You can use the service to sell a wide range of content, including downloadable content such as media files or photos, and virtual content such as game levels or potions.

When you use Google Play’s in-app billing service to sell an item, Google Play handles all billing details so your application never has to directly process any financial transactions. Google Play uses the same checkout service that is used for application purchases, so your users experience a consistent and familiar purchase flow (see figure 1). Also, the transaction fee for in-app purchases is the same as the transaction fee for application purchases (30%).

Any application that you publish through Google Play can implement in-app billing. No special account or registration is required other than a Google Play publisher account and a Google Checkout Merchant account. Also, because the service uses no dedicated framework APIs, you can add in-app billing to any application that uses a minimum API level of 4 or higher.

To help you integrate in-app billing into your application, the Android SDK provides a sample application that demonstrates a simple implementation of in-app billing. The sample application contains examples of billing-related classes you can use to implement in-app billing in your application. It also contains examples of the database, user interface, and business logic you might use to implement in-app billing. For more information about the in-app billing feature, see the In-app Billing documentation.

Linking to Your Apps on Google Play

To help users discover your published applications, you can use two special Google Play URIs that direct users to your application’s details page or perform a search for all of your published applications on Google Play. You can use these URIs to create a button in your application or a link on a web page that:

  • Opens your application’s details page in the Google Play application or web site.
  • Searches for all your published applications in the Google Play application or web site.

You can launch the Google Play application or web site in the following ways:

  • Initiate an Intent from your application that launches the Google Play application on the user’s device.
  • Provide a link on a web page that opens the Google Play web site (but will also open the Google Play application if clicked from a device).

In both cases, whether you want to initiate the action from your application or from a web page, the URIs are quite similar. The only difference is the URI prefix.

To open the Google Play application from your application, the prefix for the intent’s data URI is:

market://

To open Google Play store from your web site, the prefix for the link URI is:

http://play.google.com/store/

The following sections describe how to create a complete URI for each action.

Note: If you create a link to open Google Play from your web site and the user selects it from an Android-powered device, the device’s Google Play application will resolve the link so the user can use the Google Play application on the device instead of opening the web site. As such, you should always usehttp://play.google.com/store/apps/... URIs when creating a link on a web page. When pointing to your apps from within your Android app, use the market:// URIs in an intent, so that the Google Play application always opens.

Opening an app’s details page

As described above, you can open the details page for a specific application either on the Google Play application or the Google Play web site. The details page allows the user to see the application description, screenshots, reviews and more, and choose to install it.

The format for the URI that opens the details page is:

<URI_prefix>apps/details?id=<package_name>

The <package_name> is a placeholder for the target application’s fully-qualified package name, as declared in the package attribute of the <manifest> element.

For example: http://play.google.com/store/apps/details?id=com.example.myapp

Opening the app details page from your Android app

To open the Google Play details page from your application, create an intent with the ACTION_VIEW action and include a data URI in this format:

market://details?id=<package_name>

For example, here’s how you can create an intent and open an application’s details page in Google Play:

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("market://details?id=com.example.android"));
startActivity(intent);

This will open the Google Play application on the device to view the com.example.android application.

Opening the app details page from a web site

To open the details page from your web site, create a link with a URI in this format:

http://play.google.com/store/apps/details?id=<package_name>

For example, here’s a link that opens an application’s details page on Google Play:

<a href="http://play.google.com/store/apps/details?id=com.example.android">App Link</a>

When clicked from a desktop web browser, this opens the Google Play web site to view the com.example.android application. When clicked from an Android-powered device, users are given the option to use either their web browser or the Google Play application to view the application.

Performing a search

To initiate a search on Google Play, the format for the URI is:

<URI_prefix>search?q=<query>

The <query> is a placeholder for the search query to execute in Google Play. The query can be a raw text string or you can include a parameter that performs a search based on the publisher name:

  • To perform a raw text search, append the query string:<URI_prefix>search?q=<search_query>
  • To search based on the publisher name, use the pub: parameter in the query, followed by the publisher name:<URI_prefix>search?q=pub:<publisher_name>You can use this type of search to show all of your published applications.

Searching from your Android app

To initiate a search on Google Play from your application, create an intent with the ACTION_VIEW action and include a data URI in this format:

market://search?q=<query>

The query may include the pub: parameter described above.

For example, here’s how you can initiate a search in the Google Play application, based on the publisher name:

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("market://search?q=pub:Your Publisher Name"));
startActivity(intent);

This opens the Google Play application to perform the search. The search result shows all applications published by the publisher that are compatible with the current device.

Searching from a web site

To initiate a search on Google Play from your web site, create a link with a URI in this format:

http://play.google.com/store/search?q=<query>

The query may include the pub: parameter described above.

For example, here’s a link that initiates a search on Google Play, based on the publisher name:

<a href="http://play.google.com/store/search?q=pub:Your Publisher Name">Search Link</a>

When clicked from a desktop web browser, this opens the Google Play web site and performs the search. When clicked from an Android-powered device, users are given the option to use either their web browser or the Google Play application to perform the search.

Build a Google Play button

Use the following form to create a button for your web site that takes users to your application on Google Play. Input either your application’s package name or your publisher name and the button will take users to Google Play to either view your application’s information or view a list of your published apps. If users click the button while on an Android-powered device, the Google Play application will respond to show users your application(s).

This form offers two styles of the official brand badge each at recommended sizes. You can pick between either “Get it on Google Play” or “Android app on Google Play.” You should not modify the badge images in any way. For more usage guidelines, see the Android Brand Guidelines.

 

or 

 

 

Summary of URI formats

The table below provides a summary of the URIs currently supported by the Google Play (both on the web and in the Android application), as discussed in the previous sections.

For this result Use this URI in a web page link Or this URI in an ACTION_VIEW intent
Display the details screen for a specific application http://play.google.com/store/apps/details?id=<package_name> market://details?id=<package_name>
Search for applications using a general string query. http://play.google.com/store/search?q=<query> market://search?q=<query>
Search for applications by publisher name http://play.google.com/store/search?q=pub:<publisher_name> market://search?q=pub:<publisher_name>