10%

Try : Insurtech, Application Development

Edtech(5)

Events(31)

Interviews(10)

Life@mantra(10)

Logistics(1)

Strategy(14)

Testing(7)

Android(43)

Backend(28)

Dev Ops(2)

Enterprise Solution(20)

Frontend(28)

iOS(39)

Javascript(13)

AI in Insurance(27)

Insurtech(57)

Product Innovation(36)

Solutions(15)

Augmented Reality(7)

Customer Journey(7)

Design(6)

User Experience(21)

Artificial Intelligence(95)

Bitcoin(7)

Blockchain(14)

Cognitive Computing(7)

Computer Vision(6)

Data Science(14)

FinTech(41)

Intelligent Automation(25)

Machine Learning(43)

Natural Language Processing(10)

E-health(3)

HealthTech(5)

mHealth(3)

Telehealth Care(1)

8 Best Ways to Reduce Android App Size

5 minutes, 29 seconds read

With the increase in mobile storage spaces that have gone up to 256 GB, app size is also growing. App size is sure to grow as developers are adding new features, trying to meet customer needs, and also trying to support their apps on various screen sizes. Around 74% of the world uses Android, and 70% of users consider app size before installing them. Moreover, as humans are getting accustomed to instant gratification, they ponder on ways to download apps as they take up storage spaces. Despite the cloud support for photos, videos, and files, android users face issues, such as mobile hanging due to app size. As customer expectations are increasing, android app developers are considering other ways to reduce app size while still incorporating significant additional features and keeping in mind the customer experience.

Below are the 8 best ways to reduce android app size:

1. Use Android App Bundle to Reduce App Size

When generating the release version of your app, you can choose between APK and Android App Bundle.  The second option will make Google play to generate the APK with only those features a specific user need. 

Use Android App Bundle

App Bundle Vs APK

Android App Bundle

  • It is a publishing format that includes compiled code and resources of your app, and delays APK generation and signing to Google Play.
  • With Android App Bundles, the compressed download size restriction is 150 MB. The app bundle cannot be used with APK expansion files.
Android App Bundle
Important: In the second half of 2021, new apps will be required to publish with the Android App Bundle on Google Play. New apps larger than 150 MB must use either Play Feature Delivery or Play Asset Delivery.

How to build android app bundles?

To build app bundles, follow these steps:

  1. Download Android Studio 3.2 or higher—it’s the easiest way to add feature modules and build app bundles.
  2. Add support for Play Feature Delivery by including a base module, organizing code and resources for configuration APKs, and, optionally, adding feature modules.
  3. Build an Android App Bundle using Android Studio. You can also deploy your app to a connected device from an app bundle by modifying your run/debug configuration and selecting the option to deploy APK from app bundle. Keep in mind, using this option results in longer build times when compared to building and deploying only an APK.
  4. If you’re not using the IDE, you can instead build an app bundle from the command line.
  5. Test your Android App Bundle by using it to generate APKs that you deploy to a device.
  6. Enroll into app Play App Signing. Otherwise, you can’t upload your app bundle to the Play Console.
  7. Publish your app bundle to Google Play.

Please note: Android Package Kit – As per developer console, by the mid of 2021, developers won’t be able to upload apk on play store)

  • Android operating system uses APK which is the package file format for distribution and installation of mobile apps, games and middleware. APK is similar to other software packages such as APPX in Microsoft Windows or a Debian package in Debian -based operating systems.
  • Google Play requires that the compressed APK downloaded by the users should not exceed 100 MB.
  • The expansion files for your app are hosted by Google Play which serves them to the device at no cost to you. The expansion files are saved to the device’s shared storage location (the SD card or USB-mountable partition).

2. Use Proguard

Proguard is probably one of the most useful tools to reduce your APK size. It reduces the source code files to a minimum and can reduce the APK file size upto 90%.

  • Use it in all variants whenever using “Proguard”
  • Helps to avoid conflict at the of generate apk or bundle if will use in all the variants.
  • We cannot let ProGuard rename or remove any fields on these data classes, as they have to match the serialized format. It’s a safe bet to add a @Keep annotation on the whole class or a wildcard rule on all your models.

3. Use Android Size Analyzer Plugin

This Android Studio plugin will provide you recommendations to reduce the size of your application.

With the APK Analyzer, you can accomplish the following:

  • View the absolute and relative size of files in the APK, such as the DEX and Android resource files.
  • Understand the composition of DEX files.
  • Quickly view the final versions of files in the APK, such as the AndroidManifest.xml file.
  • Perform a side-by-side comparison of two APKs.

There are three ways to access the APK Analyzer when a project is open:

  • Drag an APK into the Editor window of Android Studio.
  • Switch to the Project perspective in the Project window and then double-click the APK in the default build/output/apks/ directory.
  • Select Build > Analyze APK in the menu bar and then select your APK.

More details at: Jetbrains

4. Optimize Your App’s Resources

Whether used or not, every resource takes up memory. It is therefore necessary to have only those resources that you need, and to use those in a memory efficient way. In other words, you should consider the resolution of the image before finalizing on it.

5. Optimize Libraries

As large libraries consume huge amounts of space, it is advisable to remove parts of it in case you do not need them and if it is permitted by the license of the library. Proguard can aid you in this process but it is not always able to remove large internal dependencies.

6. Use Vector Graphics Wherever Possible

They are sharp and do not consume much space as they rely on mathematical calculations and not on pixels that need to be saved. However, they cannot be used for photography.

7. Compress Your Images

By using tools such as pngcrush, you can reduce the file size of PNG images. It is advisable to do this images as they still look the same. 

8. Only Support Specific Densities

If only a small portion of users use a specific density, it might be better to let Android scale your other densities for them as it would reduce your APK size.


As mobile storage space is growing, people are installing a large number of apps to meet a wide range of needs. But as app size is increasing, people are continuing to struggle with storage issues. With provisions such as Proguard, one can compress the APK file size and optimize libraries easily. Compressing images and using vector graphs are also useful in reducing app size.

About the author: Anand Singh is Tech Lead at Mantra Labs. He is integral to the company’s Android-based projects and enterprise application development.

Further Reading:

Cancel

Knowledge thats worth delivered in your inbox

How to increase patient engagement on a healthcare app?

By :
4 minutes, 9 seconds read

Patient facing mobile apps have emerged as a viable alternative to interact with patients and help them execute several tasks related to healthcare without reaching the hospital. Patients are now increasingly glued to these healthcare apps and their time spent on mobile devices has increased significantly. From communication and information to executing business through mobile apps have become a common thing.

Still, there is a lot of gap in the healthcare market. Marketers are struggling to gauge the true value of mobile apps for the bottom line of healthcare organizations. Especially in terms of the value of the app viz-viz the efforts, cost, and time it would take to become a useful and engaging healthcare app for the patient.

To help you increase the patient engagement on a healthcare app, here are a few crucial ways that you need to know. It will not only increase the engagement but will also help you meet your organizational goals at a faster pace.

1. Reduce Readmissions

Healthcare provider’s biggest pain point these days is to avoid readmission of preventable cases. It is crucial for healthcare organizations to reduce this number to enhance patient outcome and improve their revenue growth. Customized healthcare applications can assist hospitals in reducing the number of readmissions.

Here is how:

  • Offer personalized post-release information and instructions
  • Reminder for regular follow-up visits
  • Enforce stricter adherence to post-release prescription and regiment
  • Easier access to healthcare resources and information
  • Lesser cost and time of reaching out
  • Greater engagement to reduce readmission rates

2. Encourage Patients to Proactively Manage Their Health

Encouraging the patient to become proactive in managing their own health can help in improving the outcome and also enhance the reputation of your hospital. With easier access to the required resources and tools, patients are more likely to stay in touch with healthcare professionals and practice the wellness regimen. A properly optimized mobile app can deliver a better wellness experience to the patient and a greater sense of satisfaction.

Here is how an app can help the patient in managing their health proactively:

  • Keeps the patient informed and connected with relevant services
  • Encourages regular health tracking
  • Helps in developing healthy habits and exercises
  • Promotion of health education by streaming informations

3. Improve Trust and Build Relationships


Establishing trust between the patient and doctor is one of the difficult things that hospitals face. Due to long wait times, complex processes, or lack of communication between healthcare team; patients are not willing to attend healthcare appointments.

However, when you give all the relevant tools and information in the smartphone of the patient and empower them, the trust develops between the two parties and the patient proactively takes charge of their treatment. Hospitals can also gain competitive advantage by streamlining patient referrals and building stronger relationships with physicians.

Here is how apps can help:

  • You can provide access to a larger pool of specialists 
  • Help in easily accessing credentials, studies, and information from the mobile app
  • Recommend, network, and connect
  • Improve efficiency and workflow

4. Boost Brand Image and Reputation

Today patients can not be treated less than consumers. Hospitals are competing with each other to provide better care facilities and infrastructure at affordable prices. Hence, it has become crucial to achieve patient satisfaction and engagement. Through mobile apps, hospitals can make the existing information easily accessible along with brand awareness features including social media, photo galleries, virtual tours, and more.

Here is how mobile app can help:

  • Easier access to communication and information
  • Intuitive presentation of the hospital through immersive galleries
  • Stream ER wait time and other relevant information
  • Greater social media engagement

What more factors can increase engagement?

Several patients come to healthcare app once and then dump them after a few logins. One of the major reasons for such low engagement rates is that either the app is difficult to navigate or it is not immersive for the patient.

Consider these few points to make your app more engaging:

  • Customize the app as per the patient group. An app can appear differently to a child and an old age person. Develop an app that is easy to use for all users. Sit with your QA engineers to validate the functionality of your application thoroughly.
  • Build an app that is scalable and can be evolved over a period of time. Leave the possibility of enhancements and customizations that you would need in the future to keep the application viable.
  • It is a no brainer to give multiple options to your patients. Develop a cross-platform application that is compatible with both iOS and Android platforms and offers a rich user experience.

Wrapping Up

With the COVID-19 pandemic, people are more worried about visiting hospitals. Social distancing has become the norm and patients are more inclined towards telemedicine for their treatment. In such a tricky situation, it has become more crucial for hospitals to provide a robust, secure, and engaging mobile app to patients to interact with doctors, access information, and stay connected with the healthcare system.

About the Author

Erna Clayton is a techie with over 12 years of experience in several technological domains including quality assurance and software testing. In her free time, she loves travelling and writing on technology.

Further Readings:

  1. Building Consumer Trust in the Digital Healthcare Era
  2. HealthTech 101: How are Healthcare Technologies Reinventing Patient Care
  3. Virtual health: Delivering care through technology
  4. How Mobile Micro-Health Insurance can unlock ‘Digital for Bharat’?
Cancel

Knowledge thats worth delivered in your inbox

Loading More Posts ...
Go Top
bot

May i help you?

bot shadow