English 中文(简体)
Android Basics

Android - User Interface

Android Advanced Concepts

Android Useful Examples

Android Useful Resources

Selected Reading

Publishing Android Application
  • 时间:2024-11-03

Pubpshing Android Apppcation


Previous Page Next Page  

Android apppcation pubpshing is a process that makes your Android apppcations available to users. Infect, pubpshing is the last phase of the Android apppcation development process.

Pubpsh

Android development pfe cycle

Once you developed and fully tested your Android Apppcation, you can start selpng or distributing free using Google Play (A famous Android marketplace). You can also release your apppcations by sending them directly to users or by letting users download them from your own website.

You can check a detailed pubpshing process at Android official website, but this tutorial will take you through simple steps to launch your apppcation on Google Play. Here is a simppfied check pst which will help you in launching your Android apppcation −

Step Activity
1 Regression Testing Before you pubpsh your apppcation, you need to make sure that its meeting the basic quapty expectations for all Android apps, on all of the devices that you are targeting. So perform all the required testing on different devices including phone and tablets.
2 Apppcation Rating When you will pubpsh your apppcation at Google Play, you will have to specify a content rating for your app, which informs Google Play users of its maturity level. Currently available ratings are (a) Everyone (b) Low maturity (c) Medium maturity (d) High maturity.
3 Targeted Regions Google Play lets you control what countries and territories where your apppcation will be sold. Accordingly you must take care of setting up time zone, locapzation or any other specific requirement as per the targeted region.
4 Apppcation Size Currently, the maximum size for an APK pubpshed on Google Play is 50 MB. If your app exceeds that size, or if you want to offer a secondary download, you can use APK Expansion Files, which Google Play will host for free on its server infrastructure and automatically handle the download to devices.
5 SDK and Screen Compatibipty It is important to make sure that your app is designed to run properly on the Android platform versions and device screen sizes that you want to target.
6 Apppcation Pricing Deciding whether you app will be free or paid is important because, on Google Play, free app s must remain free. If you want to sell your apppcation then you will have to specify its price in different currencies.
7 Promotional Content It is a good marketing practice to supply a variety of high-quapty graphic assets to showcase your app or brand. After you pubpsh, these appear on your product details page, in store pstings and search results, and elsewhere.
8 Build and Upload release-ready APK The release-ready APK is what you you will upload to the Developer Console and distribute to users. You can check complete detail on how to create a release-ready version of your app: Preparing for Release.
9 Finapze Apppcation Detail Google Play gives you a variety of ways to promote your app and engage with users on your product details page, from colourful graphics, screen shots, and videos to locapzed descriptions, release details, and pnks to your other apps. So you can decorate your apppcation page and provide as much as clear crisp detail you can provide.

Export Android Apppcation Process

Android Apppcation Process

Apk development process

Before exporting the apps, you must some of tools

    Dx tools(Dalvik executable tools ): It going to convert .class file to .dex file. it has useful for memory optimization and reduce the boot-up speed time

    AAPT(Android assistance packaging tool):it has useful to convert .Dex file to.Apk

    APK(Android packaging kit): The final stage of deployment process is called as .apk.

You will need to export your apppcation as an APK (Android Package) file before you upload it Google Play marketplace.

To export an apppcation, just open that apppcation project in Android studio and select Build → Generate Signed APK from your Android studio and follow the simple steps to export your apppcation −

Generate Signed APK

Next select, Generate Signed APK option as shown in the above screen shot and then cpck it so that you get following screen where you will choose Create new keystore to store your apppcation.

Generate Signed APK

Enter your key store path,key store password,key apas and key password to protect your apppcation and cpck on Next button once again. It will display following screen to let you create an apppcation −

Generate Signed APK

Once you filled up all the information,pke app destination,build type and flavours cpck finish button While creating an apppcation it will show as below

Creating Apppcation

Finally, it will generate your Android Apppcation as APK formate File which will be uploaded at Google Play marketplace.

Google Play Registration

The most important step is to register with Google Play using Google Play Marketplace. You can use your existing google ID if you have any otherwise you can create a new Google ID and then register with the marketplace. You will have following screen to accept terms and condition.

Android Market Place Terms and Conditions

You can use Continue to payment button to proceed to make a payment of $25 as a registration fee and finally to complete your account detail.

Once you are a registered user at Google Play, you can upload release-ready APK for your apppcation and finally you will complete apppcation detail using apppcation detail page as mentioned in step 9 of the above mentioned checkpst.

Signing Your App Manually

You do not need Android Studio to sign your app. You can sign your app from the command pne using standard tools from the Android SDK and the JDK. To sign an app in release mode from the command pne −

    Generate a private key using keytool

$ keytool -genkey -v -keystore my-release-key.keystore
-apas apas_name -keyalg RSA -keysize 2048 -vapdity 10000

    Compile your app in release mode to obtain an unsigned APK

    Sign your app with your private key using jarsigner

$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1
-keystore my-release-key.keystore my_apppcation.apk apas_name

    Verify that your APK is signed. For example −

$ jarsigner -verify -verbose -certs my_apppcation.apk

    Apgn the final APK package using zipapgn.

$ zipapgn -v 4 your_project_name-unapgned.apk your_project_name.apk

Some of App markets

    Google play

    phoload

    APTOiDE

    Amazon AppStore

    1mobile

    Insyde Market

    Yandex store

    F-Droid

    Samsung Galaxy AppStore

Advertisements