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(26)

Insurtech(57)

Product Innovation(34)

Solutions(13)

Augmented Reality(7)

Customer Journey(7)

Design(6)

User Experience(21)

Artificial Intelligence(94)

Bitcoin(7)

Blockchain(14)

Cognitive Computing(7)

Computer Vision(6)

Data Science(13)

FinTech(41)

Intelligent Automation(25)

Machine Learning(43)

Natural Language Processing(10)

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

Virtual health: Delivering care through technology

8 minutes, 52 seconds read

Virtual Care, Telehealth, Telemedicine, etc. are terms used very synonymously. Indeed they are interrelated, however, Virtual Care is a broader term in which healthcare providers use digital tools to communicate and deliver care to their patients. Telehealth and Telemedicine are a part of Virtual Care where doctors deliver care to their patients, remotely via phone, video, or instant messaging. Virtual health includes care delivery beyond video consultation where hospitals provide services using technology such as wearables for remote monitoring, instruments for post-op care and second opinions, e-pharma services, and medical information, etc. 

The outbreak of the COVID-19 pandemic gave an impetus to Virtual Care, but even in the Pre-COVID time, the Healthcare sector was slowly gearing up for this next wave in care delivery. What COVID-19 did was, help patients get acclimatized to the digital health tools and services. 

What does Virtual Health help with?

The pandemic has brought the burning issues of the healthcare sector to center stage. Patient experience and access to healthcare services are key differentiators for people while choosing a healthcare provider. Let’s take a look at some of these issues addressed by technology in the healthcare sector-

The increasing number of patients

Apart from the pandemic, there’s already been a rise in the number of patients due to drastic changes in lifestyle and food habits, an increase in pollution levels, increase in new types of viruses, etc. This has caused undue stress on healthcare institutions and workers and has led to the deterioration of the quality of patient care. Virtual Health technology such as mHealth apps, EHR (Electronic Health Record), video conferencing, etc. has helped reduce the pressure on hospitals.

Difficulty in traveling for old patients

The pace of life is increasing at a rapid rate. It is getting insanely difficult for the elder population to navigate through the traffic and commute long distances for a check-up. Many times, they have to depend on their family members to take them to hospitals. Moreover, they are at risk of exposure to viruses in hospitals and clinics. Now that they have had the experience of virtual consultations, they prefer care delivery at home rather than going to hospitals.

Chronic Diseases treatment

The number of people above the age of 45 face health issues. Some patients are suffering from chronic diseases regardless of age. Regular monitoring of their vitals is very important. Moreover people now prefer Virtual healthcare services which are easily accessible and save a lot of time, effort, and money. Now that people have found these services effective, they will opt for online consults rather than frequent in-person visits. 

Post-op Care

The duration of post-operative care is quite long and tedious. If given a choice, people will lean towards wearables which will help keep doctors posted on the status of the treatment. Many times, the cost of post-op care is more than the actual treatment and sometimes is not covered under insurance. Virtual care-delivery services will help reduce the financial burden of people going through these treatments.

Follow-ups/Second opinion  

Some health conditions need multiple follow-ups and second opinions to figure out the right approach to treat the issue. It is much easier for patients to do follow-up consults virtually rather than going through the tedious process of appointment booking, commuting, and waiting for their turn. It helps reduce the queue outside the doctor’s office as well. Some health issues need a second opinion, sometimes both by patients and doctors. Virtual Healthcare technologies make it possible for them to take second opinions from doctors all over the world. With electronic records and image sharing, doctors can diagnose the problem better.

What does Virtual Health include?

Virtual Health can be broadly divided into below applications-

mHealth Applications

mHealth applications have widespread use. From symptom checkers to appointment booking, from fitness trackers to uploading medical records, from video conferencing features to chatbot integrations, mHealth apps are on a rise mainly because of easy accessibility for the tech-savvy customers. According to a study by NCBI, among the 22 selected mHealth apps operating in India, Practo, mfine, DocsApp, 1mg, Netmeds, Lybrate, MediBuddy, and Medlife were found to be the eight most popular ones with over a million downloads and on average four-plus user rating out of five. All the above apps are mainly being used for online consults. This just goes about showing that people prefer having homecare services instead of stepping out. 

E-Triage Tools

The rising number of patients with different stages of COVID symptoms was a task to deal with. E-triage software here enables hospitals to triage patients into different sections when there’s an overload of patients at a particular time. Now, in the case of home care, e-triage tools help patients to access the gravity of their health condition and notify the healthcare provider accordingly. Such tools help reduce A&E waiting time and improve NHS performance. Many companies are building healthcare software integrating the E-triage module within EHR, telemedicine, clinical decision making, billing, etc. In India, Persistent Systems’ cutting edge platform has a Nurse Triage system that enables nurses to see the queue of patients and triage via phone calls. Once the calls are done, a triage report is generated and sent to care providers. Many leading doctors feel that AI in image triage will see a boost in near future.

Remote Patient Monitoring 

There are multiple benefits such as reduced post-op expenditure, time wastage, less exposure to other diseases, etc. The global remote patient monitoring devices market is expected to expand at a CAGR of 7.1% during the forecast period (2019–2027) according to Coherent Market Insights. Some of the top players in this space are Biotronik, Boston Scientific Corporation, CAS Medical Systems, CONTEC MEDICAL, Dragerwerk, GE Healthcare, Guangdong Biolight Meditech, Medtronic, Mindray Medical, Nihon Kohden, Philips Healthcare, Spacelabs Healthcare, Abbott. Companies such as GE Healthcare and Philips Healthcare have done a great job with building remote patient monitoring systems within the hospital premises as well as homecare for COVID patients. The main goal was to reduce the exposure of healthcare workers to at-risk patients. 

Synchronous and Asynchronous Telehealth

Synchronous telehealth, in other words, Telemedicine is where there is a live conversation between the patient and the doctor. Asynchronous telehealth involves the exchange of recorded data e.g. images, video, medical reports, pathology reports between patients and doctors, at times between doctors as well. Similar to mHealth space, companies like Practo, 1mg, Lybrate, Medlife, and Portea Medical in India are some of the top players in telehealth and telemedicine. Lybrate’s USP lies in CMS (Clinical Management System) which helps doctors with tedious tasks of managing patients and providing better care. Meanwhile, Portea Medical’s home consults and pharma delivery have more relevance with the audience as it combines technology with a touch of personalization. 

Digital Therapeutics

Digital Therapeutics delivers evidence-based therapies with the help of software which can be used both as a preventive measure as well as treatment application. The effectiveness of the medication and lifestyle changes on patients are monitored by leveraging technology. In India, major non-communicable diseases that account for 62% of the total mortality rate are CVD, diabetes, respiratory conditions, and cancer. Prominent global players in this space include Noom (US), Livongo Health (US), Omada Health (US), WellDoc (US), Pear Therapeutics (US), Proteus Digital Health (US), Propeller Health (US), Akili Interactive Labs (US), Better Therapeutics (US), etc. Omada Health is the pioneer in the DTx (Digital Therapeutics) that focused primarily on diabetes and pre-diabetes but now is branching out in the mental health space as well. In India, Altran (a part of Capgemini) is into building personalized DTx applications for clients. Whereas a start-up called Wellthy Therapeutics has ready solutions catering to multiple diseases.

Future of Virtual Health

Undoubtedly, there has been a massive increase in the adoption of Virtual Health technologies as people have gotten accustomed to the ease of certain services at home. In the coming future, mHealth apps, remote patient monitoring, and Digital therapeutics see a surge in demand from the customers. According to a study by Markets and Markets, “The global digital therapeutics market is projected to reach USD 6.9 billion by 2025 from USD 2.1 billion in 2020, at a CAGR of 26.7% during the forecast period (2020–2025).” A study by Fortune Business Insights, “The global mHealth market size is projected to reach USD 293.29 billion by 2026, exhibiting a CAGR of 29.1% during the forecast period.” A Research and Markets report says, “The remote patient monitoring market is expected to reach US$31.326 billion by the end of 2023.” Apart from the above, development in digital infrastructure such as virtual health stations where doctors can provide consultations globally, mobile ICUs, MRIs, X-rays, ultrasound equipment, the establishment of rural virtual care units reaching the remote areas of the country are some of the trends which will gain momentum. The focus would always lie upon the personalization of the virtual care experience for patients driven by data exchange and interoperability. 

Indeed, there are certain challenges to the implementation of these technologies, lack of infrastructure, and digital literacy amongst elders and lower strata of society. Many healthcare institutions still have inhibitions while investing in digital technologies fearing rejection from the customers. It will be crucial for care providers to choose the right partner for implementing these technologies and create awareness amongst people to adopt them.  

In a Nutshell

The success of virtual care relies on how well the digital experience is designed for the patient. “By 2025, as many as 95 percent of all customer interactions will be through channels supported by artificial intelligence (AI) technology” – Microsoft. The use of algorithms and AI for personalizing these experiences will be the key. 

Find out more about unchartered territories in ‘Blue Ocean’ of Digital Health. Join our webinar hosted by Parag Sharma (CEO, Mantra Labs) as he shares his insights on untapped opportunities using digital self-care tools within behavioral healthcare & emotional wellness.

Save your spot! 

Further Readings:

  1. Reimagining Medical Diagnosis with Chatbots
  2. HealthTech 101: How are Healthcare Technologies Reinventing Patient Care
  3. What will be the state of the healthcare industry post pandemic?
  4. Healthcare Chatbots: Innovative, Efficient, and Low-cost Care
Cancel

Knowledge thats worth delivered in your inbox

Loading More Posts ...
Go Top
bot

May i help you?

bot shadow

Our Website is
Best Experienced on
Chrome & Safari

safari icon