This is Part II of two part series. If you haven’t read Part I then, please read it here. In this Part we will learn how we can deploy android builds on AppCenter or Google Play Store using Azure DevOps for testing or sharing builds with consumers .
2. Select “New” and then select “New Release Pipeline” as shown in Screenshot #2.
Now a days CI/CD is integral part of any kind of software development. In this series I am going to explain, how we can use Azure DevOps for creating CI (continuous integration) and CD (continuous development) for Android projects. This series will be have two parts:-
Part 1: Continuous integration using Azure DevOps.
Part 2: Continuous delivery using Azure DevOps.
This is part 1.
Prerequisite : You should have Azure devOps account with Android project and Azure devOps Repository which contains android project code. You should also have all the required permission to create pipeline using your Android project repository.
When we create react native project using react native CLI (v2.0.1) it initialise Android project Java and iOS project with Objective-c. Right now Kotlin is default language for Android application development and Swift is default language for iOS application development. So we can use below guide to change language of react-native Android and iOS project as follows:-
2. Select each java file (ReactNativeFlipper, MainActivity, MainApplication) one by one and click on “Code” menu option and the choose “convert…
Android Dynamic Delivery feature Testing
Google play store provides feature of delivering feature dynamically to user. Internally Google play store uses app bundles to deliver feature dynamically. it reduces application apk size and improve overall user experience. Application has main features bundle with apk and other feature downloaded on the fly as user requested for that. We can get multiple articles on the internet, which provides information about how to implement this feature in android apps. When I was trying out this feature I implemented this feature using information available on the internet as well as information available on android…
This story is dedicated to solution of common problem, which a Android developer encounter during development of Android application. Though we have https://stackoverflow.com/ and other sites, where Android developer can post their development related queries and get answers to their queries from Android development around the world. But main problem with stackoverflow site is that if you didn’t get answer of your queries after searching on stackoverflow , you have to frame your question in proper wording as per standard of stackoverflow and if you don’t frame your question correctly they down vote your question and people won’t take interest…
Recently, I worked on android app, where we need to provide offline support i.e. app should be able to show content even if there is no network connection available on device . When I worked on this application I considered following aspects.
App Architecture : I used combination of MVP , MVVM architecture in my application. Whenever user click on any item or refresh list of data items then request is handled by presenter . If required presenter can communicate with data repository and provide updated model to view, so that view can be updated.
Whenever there is network call…
Recently, I worked on android app memory optimization. During memory optimization I used some tools and techniques, which help Android developers to identify memory leaks quickly and easily, also it help in finding out code which causes memory leaks. So let’s start!
As a first step I added leakcanary library provided by square in app, which gives you notification about memory leaks as you run app and traverse through app . You can get more information about this library here. Other tool which I used for memory leak identification is hprof view , memory monitor of Android studio 2.2.3.
I am Software Architect with 16 years of experience. I worked on many mobile application, which belong to various domain from scratch to production.